Mini-DIN 6-Pin PS/2 Connector

6-pin circular connector

Standards: IBM PS/2 Technical Reference, Mini-DIN standard

What is the PS/2 pinout?

The Mini-DIN 6-Pin PS/2 Connector has 6 pins. Pin 1 is DATA (data). Pin 2 is NC (reserved). Pin 3 is GND (ground). Pin 4 is +5V (power). Plus 2 more pins.

The PS/2 interface uses a synchronous serial protocol where the device provides the clock signal (10-16 kHz) and data is transmitted one bit at a time with odd parity. Communication is bidirectional - the host can send commands to the device (e.g., set keyboard LEDs, change mouse resolution). Unlike USB which requires driver initialization, PS/2 devices are available immediately at power-on, making them essential for BIOS configuration and systems without USB legacy support. The keyboard and mouse ports are electrically identical; the purple (keyboard) and green (mouse) color coding is purely conventional to prevent confusion.

Standards: IBM PS/2 Technical Reference, Mini-DIN standard

Filter:
Circular Connector Pinout DiagramInteractive circular connector diagram showing 6 pins with signal names and color coding.Pin 1: DATA - Data (active low, open collector)1Pin 2: NC - Not Connected / Reserved2Pin 3: GND - Ground3Pin 4: +5V - +5V Power (up to 275mA)4Pin 5: CLK - Clock (device-generated, 10-16 kHz)5Pin 6: NC - Not Connected / Reserved6M12

Pin Assignment Table

Mini-DIN 6-Pin PS/2 Connector pin assignments - 6 pins
PinSignalTypeDescription
1
DATA
dataData (active low, open collector)
2
NC
reservedNot Connected / Reserved
3
GND
groundGround
4
+5V
power+5V Power (up to 275mA)
5
CLK
dataClock (device-generated, 10-16 kHz)
6
NC
reservedNot Connected / Reserved

Signal Types

Data
Reserved
Ground
Power

Common Applications

Desktop keyboardsDesktop miceKVM switchesBIOS/UEFI configurationIndustrial computersPoint of sale systemsGaming keyboards (N-key rollover)Server managementVintage computingEmbedded systemsBarcode scannersKiosk systems

Need another printable connector reference?

Use the pinout as a working reference now, then jump to the full library or the next workflow when you need it.

Map this connector into your BOM workflow

The PS/2 connector has 6 pins: Pin 1 (DATA), Pin 2 (NC), Pin 3 (GND), and Pin 4 (+5V, 5V). Plus 2 more pins. Common in Desktop keyboards and Desktop mice.

PS/2 Keyboard & Mouse Pinout Guide

The PS/2 interface uses a synchronous serial protocol where the device provides the clock signal (10-16 kHz) and data is transmitted one bit at a time with odd parity. Communication is bidirectional - the host can send commands to the device (e.g., set keyboard LEDs, change mouse resolution). Unlike USB which requires driver initialization, PS/2 devices are available immediately at power-on, making them essential for BIOS configuration and systems without USB legacy support. The keyboard and mouse ports are electrically identical; the purple (keyboard) and green (mouse) color coding is purely conventional to prevent confusion.

Wiring Tips & Best Practices

PS/2 uses open-collector signaling with active-low logic. Both clock and data lines require pull-up resistors (1-10k ohms) to +5V - these are typically provided by the host controller. The clock line is always driven by the device during device-to-host communication, and by the host during host-to-device communication. Data is valid on the falling edge of the clock. When building adapters, ensure the +5V supply can provide at least 275mA for keyboards with LEDs or built-in hubs. The shield (metal shell) should be connected to ground for EMI protection.

Common Issues

Hot-plugging PS/2 devices can damage the port or device - always connect PS/2 devices with the system powered off. Some motherboards share a single PS/2 controller between both ports, causing issues when using both keyboard and mouse. USB-to-PS/2 adapters only work with devices that have built-in dual-mode support - passive adapters do not perform protocol conversion. Keyboards not working in BIOS but working in OS indicates USB legacy mode is disabled. Ghosting and key rollover issues on PS/2 are protocol limitations, not connector issues - some gaming keyboards use PS/2 specifically for better N-key rollover than USB. Erratic cursor movement or missed keystrokes often indicate timing issues from long cables or poor connections.

Why Use Interactive Diagrams?

  • Accuracy: Hover over pins to see exact signal names and descriptions
  • Clarity: Color-coded by signal type (power, ground, data)
  • Printable: Export clean diagrams for shop floor reference

Related Connector Pinouts

Mini-DIN 6-Pin PS/2 Connector Pinout - 6-Pin Diagram & Wiring Guide | WireIt