February 26, 2006

KEYBOARD INTERFACE FOR MICROCONTROLLER

Here is a look at how I am hooking up a PC KEYBOARD to my microcontroller - the PIC16F628.

KEYBOARD

I found an article on the inernet that explained the protocol of a PC keyboard. Not as bad as I thought! Only 2 lines for CLOCK and DATA. Other 2 lines for +5 volts and a return. The keyboard sends serially, but not the asciii codes themselvesw, but scan codes, which have to be translated. I had to do a lot of debugging of my code but I'm having success now.

I can also display alphanumeric data on my LCD, make it blink, and have it rotate across the screen. Much fun!!

Posted by larrykeegan at 08:23 PM

February 09, 2006

ALPHANUMERIC LCD DISPLAY

SUCCESS with programming my alphanumeric LCD display!!!

hello world.jpg

Posted by larrykeegan at 02:53 PM