The Hardware Guide
Tips, tricks and tweaks for getting the most out of your hardware.
Keyboard Pinout


AT keyboard connector (DIN5)

Connector Pin # Purpose
Pin 1KBDCLK (clock)
Pin 2KBDAT (data)
Pin 3KBRST (reset, not used)
Pin 4GND
Pin 5VCC (+5V)


PS/2 keyboard connector (MINI-DIN6)

Connector Pin # Purpose
Pin 1KBDAT (data)
Pin 2not used
Pin 3GND
Pin 4VCC (+5V)
Pin 5KBDCLK (clock)
Pin 6not used


Note: PS/2 mouse connector pinout is identical to PS/2 keyboard.