Difference between revisions of "Serial Cable"

From LinuxMIPS
Jump to: navigation, search
m (Extelnal links: Speeling)
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
== Serial connector pinouts ==
 
== Serial connector pinouts ==
 +
<table>
 +
<tr>
 +
<td>
 +
[[Image:Db9-serial.png]]
 +
</td>
 +
<td>
 +
[[Image:Minidin8-serial.png]]
 +
</td>
 +
</tr>
 +
<tr>
 +
<td colspan="2">
 +
[[Image:Db25-serial.png]]
 +
</td>
 +
</tr>
 +
</table>
  
<pre>
+
{| cellpadding="5" cellspacing="0"
        1                        13        1        5
+
|- style="background: #fcc;"
      _______________________________      _______________
+
! Name (V24) || DB25 Pin# || DB9 Pin# || MiniDIN8 Pin# || Direction || Full Name || Remarks
       \ . . . . . . . . . . . . . /      \ . . . . . /
+
|- style="background: #fec;"
       \ . . . . . . . . . . . . /        \ . . . . /
+
| TxD ||  2 || 3 ||  3  || Out || Transmit Data       || Data
        ---------------------------          -----------
+
|- style="background: #ffc;"
        14                      25          6      9
+
| RxD || 3 || 2 || 5 || In || Receive Data       || Data
 +
|- style="background: #fec;"
 +
| RTS || 4 || 7 || 6 || Out || Request To Send    || Handshaking
 +
|- style="background: #ffc;"
 +
| CTS || 5 || 8 ||  2  ||  In || Clear To Send      || Handshaking
 +
|- style="background: #fec;"
 +
| DTR || 20 || 4 ||  1  || Out || Data Terminal Ready || Status
 +
|- style="background: #ffc;"
 +
| DSR ||  6 || 6 ||  - ||  In || Data Set Ready      || Status
 +
|- style="background: #fec;"
 +
| RI  || 22 || 9 ||  - ||  In || Ring Indicator      || Status
 +
|- style="background: #ffc;"
 +
| DCD ||  8 || 1 ||  7  ||  In || Data Carrier Detect || Status
 +
|- style="background: #fec;"
 +
| GND ||  7 || 5 || 4,8 ||  - || Signal ground      || Reference level
 +
|- style="background: #ffc;"
 +
- ||  1 || - ||  - ||  - || Protective ground  || Don't use this one as signal ground!
 +
|}
  
                25-pin Sub-D                9-pin Sub-D
+
== How to connect the connectors ==
 +
=== Null-modem Cable ===
  
                      ----
+
This cable will allow you to hook the MiniDIN8 port directly up to a standard RS-232 port on another computer.
                    /6 7 8 \
+
                    | 3 4 5 |
+
                    \ 1 2 /
+
                      ---
+
  
                    8-pin Mini-DIN
+
{| cellpadding="5" cellspacing="0"
 +
|- style="background: #fcc;"
 +
!colspan="2"| From          || MiniDin8 Pin
 +
! -->
 +
!colspan="2"| To                                                                || DB9 Pin || DB25 Pin
 +
|- style="background: #fec;"
 +
| DTR || Data Terminal Ready || Pin 1      || --> || DSR || Data Set Ready      ||  Pin 6  || Pin 6
 +
|- style="background: #ffc;"
 +
| CTS || Clear To Send      || Pin 2      || --> || RTS || Request To Send    ||  Pin 7  || Pin 4
 +
|- style="background: #fec;"
 +
| TD  || Transmit Data      || Pin 3      || --> || RD  || Receive Data        ||  Pin 2  || Pin 3
 +
|- style="background: #ffc;"
 +
| SG  || Signal Ground      || Pins 4 & 8 || --> || SG  || Signal Ground      ||  Pin 5  || Pin 7
 +
|- style="background: #fec;"
 +
| RD  || Receive Data        || Pin 5      || --> || TD  || Transmit Data      ||  Pin 3  || Pin 2
 +
|- style="background: #ffc;"
 +
| RTS || Request To Send    || Pin 6      || --> || CTS || Clear To Send      ||  Pin 8  || Pin 5
 +
|- style="background: #fec;"
 +
| DCD || Data Carrier Detect || Pin 7      || --> || DTR || Data Terminal Ready ||  Pin 4  || Pin 20
 +
|- style="background: #ffc;"
 +
|colspan="3"| Shield                      || --> ||  - || Protective Ground  || -       || Pin 1
 +
|}
  
Name (V24)  25pin  9pin  8pin Dir  Full name              Remarks
+
It it might be needed to have a connection between pin 20 and pin 8 on the Sub-D 25 connector to have your terminal do a carrier detect.  SGI is using the same pin-pout for it's 8-pin mini-DIN connectors as Apple for it's machines.  Therefor cables and adapters suitable for use with Apple system may be used.
--------------------------------------------------------------------------
+
    TxD        2    3    3  o  Transmit Data          Data
+
    RxD        3    2    5  i  Receive Data            Data
+
    RTS        4    7    6  o  Request To Send        Handshaking
+
    CTS        5    8     2  i  Clear To Send          Handshaking
+
    DTR        20    4    1  o  Data Terminal Ready    Status
+
    DSR        6    6    -   i  Data Set Ready          Status
+
    RI        22    9    -   i  Ring Indicator          Status
+
    DCD        8     1    7  i  Data Carrier Detect    Status
+
    GND        7    5  4,8  -   Signal ground          Reference level
+
    -         1    -    -  -  Protective ground      Don't use this one
+
                                                            as signal ground!
+
</pre>
+
  
== How to connect the connectors ==
+
=== Straight-Thru Cable ===
  
