Serial Pin-outs: Difference between revisions
No edit summary |
m (Reverted edits by Kristinaboss (Talk); changed back to last version by Jbroman) |
||
(30 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
=== RS-232 over DE-9 === |
|||
The idea is to connect pairs of systems with 2 serial cables to create a bidirectional link. We would then run a getty over one of the ports on each machine. This would allow us to login to any server if networking breaks. |
|||
{| |
|||
The following is a list of our servers and how many serial ports they currently have: |
|||
|- |
|||
| |
|||
Female |
|||
5 4 3 2 1 |
|||
9 8 7 6 |
|||
| |
|||
Male |
|||
1 2 3 4 5 |
|||
6 7 8 9 |
|||
|- |
|||
|} |
|||
1 DCD <br> |
|||
* caffeine (1 header) |
|||
2 RXD <br> |
|||
* natural-flavours (1 on-board) |
|||
3 TXD <br> |
|||
* artificial-flavours (1 on-board) |
|||
4 DTR <br> |
|||
* taurine (1 on-board, 1 virtual) |
|||
5 GND <br> |
|||
* perpugilliam (2 on-board) |
|||
6 DSR <br> |
|||
* citric-acid (2 on-board) |
|||
7 RTS <br> |
|||
* potassium-citrate (2 on-board) |
|||
8 CTS <br> |
|||
* ascorbic-acid (1 on-board) |
|||
9 RI |
|||
Serial ports on common PC hardware have this pin-out. |
|||
We can get PCI dual serial port cards for $25 each, and cables for $5 each. In total, we would need 3 PCI cards and 6 serial cables, for a total of $105. |
|||
=== 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 <br> |
|||
3 RXD <br> |
|||
4 RTS <br> |
|||
5 CTS <br> |
|||
6 DSR <br> |
|||
7 GND <br> |
|||
8 DCD <br> |
|||
12 SDCD <br> |
|||
13 SCTS <br> |
|||
14 STXD <br> |
|||
15 TCLK <br> |
|||
16 SRXD <br> |
|||
17 RCLK <br> |
|||
18 LL <br> |
|||
19 SRTS <br> |
|||
20 DTR <br> |
|||
21 RL/SQ <br> |
|||
22 RI <br> |
|||
23 CH/CI <br> |
|||
24 ACLK |
|||
The VT 320 has this pinout. |
|||
=== RS-232 over 8P8C (Sun) === |
|||
{| |
|||
|- |
|||
| |
|||
Plug Top |
|||
1 2 3 4 5 6 7 8 |
|||
Cable |
|||
|- |
|||
|} |
|||
1 RTS <br> |
|||
2 DTR <br> |
|||
3 TXD <br> |
|||
4 GND <br> |
|||
5 GND <br> |
|||
6 RXD <br> |
|||
7 DSR <br> |
|||
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 <br> |
|||
3 brown <br> |
|||
4 pink <br> |
|||
5 yellow <br> |
|||
7 white |
|||
Dark Serial Mouse |
|||
2 white <br> |
|||
3 light brown <br> |
|||
4 brown <br> |
|||
5 black <br> |
|||
7 blue |
|||
Metal End |
|||
2 green <br> |
|||
3 yellow <br> |
|||
5 black <br> |
|||
6 red <br> |
|||
7 brown <br> |
|||
8 white |
|||
=== External Links === |
|||
* [https://www.conserver.com/pipermail/users/2002-July/msg00003.html Sun Serial Port Pin-out] |
|||
* [http://www.zytrax.com/tech/layer_1/cables/tech_rs232.htm Standard Cable Pin-outs] |
|||
[[Category:Hardware]] |
Latest revision as of 09:01, 14 April 2010
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)
Plug Top 1 2 3 4 5 6 7 8 Cable |
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