lotus



previous page: Standard PC Storage Devices and I/O Connector Pinouts.
  
page up: Personal Computers (PCs) info
  
next page: Solutions for Common PC Problems

Standard PC Cabling Pin-out Diagrams




                                   
                                       
                            
          This information may be shared freely but not sold for profit!                       
          This data is provided in a text format to allow greater ease
          of cutting and pasting into various technical documents.
         
                     This information compiled and provided by                  
                         Dick Perron   dperr@randomc.com                            
                                       
                                  Standard PC
                                Cabling Pin-out
                                   Diagrams
                                       
                        Standard motherboard Connectors
                               Video connectors
                          PS2/Serial mouse adaptor
                             Serial I/O connectors
                              Game Port Connector
                            Parallel I/O connectors
                          Serial Loopback Plug Wiring
                         Parallel Loopback Plug Wiring
                           Null modem cable PC to PC
                     Null modem cable PC to serial device
                           Parallel Centronics cable
                          MIDI In and Out connectors   
                                                      
   *******************************************************************************                                
                     CENTRONICS/DB STYLE CONNECTOR PIN NUMBERING
 
   Rule of thumb for pin numbering for standard and mini Centronics/DB style connectors is:
                              Male Connectors        
   Pin #1 is the first pin, top row, LEFT side when looking at the connector.
                             Female Connectors 
   Pin #1 is the first pin, top row, RIGHT side when looking at the connector.
                       
                           DIN/MINI-DIN CONNECTORS 
   DIN and Mini-Din connectors have an alternating pin numbering scheme.  See
   diagrams in this document for correct pin orientation. 
   ******************************************************************************
                   
                      STANDARD PC MOTHERBOARD CONNECTORS
                                                           
              Main Board (System PCB) Standard DC Power Connector(s)
                     
                          O   Y         
                          r   e   B B   B B W 
                          a   l B l l   l l h 
                          n R l l a a   a a i R R R
                          g e o u c c   c c t e e e
                          e d w e k k   k k e d d d
                          ___________   ____________
                          |          |  |          |
                          |    P8    |  |    P9    |
                          |          |  |          |
                          -----------   -----------
               Wire Color                              Assignment
 
                 Black -------------------------------  Ground
                 Orange -------------------------- Power Good (+5V DC)
                  Red ---------------------------------- +5 VDC
                 White --------------------------------- -5 VDC
                 Yellow ------------------------------- +12 VDC
                  Blue -------------------------------- -12 VDC
 
    Note!! When installing the P8/P9 connector be sure that the four
    black wires are adjacent to each other in the center of the connector.
      The Red and Orange wires are on the outside edge of the connector.
 
                         Peripheral DC Power Connector
 
                                         Y
                                     B B e
                                     l l l
                                   R a a l
                                   e c c o
                                   d k k w
 
               Wire Color                          Assignment
 
                  Red ------------------------------- +5 VDC
                 Black ------------------------------ Ground
                 Yellow ----------------------------- +12 VDC
 
            IBM AT 101 KEY (ENHANCED) KEYBOARD 5 PIN DIN CONNECTOR
 
   Male End         PIN                                    SIGNAL                Female End
                    1 ---------------------------------- KBDCLK (clock)          
 1         3        2 ---------------------------------- KBDAT  (data)           3         1
   4     5          3 ---------------------------------- KBRST  (reset,not used)   5     4
      2             4 ---------------------------------- GND                          2
                    5 ---------------------------------- VCC    (+5V)
 
                  IBM PS/2 KEYBOARD 6 PIN MINI-DIN CONNECTOR
     
   Male End         PIN                                  SIGNAL                 Female End
    5 H 6           1 -------------------------------- KBDAT (data)                6 H 5
   3     4          2 -------------------------------- not used                   4     3
    1   2           3 -------------------------------- GND                          2  1
                    4 -------------------------------- VCC   (+5v)
                    5 -------------------------------- KBCLK (clock)
                    6 -------------------------------- not used
 
                   IBM PS/2 MOUSE 6 PIN MINI-DIN CONNECTOR
                  PIN                                 SIGNAL
 
                    1 ------------------------------- MOUSEDATA: 110
                    2 ------------------------------- not used
                    3 ------------------------------- GND
                    4 ------------------------------- +5V
                    5 ------------------------------- MOUSECLK:  110
                    6 ------------------------------- not used
 
        PS/2 MOUSE ADAPTOR CABLE TO MB 10 PIN DIL CONN
                Mouse port                           DIL Conn
      6 H 5         1 ------------------------------- 1 Data
     4     3        2 ------------------------------- 2 N/C
       2 1          3 ------------------------------- 3 Gnd
                    4 ------------------------------- 4 VCC +5V
      Female        5 ------------------------------- 5 Clk
        NOTE!! This pinout is from a Biostar MB with PS2 mouse option.
               Assuming the adaptor is std it should be the same for all MB's.
                    
                           PS2/SERIAL MOUSE ADAPTOR CABLE
 
              MINI DIN CONN                      DB-9 SERIAL CONN 
       
                    1 ---------------------------------- 1
                    3 ---------------------------------- 5
                    4 ---------------------------------- 8
                    5 ---------------------------------- 9                    
 
                             GAME PORT DB-15 FEMALE
 
                   PIN                                 SIGNAL
 
                    1 -------------------------------- +5V DC
                    2 -------------------------------- Button 4 (A_PB1)
                    3 -------------------------------- Pos'n 0  (A_X)
                    4 -------------------------------- GND
                    5 -------------------------------- GND
                    6 -------------------------------- Pos'n 1  (A_Y)
                    7 -------------------------------- Button 5 (A_PB2)
                    8 -------------------------------- +5V DC
                    9 -------------------------------- +5V DC
                   10 -------------------------------- Button 6 (B_PB1)
                   11 -------------------------------- Pos'n 2  (B_X)
                   12 -------------------------------- GND
                   13 -------------------------------- Pos'n 3  (B_Y)
                   14 -------------------------------- Button 7 (B_PB2)
                   15 -------------------------------- +5V DC
 
                        KEYLOCK AND POWER LED CONNECTOR
                  PIN                                  SIGNAL
 
                    1 -------------------------------- +5 VDC
                    2 -------------------------------- not used (key)
                    3 and 5 -------------------------- GND
                    4 -------------------------------- KEYBD DIS (key lock)
 
                       EXTERNAL BATTERY CONNECTOR (6 VDC)
                  PIN                                  SIGNAL
 
                    1 -------------------------------- +6 VDC
                    2 -------------------------------- not used (key)
                    3 -------------------------------- GND
                    4 -------------------------------- GND
 
                               SPEAKER CONNECTOR
                  PIN                                  SIGNAL
 
                    1 -------------------------------- SPEAKER
                    2 -------------------------------- not used (key)
                    3 -------------------------------- GND
                    4 -------------------------------- +5 VDC
                              
                              TURBO LED CONNECTOR
                  PIN                                  SIGNAL
 
                    1 -------------------------------- +TURBO (+5 VDC)
                    2 -------------------------------- GND
 
                           DISK ACCESS LED CONNECTOR
                  PIN                                  SIGNAL
 
                    1 -------------------------------- +DISK (+5 VDC)
                    2 -------------------------------- -DISK
                    3 -------------------------------- -DISK
                    4 -------------------------------- +DISK (+5VDC)
 
             ENHANCED GRAPHICS ADAPTOR (EGA) VIDEO CONNECTOR DB-9
            DB-9 PIN female                            SIGNAL
 
  DB-9 MALE CONN    1 -------------------------------- GND              DB-9 FEMALE CONN
    1       5       2 -------------------------------- SECONDARY RED       5       1
    o o o o o       3 -------------------------------- RED                 o o o o o  
     o o o o        4 -------------------------------- GREEN                o o o o 
     6     9        5 -------------------------------- BLUE                 9     6
                    6 ---------------------- SECONDARY GREEN/INTENSITY
                    7 ---------------------- SECONDARY BLUE/MONO VIDEO
                    8 -------------------------------- HORIZ RETRACE
                    9 -------------------------------- VERT RETRACE
 
                  VIDEO GRAPHICS ARRAY (VGA) HDD-15 CONNECTOR
           HDD-15 PIN female                           SIGNAL
 
  HDD 15 MALE CONN  1 -------------------------------- RED           HDD 15 FEMALE CONN
   1       5        2 -------------------------------- GREEN            5       1
   o o o o o        3 -------------------------------- BLUE             o o o o o
  6 o o o o o 10    4 ------------------------- MONITOR ID BIT 2      10 o o o o o 6
   o o o o o        5 -------------------------------- DIGITAL GND      o o o o o 
   11      15       6 --------------------------- RED ANALOG GND        15      11
                    7 --------------------------- GREEN ANALOG GND
                    8 --------------------------- BLUE ANALOG GND
                    9 ------------------------------ not used
                    10 -----------------------------SYNC RETURN (GND)
                    11 ------------------------ MONITOR ID BIT 0 (not usually used)
                    12 ------------------------ MONITOR ID BIT 1 (not usually used)
                    13 ----------------------------- HORIZ SYNC
                    14 ----------------------------- VERT  SYNC
                    15 ----------------------------- not used
 
               WORKSTATION VIDEO GRAPHICS DB13W3 CONNECTOR
              DB13W3 female                      COLOR SIGNAL
 
  DB13W3 MALE CONN  1 -------------------------------- N/C              DB13W3 FEMALE CONN
    1       5       2 -------------------------------- N/C                 5       1
    o o o o o       3 -------------------------------- SENSE2              o o o o o
