| More about: | ![]() |
|
|
or
|
||
| Back home page |
Informations and Schematics about RS232 Serial Links:
This article explains the purpose of the various RS232 pins, and most importantly, how to get two devices communicating over the link.
Frequently these days it is necessary to connect two items of DTE, such as two desktop computers. While it should be as simple as crossing each input/output pair, so that Transmitted Data from one machine goes to Received Data of the other, and vice versa, etc., it's never that easy in practice! Problems usually arise because each piece of equipment uses the various handshaking signals in different ways. There can be a vast array of software settings too. With so many permutations, a systematic approach is essential.
Let's start by looking at the signals:
prot. GND 1 ------------- 1 GND prot. << NOT ALWAYS INTERNALLY CONNECTED! >>
TxD 2 -->--\ /--<-- 2 TxD cross
X these
RxD 3 --<--/ \-->-- 3 RxD two
RTS 4 -->--\ /--<-- 4 RTS cross
X these
CTS 5 --<--/ \-->-- 5 CTS two
DSR 6 -<- ->- 6 DSR link pins 6 and 8 locally
| |
sig. GND 7 ------------- 7 GND sig. (always connect the signal ground)
| |
DCD 8 -<-+-\ /-+->- 8 DCD cross
X these
DTR 20 -->--/ \--<-- 20 DTR two
Pin numbers:
25-pin D 1 2 3 4 5 6 7 8 20 22
GND TxD RxD RTS CTS DSR GND DCD DTR RI
9-pin D - 3 2 7 8 6 5 1 4 9
Software standards:
The most common software
configuration is:
From the DOS prompt, you can set the above configuration using the following command:
The MS Windows Terminal program can be useful for setting up & experimentation.
and more Schematics of RS232 connectors!
the wires should go into the little RJ-45 connectors in the following order:
|
For a STRAIGHT CABLE (DCE to DTE):
|
For a CROSS OVER CABLE (DCE to DCE):
|