Skip to content

Use a PC/AT PC/PS2 Keyboard on Arduino - supports bi-directional communication

License

Notifications You must be signed in to change notification settings

VulpesSARL/Arduino-PS2-Keyboard

Repository files navigation

Arduino PS/2 Keyboard Library

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

Prerequisites

  • Arduino Leonardo (for others, adapatation in the source may needed)
  • Arduino compiler

Note

All these tools are provided as-is from Vulpes. If you've some questions, contact me here.

Releases

No releases published

Packages

No packages published

Languages