@  o o o o o  @  @  4 ------------------------- -------SRTN           @ @   o o o o o  @ 
A1 6      10  A2 A3 5 -------------------------------- CSYNC         A3 A2  10      6  A1
                    6 -------------------------------- N/C        
                    7 -------------------------------- N/C
                    8 -------------------------------- SENSE1
                    9 -------------------------------- SENS0
                    10 ------------------------------- CRTN
                    A1 ------------------------------- RED
                    A2 ------------------------------- GREEN
                    A3 ------------------------------- BLUE
                    
              DB13W3 female                GREYSCALE (MONO) SIGNAL
 
                    1 -------------------------------- N/C
                    2 -------------------------------- N/C
                    3 -------------------------------- SENSE2
                    4 -------------------------------- SRTN
                    5 -------------------------------- CSYNC
                    6 -------------------------------- N/C        
                    7 -------------------------------- N/C
                    8 -------------------------------- SENSE1
                    9 -------------------------------- SENS0
                    10 ------------------------------- CRTN
                    A1 ------------------------------- N/C
                    A2 ------------------------------- GREEN
                    A3 ------------------------------- N/C
 
NOTE!! Most workstation monitors using DB13W3 connectors are FIXED FREQUENCY or are 
       sync on green monitors and cannot be used as standard VGA monitors on a PC
       without a special GRFX card to match the horiz/vert frequency requirements
       of the monitor. 
 
               COLOR GRAPHICS ADAPTER (CGA) VIDEO CONNECTOR DB-9
            DB-9 PIN Female                            SIGNAL
 
                    1 --------------------------------- GND
                    2 --------------------------------- GND
                    3 --------------------------------- RED
                    4 --------------------------------- GREEN
                    5 --------------------------------- BLUE
                    6 ------------------------------- INTENSITY
                    7 -------------------------------- not used
                    8 ------------------------------ HORIZ SYNC
                    9 ------------------------------ VERT SYNC
 
                            MONOCHROME ADAPTOR DB-9
            DB-9 PIN Female                            SIGNAL
 
                    1 --------------------------------- GND
                    2 --------------------------------- GND
                    3 ------------------------------- not used
                    4 ------------------------------- not used
                    5 ------------------------------- not used
                    6 ----------------------------- +INTENSITY
                    7 ------------------------------- +VIDEO
                    8 ------------------------------ +HORIZ SYNC
                    9 ------------------------------- -VERT SYNC
                                       
                       PARALLEL PRINTER CONNECTOR DB-25
              DB-25 PIN (Female)                       SIGNAL
 
  DB-25 MALE CONN   1 ------------------------------- > STROBE *      DB-25 FEMALE CONN
  1           13    2 ------------------------------- > DATA 0        13           1
  ooooooooooooo     3 ------------------------------- > DATA 1         ooooooooooooo
   ooooooooooo      4 ------------------------------- > DATA 2          ooooooooooo
  14         25     5 ------------------------------- > DATA 3         25         14
                    6 ------------------------------- > DATA 4
                    7 ------------------------------- > DATA 5
                    8 ------------------------------- > DATA 6
                    9 ------------------------------- > DATA 7
                    10< ------------------------------ ACK *
                    11< ------------------------------ BUSY
                    12< ------------------------------ PAPER END
                    13  ------------------------------ SLCT (select)
                    14  ------------------------------ >AUTOFEED *
                    15< ------------------------------ ERROR *
                    16 --------------------------->INITIALIZE PRINTER *
                    17 ------------------------------- SLCTIN (select in)
                    18 thru 25 ----------------------- GND
                    Note!!  * denotes an active low signal.
                              SERIAL I/O PIN OUTS
 
               DB-25 MALE PARALLEL LOOPBACK CONNECTOR WIRING
               1 to 13     Strobe to select
               2 to 15     Data o to ERROR
               10 to 16    ACK to INIT
               11 to 17    BUSY to SLCTIN
               12 to 14    PAPER END to AUTOFEED

 

 

 

 


                  RS-232 SERIAL (COM) PC PORT CONNECTOR DB-9
  DB-9 PIN (Male)                             FUNCTION       ABBREVIATION
 
          1 --------------------------- Data Carrier Detect       CD
          2 ------------------------------ Receive Data        RD or RX
          3 ---------------------------- Transmitted Data      TX or TD
          4 ---------------------------- Data Terminal Ready      DTR
          5 ------------------------------ Signal Ground         GND
          6 ------------------------------ Data Set Ready        DSR
          7 ------------------------------ Request To Send       RTS
          8 ------------------------------ Clear To Send         CTS
          9 ------------------------------ Ring Indicator         RI
          Transmitted and receive data are referenced from the data device and
          not the modem.
 
                  RS-232 SERIAL (COM) PC PORT CONNECTOR DB-25
  DB-25 PIN (Male)                            FUNCTION       ABBREVIATION
 
         1 ---------------------------- Chassis/Frame Ground      GND
         2 ------------------------------ Transmitted Data     TX or TD
         3 -------------------------------- Receive Data       RX or RD
         4 ------------------------------ Request To Send        RTS
         5 ------------------------------- Clear To Send         CTS
         6 ------------------------------- Data Set Ready        DSR
         7 ------------------------------- Signal Ground         GND
         8 ---------------------------- Data Carrier Detect   DCD or CD
         9 ------------------------- Transmit + (Current loop)   TD+
         11 ------------------------ Transmit - (Current Loop)   TD-
         18 ------------------------- Receive + (Current Loop)   RD+
         20 --------------------------- Data Terminal Ready      DTR
         22 ----------------------------- Ring Indicator         RI
         25 ------------------------- Receive - (Current Loop)   RD-
          NOTE!! Current loop technology was supported in the PC and XT interfaces.
                Current loop was discontinued when the AT interface was introduced.
                Transmitted and receive data are referenced from the data
                device and not the modem.
 
                        DB-25 FEMALE SERIAL LOOPBACK PLUG WIRING
                        2 to 3          Xmit to Rec data
                        4 to 5 to 22    RTS to CTS to RI
                        6 to 8 to 20    DSR to CD to DTR
                        
                        DB-9 FEMALE SERIAL LOOPBACK PLUG WIRING
                        2 to 3          Xmit to Rec data
                        7 to 8 to 9     RTS to CTS to RI
                        6 to 1 to 4     DSR to CD to DTR
     
                  SERIAL PORT LOOPBACK DIAGNOSTIC TESTING RULES 
    
     When the diagnostic asserts RTS (output) it then tests for the presence
     of CTS and Ring Indicator (input).  If CTS and RI are detected the RTS driver and
     CTS/RI receivers are considered operational.  When DTR is asserted (output) the
     diagnostic tests for the presence of CD and DSR (input).  If CD/DSR are detected
     the DTR driver and CD/DSR receivers are considered operational.  Data is Xmitted
     and received on the data lines and the data is compared in the diagnostic buffer.
     If any status's are not detected an error message is displayed.    
 
                  RS-232 SERIAL DB-9 to RS-232 DB-25 ADAPTOR
           DB-9 PIN (Female)                        DB-25 PIN (Male)
 
                    1 ------------------------------------- 8    DCD
                    2 ------------------------------------- 3    TXD
                    3 ------------------------------------- 2    RXD
                    4 ------------------------------------- 20   DTR
                    5 ------------------------------------- 7    GND
                    6 ------------------------------------- 6    DSR
                    7 ------------------------------------- 4    RTS
                    8 ------------------------------------- 5    CTS
                    9 ------------------------------------- 22   RI
                 Use this pin out to adapt between the two serial connector
                 types.
 
                 RS-232 SERIAL DB-25 to DB-25 NULL MODEM CABLE
                DB-25 PIN (Female) PC                   DB-25 PIN (Female) PC
 
                    2 ------------------------------------- 3
                    3 ------------------------------------- 2
                    7 ------------------------------------- 7
                    4 ------------------------------------- 5
                    5 ------------------------------------- 4
                    6 ------------------------------------- 20
                    20 ------------------------------------ 6
     Note!!    All other pins are unused.  Use this cable pinout for direct
               connection between two IBM compatible computers.  (LAPLINK)
 
            RS-232 SERIAL DB-25 to SERIAL PRINTER NULL MODEM CABLE
   DB-9 Female PC DB-25 PIN Female PC                     DB-25 PIN Male printer
 
   2 < RD --------- 3 <------------------------------------- 2 Transmitted data
   3 > TD --------->2 -------------------------------------> 3  Receive data
   5 < GND -------- 7 <------------------------------------> 7  Ground
   8 < CTS -------- 5 ------------------------------------ 6 to 8 to 20
 1 to 4 to 6    6 to 8 to 20                               4 to 5 
 DTR/DSR/DCD    DTR/DSR/DCD                              RTS to CTS
 
          Note!! Use this cable pinout for direct connection between a PC
                 serial port and a serial printer.  The 1/4/6 and 6/8/20
                 loopbacks are to enable the interface as if a modem was attached.
 
               STANDARD CENTRONICS PARALLEL CABLE DB-25 TO CENTRONICS 36
                 DB-25 PIN Male (PC)                     Centronics 36 Male
 
  CENTRONICS 36 MALE   1 --------------------------------------> 1  Strobe *       CENTRONICS 36 FEMALE
  1  CONNECTOR    18   2 <-------------------------------------> 2  Data bit 0 +    18  CONNECTOR    1
