back to index

RJ45 and RJ11 pinouts for data buses and connections
      RJ45 buses
                        Ethernet
                        RS232
                        RS485, RS422
                        CAN
                        1-wire
                        UART
                        USB
                        MIDI/DMX
                        MIDI
                        ISDN telephone
      RJ11/12 buses

RJ45 and RJ11 pinouts for data buses and connections

for ad-hoc wiring when standard can be chosen:
RJ12 is preferred for being smaller, using standard old thinner flatter telephone cables
RJ45 is preferred for abundance of Ethernet cables and couplers on hand


RJ45 buses

RS232: DTE: Rx=receive, Tx=transmit; DCE: Rx=transmit,Tx=receive
RS232: pinouts often symmetric, out on one side in on other, so crossed ("rolled") cable can be made just by flipping the connector.
Cisco X1=Cisco Straight, Cisco X2=Cisco Rolled (mirrored), Cisco X0=legacy


    RJ45 pins:          1/orwh  2/orng  3/grwh  4/blue  5/blwh  6/gren  7/brwh  8/brwn
Ethernet
!!  Ethernet 100Mb        Tx+     Tx-     Rx+   (PoE+)  (PoE+)    Rx-   (PoE-)  (PoE-)

RS232
    RS232 DCE             Tx      Rx      CTS  +5V_out            RTS            GND
    RS232 EIA561 DTE     RI/DSR   DCD     DTR     GND     Rx      Tx     CTS     RTS         [ref]
    RS232 Fortigate                       Tx?             GND     Rx?
    RS232 Sun/CiscoX0     RTS     DSR     DCD     Rx      Tx      GND    DTR     CTS         [ref]
!   RS232 Mkrtik/CiscoX1  RTS     DTR     Tx      GND     GND     Rx     DSR     CTS         [ref]
!   RS232 Yost/CiscoX2    CTS     DCD     Rx      GND     GND     Tx     DTR     RTS         [ref]
    RS232 Huawei          CTS     DSR     Rx      GND     GND     Tx     DTR     RTS
    RS232 DTE,CMM         RTS     Tx      Rx              GND     CTS            GND         [ref]
    RS232                 RTS     DTR     GND     Tx      Rx      DCD    DSR     CTS         [ref]
    SolisInverters                        Tx                      Rx                         [ref]

RS485, RS422
    RS422                 Tx+                     Tx-     Rx-                    Rx+         [ref]
    RS485-fullduplex      Tx+                     Tx-     Rx-                    Rx+         [ref]
    RS485-halfduplex      A/+                     B/-                                        [ref]
    RS485-2wire,CMM       A/+     B/-           termin1   GND                    GND         [ref]
    RS485-4wire,CMM       Tx+     Tx-     Rx+             GND     Rx-  termin2   GND         [ref]
    RS485-fullduplex                              GND     Rx-     Tx+    Rx+     Tx-         [ref]
    RS485-4wire           Rx-     Rx+     Tx+             GND     Tx-           shield       [ref]
    RS485-fullduplex      Rx-     Rx+             Tx+     Tx-                    GND         [ref]
    RS485/MODBUS          Rx1     Rx0             Tx1     Tx0                    COM         [ref] Proface PMM 400 / PMM 500
    RS485-2w-power        GND     GND             Tx-     Tx+           +12V    +12V         [ref]
    RS485-MODBUS                                  A/+     B/-                    GND         [ref]
!   RS485/MODBUS                                  D1      D0                     COM
    SolisInverters                                                       A/+     B/-         [ref]
    Growatt SPH         (RS485B)  GND          (RS485B)(RS485A)        (RS485A)(RS485B)      [ref]
    HubbleLithium 1        B       A      GND     B       A      GND                         [ref] B-B and A-A connected together
    HubbleLithium 2        B       A      GND                    GND      A       B          [ref] B-B and A-A connected together

CAN
    Optidrive            CAN_L   CAN_H    GND   Optibus- Optibus+ +24V  485Rx-  485Rx+       [ref]
!   CAN2.0               CAN_H   CAN_L  CANGND                                  (power)
    CAN2.0               CAN_H   CAN_L  CANGND                  (shield) (GND)  (power)      [ref]
    CAN2.0,ATV31         CAN_H   CAN_L  CANGND  ModbD1  ModbD0           VP      GND         [ref] D1,D0=RS485 MODBUS signals; also CANopen VW3CANTAP2[ref]
    SolisInverters                GND            CANH    CANL                                [ref]
    BYD batteries        RS485A  RS485B          CANH    CANL                                [ref]
    PylonTech             n.c.    n.c.   n.c.    CANH    CANL   CANGND  RS485A  RS485B       [ref]
    Growatt SPH                                  CANH    CANL   CANGND          wakeup       [ref]
    HubbleLithium         CANL    GND            CANH    CANL            GND     CANH        [ref] B-B and A-A connected together
    Zhongling motors      CANH    CANL    GND                                                [ref]

