RS232 - Cable Pinout


The following tables, show some of the cable configurations I have used for serial cable setups. Sometimes this is tough to remember, especially when you dont do it for a long time (since networks are so common, and serial connections are now becoming rare).

DB9 Female to DB9 Female (using straight through standard category 5 cabling - just like 10BaseT) :

 

Connector A Connector B
color signal pin signal color
white DCD 1 DCD black
red RD 2 RD yellow
yellow TD 3 TD red
black DTR 4 DTR orange
green GND 5 GND green
brown DSR 6 DSR white
blue RTS 7 RTS brown
orange CTS 8 CTS blue
open RI 9 RI open
DB9F to DB9F (both on board serial connectors)


For reference, this is the way the wires are numbered inside the DB9/DB25 connectors (matching numbers to the cables orange/white wire as number 1 and 8 would be white/brown). These numbers dont correspond to the pin out numbers listed in the tables above, they are the wire numbers in the cat5 cables (try not to confuse the two issues as I once did), the real important numbers are the pinout numbers from above :

DB9 / DB25
Wiire Number Wire Color
1 blue
2 orange
3 black
4 red
5 green
6 yellow
7 brown
8 white
DB9/DB25-RJ45 Wire Number/Color