PC Keyboard Interface



Google
 

Keyboard Interface Description

The serial Keyboard used on Personal Computers [PCs] is a [PS/2] 6 pin Circular DIN.
The pin-out for the PS2 Keyboard or Mouse port is: Pin 1; Data, Pin 2; Reserved, Pin 3; Ground, Pin 4; +5 Vdc, Pin 5; Clock, Pin 6; Reserved.
Another variant called the AT Keyboard uses a 5-pin DIN; with Pin 1; Clock, Pin 2; Data, Pin 3; Reserved, Pin 4; Ground, Pin 5; +5 volts.
The AT style keyboard was developed before the PS2 Keyboard interface, so most keyboards found these days will be the PS2 variant.
However; most new computers ship with keyboards using USB ports to handle this function Universal Serial Bus [USB].
In general both the Obsolete AT keyboard and out-dated PS/2 style keyboard connector will not be present on the newest PC's.

AT mini-DIN
Keyboard Pinout
PS2 KeyboardAT Keyboard
Pin NumberFunctionPin NumberFunction
1Data1Clock
2Reserved2Data
3Ground3Reserved
45 volt4Ground
5Clock55 volt
6Reserved6NC

Keyboard Protocol

These Keyboard interfaces are serial interfaces, using just one data line. The protocol is just like the RS232 interface, 8-bits of data with both a start and stop bit.
The 5-pin or 6-pin keyboard interface is not electrical compatible with the RS232 [EIA232] interface, but the same protocol is used in Personal Computers.

EIA232 Protocol

The data or keys are encoded using normal ASCII coding.

Keyboard Electrical Interface

The motherboard keyboard interface uses open-collector lines pulled to 5 volts to drive the data and clock signals compatible with TTL signaling levels. A number of manufacturers produce Keyboard encoder ICs.

Keyboard Manufacturers

Mouse and Key Board Manufacturers
KVM Manufacturers

All other PC interfaces are listed on the Personal Computer Buses page.

Engineering Key words: IBM, AT, PS2, Keyboard, Apple, Macintosh, MAC, Computer Buses, Connector Pin-Outs, Interface Standard, Specification, Spec,
Physical Interface, Description, Personal Computer Interface, Peripheral, Printer Interface, Keyboard pinout, Obsolete, Out-dated, Legacy Equipment, Gear, Signal names.

Leroy's Web Page
Home

Electronic Parts and Equipment Distributors Electronic Component Manufacturers OEM Electronic Equipment Manufacturers EDA Software Producers CAD/CAE Software Engineering Standards, Book Stores, and Publications Interface/Embedded Computer Bus Electronic Engineering Design Data Engineering Reference Information.
Distributors Components Equipment Software Standards Buses Design Reference


Last Modified 12/15/07
Copyright © 1998 - 2008 All rights reserved Leroy Davis