The PC's AT Keyboard is connected to external equipment using four wires. These wires are shown below for the 5 Pin DIN Male Plug & PS/2 Plug.
1. KBD Clock
2. KBD Data
3. N/C
4. GND
5. +5V (VCC)
1. KBD Clock
2. GND
3. KBD Data
4. N/C
5. +5V (VCC)
6. N/C
PC Keyboard's Connector
The pin details of PC keyboard.