Serial Pin-outs

From CSCWiki
Revision as of 17:54, 25 April 2008 by Mspang (talk | contribs)
Jump to navigation Jump to search

RS-232 over DE-9

Female

 5 4 3 2 1
  9 8 7 6

Male

 1 2 3 4 5
  6 7 8 9

1 DCD
2 RXD
3 TXD
4 DTR
5 GND
6 DSR
7 RTS
8 CTS
9 RI

Serial ports on common PC hardware have this pin-out.

RS-232 over DB-25

Female

 13 12 11 10 09 08 07 06 05 04 03 02 01
  25 24 23 22 21 20 19 18 17 16 15 14

Male

 01 02 03 04 05 06 07 08 09 10 11 12 13
  14 15 16 17 18 19 20 21 22 23 24 25

2 TXD
3 RXD
4 RTS
5 CTS
6 DSR
7 GND
8 DCD
12 SDCD
13 SCTS
14 STXD
15 TCLK
16 SRXD
17 RCLK
18 LL
19 SRTS
20 DTR
21 RL/SQ
22 RI
23 CH/CI
24 ACLK


The VT 320 has this pinout.

RS-232 over 8P8C, Sun

Top of plug

 1 2 3 4 5 6 7 8

1 RTS
2 DTR
3 TXD
4 GND
5 GND
6 RXD
7 DSR
8 CTS

The Sun Netra, ascorbic-acid, has this pinout.

Black DE-9 Female to 8P8C Adapter

DE-9 8P8C
1 6
2 1
3 5
4 4
5 2
6 3
7 7
8 8

The black adapter has this pinout.

Grey DB-25 female to 8P8C Adapter

DB-25 8P8C
2 3
3 4
4 8
5 1
6 7
7 5
7 6
8 7
20 2

Grey DB-25 Male to 8P8C Adapter

DB-25 8P8C
2 6
3 8
4 5
5 4
6 1
7 3
7 7
20 2

Dumbterm Cable

DE-9 8P8C 8P8C DB-25
DCD 1 6 7 8
RXD 2 1 4 3
TXD 3 5 3 2
DTR 4 4 2 20
GND 5 2 5 7
DSR 6 3 X 6
RTS 7 7 8 4
CTS 8 8 1 5
DE-9 end DB-25 end
1 Gr/W Br
2 Gr Bl
3 Or/W Bl/W
4 Bl Gr/W
5 Bl/W Gr
6 Or X
7 Br/W Or
8 Br Br/W

This cable is used to connect a DB-25 DTE port to a DE-9 DTE port using some non-standard adapters.

Almost Rollover Cable

8P8C 8P8C
1 8
2 7
3 6
4 4
5 5
6 3
7 2
8 1

This cable uses the Sun pinout, with a minor modification: the two GND wires are connected straight through. With DE-9<->8P8C modular jacks, you cannot connect the DE-9 GND to both GND pins of the 8P8C end (i.e., you can't stick two pins in one hole). Connecting using a standard rollover is fine when connecting e.g. the Netra to a DE-9, but if two DE-9s are connected via a standard rollover, GND will be an open circuit. The "almost" rollover connects the two GND lines straight through to avoid this problem. The module jacks we have now use 8P8C pin 4 for GND.

The two cables we have with this pinout are labeled "Serial 87645321".

Half-Cables

Light Serial Mouse

2 green
3 brown
4 pink
5 yellow
7 white

Dark Serial Mouse

2 white
3 light brown
4 brown
5 black
7 blue

Metal End

2 green
3 yellow
5 black
6 red
7 brown
8 white


External Links