Escolar Documentos
Profissional Documentos
Cultura Documentos
RS-232 (Recommended Standard 232) is the standard for establishing serial data
signals connection between DTE (Data Terminal Equipment) and DCE (Data Circuitterminating Equipment). For over 40 years this standard is commonly used in
computers, networking and telecommunication. A similar ITU-T standard is V.24.
Detailed description of the standard is available from Wikipedia and many other
sources in the Internet. This page provides only the list of signals used in RS232 and
pinouts of most commonly used types of serial cables.
In all the cases the length of the cable should not exceed 25 feet (about 7.5 meters)
unless a signal booster is used. Most commonly used types of serial cable connectors
are 9-pin connector DB9 and 25-pin connector DB25. Each of them can be of female
or male type as shown on the following image.
DB9
Pin #
Name Direction
TD
RD
RTS
CTS
DSR
SGND
CD
-
OUT
IN
OUT
IN
IN
IN
-
12
SDCD
IN
13
SCTS
IN
14
STD
OUT
3
2
7
8
6
5
1
Description
Protective/Shielded Ground
Transmit Data (Tx, TxD)
Receive Data (Rx, RxD)
Request To Send
Clear To Send
Data Set Ready
Signal Ground/Common Return
Carrier Detect (DCD)
Reserved
Reserved
Unassigned
Secondary Carrier Detect. Only needed if second
channel being used.
Secondary Clear to Send. Only needed if second
channel being used.
Secondary Transmit Data. Only needed if second
channel being used.
15
DB
OUT
16
SRD
IN
17
DD
IN
18
LL
19
SRTS
OUT
DTR
RL/SQ
RI
CH/CI
OUT
IN
OUT
24
DA
25
20
21
22
23
4
9
Loopback
Connector
DB25
Pin Connects
Pin #
#
To
1
<-------2
3
>
<-------3
2
>
<-------4
5
>
<-------5
4
>
<-------6
8,20,22
>
<-------7
7
>
<-------8
6,20,22
>
9
10
11
12
13
14
<-------15
17
>
13
14
15
16
17
18
19
20
21
22
23
24
25
>
<------->
<------->
<------->
<------->
<------->
<------->
<------->
<------->
<------->
<------->
<------->
<------->
<------->
13
14
15
16
17
18
19
16
17
18
19
20
21
<------->
<------->
<------->
15
18
19
6,8
21
22
20
17
20
<-------6,8,22
>
21
22
23
24
25
22
<-------6,8,20
>
<-------23
23
>
24
25
22
23
24
25
Null Modem
Cable
DB9
DB9
Pin Connects Pin
#
To
#
<-------1
4
>
<-------2
3
>
<-------3
2
>
<-------4
1,6
>
<-------5
5
>
6 <-------- 4
Loopback
Connector
DB9
Pin Connects
Pin #
#
To
<-------1
4,6,9
>
<-------2
3
>
<-------3
2
>
<-------4
1,6,9
>
<-------5
5
>
6 <-------- 1,4,9
7
8
9
>
<------->
<------->
<------->
>
<------->
<------->
<------->
8
7
9
>
<-------7
8
>
<-------8
7
>
<-------9
1,4,6
>
Null Modem
DB9
DB25
Pin # Connects To Pin #
1
<-------->
20
2
<-------->
2
3
<-------->
3
4
<--------> 6,8
5
<-------->
7
6
<-------->
20
7
<-------->
5
8
<-------->
4
9
<-------->
22