\ ------------------ / 3 <-------------------------------------> 3  Data bit 1 +   \ ------------------ /
 \------------------/  4 <-------------------------------------> 4  Data bit 2 +    \------------------/
  19              36   5 <-------------------------------------> 6  Data bit 3 +     36              19
                       6 <-------------------------------------> 6  Data bit 4+
                       7 <-------------------------------------> 7  Data bit 5 +
                       8 <-------------------------------------> 8  Data bit 6 +
                       9 <-------------------------------------> 9  Data bit 7 +
                       10 <------------------------------------- 10 Acknowledge *
                       11 <------------------------------------- 11 Busy +
                       12 <------------------------------------- 12 Paper out +
                       13 <------------------------------------- 13 Select (in) *
                       14 -------------------------------------> 14  Auto Feed *
                       15 <------------------------------------- 32 Error *
                       16 -------------------------------------> 31  Initialize printer *
                       17 -------------------------------------> 36  Select (out) *
                       18 thru 25 Gnd                    16, 19 thru 30, 33  Ground
                                                  15, 17, 18, 34, 35  No connection
 
     Note!! * denotes and active low signal.  This pin out depicts the newer bi-directional parallel
              port with input and output capabilities often used with external tape drives and
              accessory devices. If pins 31 or 32 are grounded on a cable the printer will fail to
              come ready when attached to the PC.  This is common on low cost parallel printer cables.
		
                                         MIDI 5 PIN DIN IN AND OUT CONNECTORS
 
                               MIDI In                        MIDI Out
                                pin     Signal                 pin     Signal
 
                                 1       N/C                    1       N/C
                                 2       N/C                    2       GND
                                 3       N/C                    3       N/C
                                 4       Current Src            4       Current Sink
                                 5       Current Sink           5       Current Src
          
 
 ===============================================================================================
 
