A small Library to allow bi-directional communication with any AT-Keyboard (includes keyboards with a DIN-Connector and PS/2 Connectors). XT keyboards will not work.
With this library, you can play with LEDs on the keyboard.
The PDF contians the schematic how to connect the Keyboard to the Arduino. You also need 2 NPN-Transistors.
Note: this library does not convert any scancodes.
to connect to a PS/2 or DIN Connector, use this Pinout diagram:
PS/2 Connector
DIN Connector
- Arduino Leonardo (for others, adapatation in the source may needed)
- Arduino compiler
All these tools are provided as-is from Vulpes. If you've some questions, contact me here.