1-wire
!   1-wire 1wire.org     GND_5V   +5V   auxGND  1w-data  1w-GND  (aux)  +12V   GND_12V
    1-wire SimonAtk       +5V     +5V     +DC   1w-data   GND     +DC    GND     GND         [ref]
    1-wire AAG RJ45      1w-data  GND     +5V    +12V     +12V    +5V    GND     GND         [ref]

UART
    UART LeixenProg               Tx                      Rx      GND                        [ref]
    Wouxun KG-UV90P      speakr  5v-on-rx PTT     ?       ?       +8V    GND     mic         [ref]

USB
    USB Taotronic barc.   +5V     GND      D-                     D+                         [ref]
    USB PS3               GND                             D-      D+             +5V         [ref]

MIDI/DMX
XLR connectors: 1=GND, 2=DATA-, 3=DATA+ (on 5pin, 4=5=nc or 4=data2-, 5=data2+); unidirectional RS485 [ref]
!   DMX, ESTA            data+   data-                                   GND     GND         [ref]
!   DMX, ESTA,2ch        data1+  data1- data2+                   data2-  GND1    GND2        [ref]
    DMX, IT-SP8R         data+   data-    GND                            GND     GND         [ref]
    DMX, Renard SS J2     GND     GND            data-   data+                               [ref][ref]
    DMX, Color Kinetics  data-   data+    GND                    (GND)                       [ref]
    LOR/Light-O-Rama                             data+   data-    GND                        [ref]

MIDI
usually 5pin DIN (14253 order); 1=nc, 2=shield, 3=nc, 4=+5v, 5=data (or 4=data+, 5=data-, for optocouplers); 31250 bps serial; dedicated ports for direction - MIDI IN, MIDI OUT, MIDI THRU (in directly to thru)
    MIDI, Variax          GND     +7V     Tx+     AES-     AES+   Tx-    Rx+     Rx-         [ref]

    audio balanced      L+/AES+ L-/AES-   R+      GND             R-    (-15V)  (+15V)       [ref]
    audio unbalanced     Left     GND    Right                    GND                        [ref]
    audio Flex3000                        +5V   MicGND    Mic+    PTT+   PTT-                [ref]

ISDN telephone
    telephone T1/ISDN    RxRing  RxTip          TxRing   TxTip                               [ref]



RJ11/12 buses

    RS232 9pin: DCE=female, DTE=male; DTE pins: 1=DCD, 2=Rx, 3=Tx, 4=DTR, 5=GND, 6=DSR, 7=RTS, 8=CTS, 9=RI
                                 RJ12    RJ12    RJ12     RJ12    RJ12   RJ12    (6p6c)
                                                 RJ11     RJ11                   (6p2c)
    RJ11/12 pins:               1/xxxx  2/xxxx  3/xxxx  4/xxxx  5/xxxx  6/xxxx
    telephone, RJ11                               R-       T+                                [ref]
    telephone, RJ14                       T2+     R1-      T1+    R2-                        [ref]
    telephone, RJ25               T3+     T2+     R1-      T1+    R2-     R3-                [ref]
    RS232                         GND             Rx       Tx                                [ref]
    RS232                                 GND     Rx       Tx                                [ref]
    RS232                                 Tx      Rx       GND    GND                        [ref]
    RS232                         CTS     Rx      GND      GND    Tx      RTS                [ref]
    RS232 APC UPS 9600,8n1                GND     Tx       Rx     GND                        [ref]
    RS232/Unitronics,PLC-side    (DSR)    GND     Rx       Tx     GND    (DTR)               [ref]
    RS232/Unitronics,PC-side     (DTR)    GND     Tx       Rx     GND    (DSR)               [ref]
    RS485/Unitronics              A+                                      B-                 [ref]
    RS232 Proface                                 Tx       GND    Rx                         [ref]
    RS232 Autostar                        Rx      Tx              GND                        [ref]
    RS232 Dell/Powerfault                 GND     Tx       Rx     RTS     CTS                [ref]
    RS232 H2Ns                    RTS     Tx      GND      GND    Rx      DCD                [ref]
    RS422 H2Ns                    RTS     Tx+     Tx-      Rx-    Rx+     DCD                [ref]
    Synscan Handcontroller                Rx      GND             Tx                         [ref]
    RS232 servo/stepper                  (+5V)    Tx       GND    Rx                         [ref]
    1-wire Dallas                               1w-data    GND                               [ref]
    1-wire AAG RJ11                       GND   1w-data    GND    +5V                        [ref]
    1-wire Dallas std             +5V     GND   1w-data    GND            +DC                [ref]
    1-wire Midon Dsgn             +DC     +5V   1w-data    GND                               [ref]
    1-wire AAG RJ12               +5V     GND   1w-data    GND                               [ref]
    1-wire TexasInstr                     GND   1w-data    GND            +DC                [ref]
    Digitrax Loconet           RailSyncB  GND    +14.5V   +14.5V  GND  RailSyncA             [ref]



If you have any comments or questions about the topic, please let me know here:
Your name:
Your email:
Spambait
Leave this empty!
Only spambots enter stuff here.
Feedback: