Here is a look at how I am hooking up a PC KEYBOARD to my microcontroller – the PIC16F628.
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!!
Archive for February, 2006
KEYBOARD INTERFACE FOR MICROCONTROLLER
Sunday, February 26th, 2006ALPHANUMERIC LCD DISPLAY
Thursday, February 9th, 2006SUCCESS with programming my alphanumeric LCD display!!!
