Db9 Pin Color Code



  1. Color Code From Image
  2. Db9 Pin Color Code Hex
  3. Db9 Cable Color Code

Lead Color: DB9 Pin Number: DTE Function: Black: 1: DCD: White: 2: RD: Brown: 3: TD: Red: 4: DTR: Yellow: 5: GND: Green: 6: DSR: Blue: 7: RTS: Purple: 8: CTS: Gray: 9: RI: Clear: Shell: GND. A DB9 clearly has 9 connections and a cat5(e) cable has 8 conductors. RS232D has chosen to use Pin 1 as a multi-function pin (DSR/RI) to provide maximum flexibility with modems - in particular it allows for DCD which is a meaningful signal from a modem but not we suggest from a peer PC. We have chosen to use a minor variation on the normal DB9.

The DE-9 D-sub 9-pin connector is often mistakenly referred to as the'DB-9' connector. The 'E' refers to the shellsize. A 'DB-25' connector has a 'B' size shell, butthe common nine-pin connector is smaller and has an 'E' sizeshell.

This connector (regardless what you call it) is used for a variety of purposes. Two commonapplications are RS-232/EIA-232 (serial) connections (including UPS cables), and avariety of video interfaceson the IBM PC.

Here's a good set of figures for D-sub 9 male and female connectors, as viewedfrom the pin side (not the solder side).

D-sub 9 Male

D-sub 9 Female

Pins commonly used for RS-232/EIA-232 (serial):

DB-25D-sub-9Signal DirectionSignal Name
1xProtective Ground
23DTE-to-DCETransmitted Data
32DCE-to-DTEReceived Data
47DTE-to-DCERequest To Send
58DCE-to-DTEClear To Send
66DCE-to-DTEData Set Ready
75xSignal Ground
81DCE-to-DTEReceived Line Signal Detector (Carrier Detect)
204DTE-to-DCEData Terminal Ready
229DCE-to-DTERing Indicator

Click here to see the pinout of DB-25connectors.

Signal NameDB-25 PinD-sub 9 PinD-sub 9 PinDB-25 Pin
FG (Frame Ground)1-X-1FG
TD (Transmit Data)23-23RD
RD (Receive Data)32-32TD
RTS (Request To Send)47-85CTS
CTS (Clear To Send)58-74RTS
SG (Signal Ground)75-57SG
DSR (Data Set Ready)66-420DTR
CD (Carrier Detect)81-420DTR
DTR (Data Terminal Ready)204-18CD
DTR (Data Terminal Ready)204-66DSR

Click here to see the pinout of DB-25connectors.

D-sub 9 pins commonly used for the IBM-PC CGA (color) video:

Code
PinDescription
1Signal ground
2Signal ground
3Red video
4Green video
5Blue video
6Signal intensity
7Unused
8Horizontal sync
9Vertical sync

Click here to see the pinout ofHD-D-sub15 connectors (used for VGA).

D-sub 9 pins commonly used for the IBM-PC EGA (color) video:

PinDescription
1Signal ground
2Secondary red
3Red video
4Green video
5Blue video
6Secondary green / signal intensity
7Secondary blue / Monochrome
8Secondary blue / horizontal sync
9Vertical sync

Click here to see the pinout ofHD-DB-15 connectors (used for VGA).

Color

D-sub 9 pins commonly used for the IBM-PC MGA/HGA (monochrome) video:

Color Code From Image

PinDescription
1Signal ground
2Signal ground
3Not used
4Not used
5Not used
6Signal intensity
7Video signal
8Horizontal sync
9Vertical sync

Db9 Pin Color Code Hex

D-sub 9 pins sometimes used for VGA (color) video:

PinDescription
1Red Video
2Green Video
3Blue Video
4Horizontal Sync
5Vertical Sync
6Red Ground
7Green Ground
8Blue Ground
9Sync Ground

Db9 Cable Color Code

Click here to see the pinout ofHD-D-sub 15 connectors (used for VGA).