AT keyboard connector (DIN5)

Connector Pin #

Purpose

Pin 1

KBDCLK (clock)

Pin 2

KBDAT (data)

Pin 3

KBRST (reset, not used)

Pin 4

GND

Pin 5

VCC (+5V)

DIN5 male connector

PS/2 keyboard connector (MINI-DIN6)

Connector Pin #

Purpose

Pin 1

KBDAT (data)

Pin 2

not used

Pin 3

GND

Pin 4

VCC (+5V)

Pin 5

KBDCLK (clock)

Pin 6

not used

MINI-DIN6 male connector

 

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