<pre>
+
This cable will allow you to hook the MiniDIN8 port into an RS-232 device such as a modem.
  ----------------------------------------------------------------------
+
  DTR - Data Terminal Ready  1 |  6  DSR - Data Set Ready
+
  CTS - Clear To Send        2 |  4  RTS
+
  TD  - Transmit Data        3 |  3  RD
+
  SG  - Signal Ground      4,8 |  7  SG
+
  RD  - Receive Data          5 |  2  TD
+
  RTS - Request To Send      6 |  5  CTS
+
  DCD - Data Carrier Detect  7 |  20  DTR
+
                        Shield |  1  Protective Ground
+
</pre>
+
  
It it might be needed to have a connection between pin 20 and pin 8 on the Sub-D 25 connector to have your terminal do a carrier detect. SGI is using the same pin-pout for it's 8-pin mini-DIN connectors as Apple for it's machines. Therefor cables and adapters suitable for use with Apple system may be used.
+
{| cellpadding="5" cellspacing="0"
 +
|- style="background: #fcc;"
 +
!colspan="2"| From          || MiniDin8 Pin
 +
! -->
 +
!colspan="2"| To                                                                || DB9 Pin || DB25 Pin
 +
|- style="background: #fec;"
 +
| DTR || Data Terminal Ready || Pin 1      || --> || DTR || Data Terminal Ready || Pin 4  || Pin 20
 +
|- style="background: #ffc;"
 +
| CTS || Clear To Send      || Pin 2      || --> || CTS || Clear To Send      || Pin 8   || Pin 5
 +
|- style="background: #fec;"
 +
| TD || Transmit Data      || Pin 3      || --> || TD  || Transmit Data      || Pin 3  || Pin 2
 +
|- style="background: #ffc;"
 +
| SG  || Signal Ground      || Pins 4 & 8 || --> || SG || Signal Ground      || Pin 5  || Pin 7
 +
|- style="background: #fec;"
 +
| RD  || Receive Data        || Pin 5      || --> || RD  || Receive Data        || Pin 2  || Pin 3
 +
|- style="background: #ffc;"
 +
| RTS || Request To Send    || Pin 6      || --> || RTS || Request To Send    || Pin 7  || Pin 4
 +
|- style="background: #fec;"
 +
| DCD || Data Carrier Detect || Pin 7      || --> || DCD || Data Carrier Detect || Pin 1  || Pin 8
 +
|- style="background: #ffc;"
 +
|colspan="3"| Shield                      || --> ||  -  || Protective Ground  || -      || Pin 1
 +
|}
 +
 
 +
== External links ==
 +
* [http://www.irisindigo.com/index.php/Indigo_Pinouts Indigo Pinouts]

Latest revision as of 04:19, 8 January 2008

This is the way you need to solder your cable.

Serial connector pinouts

Db9-serial.png

Minidin8-serial.png

Db25-serial.png

Name (V24) DB25 Pin# DB9 Pin# MiniDIN8 Pin# Direction Full Name Remarks
TxD 2 3 3 Out Transmit Data Data
RxD 3 2 5 In Receive Data Data
RTS 4 7 6 Out Request To Send Handshaking
CTS 5 8 2 In Clear To Send Handshaking
DTR 20 4 1 Out Data Terminal Ready Status
DSR 6 6 - In Data Set Ready Status
RI 22 9 - In Ring Indicator Status
DCD 8 1 7 In Data Carrier Detect Status
GND 7 5 4,8 - Signal ground Reference level
- 1 - - - Protective ground Don't use this one as signal ground!

How to connect the connectors

Null-modem Cable

This cable will allow you to hook the MiniDIN8 port directly up to a standard RS-232 port on another computer.

From MiniDin8 Pin --> To DB9 Pin DB25 Pin
DTR Data Terminal Ready Pin 1 --> DSR Data Set Ready Pin 6 Pin 6
CTS Clear To Send Pin 2 --> RTS Request To Send Pin 7 Pin 4
TD Transmit Data Pin 3 --> RD Receive Data Pin 2 Pin 3
SG Signal Ground Pins 4 & 8 --> SG Signal Ground Pin 5 Pin 7
RD Receive Data Pin 5 --> TD Transmit Data Pin 3 Pin 2
RTS Request To Send Pin 6 --> CTS Clear To Send Pin 8 Pin 5
DCD Data Carrier Detect Pin 7 --> DTR Data Terminal Ready Pin 4 Pin 20
Shield --> - Protective Ground - Pin 1

It it might be needed to have a connection between pin 20 and pin 8 on the Sub-D 25 connector to have your terminal do a carrier detect. SGI is using the same pin-pout for it's 8-pin mini-DIN connectors as Apple for it's machines. Therefor cables and adapters suitable for use with Apple system may be used.

Straight-Thru Cable

This cable will allow you to hook the MiniDIN8 port into an RS-232 device such as a modem.

From MiniDin8 Pin --> To DB9 Pin DB25 Pin
DTR Data Terminal Ready Pin 1 --> DTR Data Terminal Ready Pin 4 Pin 20
CTS Clear To Send Pin 2 --> CTS Clear To Send Pin 8 Pin 5
TD Transmit Data Pin 3 --> TD Transmit Data Pin 3 Pin 2
SG Signal Ground Pins 4 & 8 --> SG Signal Ground Pin 5 Pin 7
RD Receive Data Pin 5 --> RD Receive Data Pin 2 Pin 3
RTS Request To Send Pin 6 --> RTS Request To Send Pin 7 Pin 4
DCD Data Carrier Detect Pin 7 --> DCD Data Carrier Detect Pin 1 Pin 8
Shield --> - Protective Ground - Pin 1

External links