Steve, See my AT keyboard viewer code for a PIC16C84 - This takes codes from the keyboard, and using a look-up table in program ROM converts it to ASCII and words, to display on an LCD. http://ourworld.compuserve.com/homepages/steve_lawther/keybinfo.htm Also a load of links for more info. Steve Lawther ______________________________ Reply Separator _________________________________ Subject: PIC or SBC? Author: MIME:classics@NACS.NET at INTERNET-HUSKY Date: 18/09/97 20:21 Hello, I recently did a few projects w/ the 16c84 from Microchip, and I want to use a PIC to interface an AT keyboard to a computer that uses a 8x8 matrix keyboard. To do it I need at least 7 i/o lines for the matrix, 2 for the AT keyboard, and enough accessable ram/eprom for a lookup table to translate the AT scancodes to the 8x8 matrix. I also need some RAM to store the make/break state of the keys, not alot but enough to buffer keystrokes as they come in, and remove them when lifted. What microcontroller should I use? It would be possible w/ a 10mhz 16c84 if it had enough EEDATA to store the lookup table, since its limited SRAM is probably enough for the buffer. Is there any way to read the program ee area from within the program? That might make it possible. Are there any other PIC's I might consider? The only one I have ever done any projects with so far is the 16c84.