Paul Carpenter has contributed this info:
 
 PS/2 MOUSE ADAPTER CABLE TO MB 10 PIN DIL CONN
                                   Mouse port                          
DIL Conn
                         6 H 5         1 -------------------------------
5 Data
                        4     3        2 -------------------------------
2 N/C
                          2 1          3 -------------------------------
3 Gnd
                                       4 -------------------------------
1 VCC +5V
                         Female        5 -------------------------------
4 Clk
      NOTE!! This pinout is from a ECS P5VX-B MB with PS2 mouse option.
 
Not the same as the one on file.
 
Best way to find out is 
 
	Power OFF PC
	Meter resistance between +5V power lead and pins on connector
		(find +5V pin)
	Meter resistance between GND power lead and pins on connector
		(find GND pin)
	
	Wire up pins 3 and 4 of Mini-Din connector to known +5V and GND
	Try pins 1 and 5 of Mini-Din using remaining pins  and swap them
	round if it does not work, until you get a working combination.
	Reset processor (or power cycle) between tries.
 
	Once +5V and more importantly GND are wired correctly trying other
	combinations will not damage working mouse port and mouse.
 
 
        =================================
 
From: "Iain Fielden" 
To: stas@stason.org
Date: Sun, 21 Dec 2003 04:18:54 -0000
 
