PS2 keyboard chip, more inputs?


Author Message
darthmite

Senior Member

Joined: 20/11/2011
Location: France
Posts: 240
Posted: 12:43pm 13 Mar 2012      

Hi ,

long time ago (2009)i do a little project to read a USB/PS2 keyboard and send the
ASCII code as serial.
It just use a simple little Pic 16F688
The header file is prepared for 3 different keyboard layout , actually it
was just the German layout active , The US and FR layout are just a copy/paste
from the German one. You then just have to put the right code under this sections
to be able to use the US and FR layout.
Read the comments at start from the *.c file to know how to use the other layout.

Here the Schematic :




2012-03-13_224251_16F688_USB_Keyboard_Decoder_schematic.zip

and the source code made with CCS C PIC compiler.
2012-03-13_223718_Keyboard_16F688.zip

I no more have this circuit at home for made the US and FR or other layout.
I hope it can help
This circuit is so small that you can directly integrate it into a KB and send
the serial data tough the PS2 cable

Cheer.

Edited by darthmite 2012-03-15
Theory is when we know everything but nothing work ...
Practice is when everything work but no one know why ;)