The one piece of  PC cabling info I couldn't find on 
http://stason.org/TULARC/pc/pc_pinout.html was the 
connections/pinouts for a laptop external Mouse/Keyboard Y splitter 
cable. I've since found it/worked it out, and if you would like to 
add it to your page (where far more people will be able to find it 
than on mine) the info is as follows:-
 
LAPTOP PS/2 COMBINED KEYBOARD/MOUSE 6 PIN MINI-DIN 
CONNECTOR AND Y-SPLITTER CABLE
(Verified for Compaq Armada M700)
     
        PIN                             PIN  SIGNAL     
 5 H 6   1 Data 1 ----------------------- 1  Data 1         6 H 5
3     4  2 Data 2 ----- - - - - - - - - - 2  Not Used      4     3
 1   2   3 GND -------------------------- 3  GND             2  1
  Male   4 VCC (+5v) -------------------- 4  VCC  (+5v)     Female
  End    5 Clock 1 ---------------------- 5  Clock 1        End (1)
         6 Clock 2 ----- - - - - - - - -  6  Not Used
                    ||||||
                    | |||                 PIN  SIGNAL
                    |||||---------------- 1  Data 2        6 H 5
                    | ||  - - - - - - - - 2  Not Used     4     3
                    ||||----------------- 3  GND            2  1 
                    | |------------------ 4  VCC  (+5v)    Female
                    |-------------------- 5  Clock 2       End (2)
                      - - - - - - - - - - 6  Not Used
 
Compaq Armada M700 accepts Mouse and Keyboard as either (1) or (2). 
Other makes/models may care which is which. Still others may use 
some other cable arrangement, some (older?) models may not be able 
to use Y-Splitters at all. This should work for most, but ideally 
check documentation for your particular make & model.
 
 

 

 















TOP
previous page: Standard PC Storage Devices and I/O Connector Pinouts.
  
page up: Personal Computers (PCs) info
  
next page: Solutions for Common PC Problems