Académique Documents
Professionnel Documents
Culture Documents
qc
7/28/00
13:53
Page 767
A P P E N D I X
Cabling
Diagrams: Serial,
Video, Keyboard,
Parallel, Network
and More
3510-2 appG.f.qc
768
7/28/00
13:53
Page 768
Appendixes
Signal common
Carrier detect
20
20
22
Frame /ground
Transmit data send
Receiving data
Request to send
Clear to send
Data set ready
This is a full-function null modem, providing all the proper hardware handshaking
and device status signals. Many null modems offered for sale or built by hand incorrectly connect the carrier detect signal to the standard hardware-handshake signal
lines, or they loop the handshaking signals back to the originating device. These miswirings can cause loss of data or failure of information transfer. Properly built, one
device should provide active signals to the other, whether the signal is a ready line
or a send line. Looping signals from a device back to itself provides no information
to another device both will try to operate independently, and data loss can result.
3510-2 appG.f.qc
7/28/00
13:53
Page 769
The rules of proper interconnection are applied to the 25-pin-to-9-pin and the 9-pinto-9-pin null modem cabling diagrams (Figures G-2, G-3, and G-4).
The numbered pin connections shown are valid whether the connectors are male
plugs or female sockets. The pin orientations for each type of connector are shown
at the end of this appendix.
Frame /ground
Transmit data
Receive data
Request to send
Clear to send
Data set ready
Signal common
N/C
Carrier detect
Request to send
Carrier detect
Data terminal 20
ready
22
N/C
Ring detect
N/C
Receive data
Transmit data
Data terminal
ready
Signal common
Clear to send
Ring detect
Carrier detect
Receive data
Transmit data
Signal common
Request to send
Clear to send
Ring detect
769
3510-2 appG.f.qc
770
7/28/00
13:53
Page 770
Appendixes
Frame /ground
20
22
Transmit data
Receive data
Request to send
Clear to send
Data set ready
Signal common
Carrier detect
Data terminal ready
Ring detect
N/C
Table G-1
Monochrome Display Monitor and Adapter Connections
Pin Number
Signal
Ground
Ground
n/c
3510-2 appG.f.qc
7/28/00
13:53
Page 771
Pin Number
Signal
n/c
n/c
Intensity bit
Video bit
Horizontal sync +
Vertical sync +
Table G-2
Color Graphics Display Monitor and Adapter Connections
Pin Number
Signal
Ground
Ground
Red signal
Green signal
Blue signal
Intensity signal
n/c
Horizontal sync
Vertical sync
Table G-3
Enhanced Graphics Adapter and Monitor Connections
Pin Number
Signal
Ground
Secondary red
Red signal
Primary green
Primary blue
Continued
771
3510-2 appG.f.qc
772
7/28/00
13:53
Page 772
Appendixes
Signal
Secondary green
Secondary blue
Horizontal sync
Vertical sync
Table G-4
Video Graphics Array Monitor and Adapter Connections
Pin Number
Signal
Red video
Green video
Blue video
Monitor ID bit 2
Ground
Red return
Green return
Blue return
Key no pin
10
Sync return
11
Monitor ID bit 0
12
Monitor ID bit 1
13
Horizontal sync
14
Vertical sync
15
Not used
3510-2 appG.f.qc
7/28/00
13:53
Page 773
Keyboard Connections
Most PCs use a standard 5-pin circular DIN connector for the keyboard-to-motherboard connections. Many newer systems, as well as the IBM PS/2 and later series,
use a mini-DIN plug. The PS/2-style pointing devices use the same connections as
the PS/2-style keyboard connectors (as shown in Table G-5).
Table G-5
Standard and PS/2 Keyboard Connectors
Signal
Clock
Data
Ground
+5 VDC
Not used
2 and 6
Table G-6
Standard PC Printer Cable Connections
DB25
Male pins
<= in
=> out
Centronics
connector pins
Signal
Name
=>
-Strobe
=>
Data 0
=>
Data 1
=>
Data 2
=>
Data 3
Continued
773
3510-2 appG.f.qc
774
7/28/00
13:53
Page 774
Appendixes
<= in
=> out
Centronics
connector pins
Signal
Name
=>
Data 4
=>
Data 5
=>
Data 6
=>
Data 7
10
<=
10
-Ack
11
<=
11
+Busy
12
<=
12
+PaperEnd
13
<=
13
+SelectIn
14
=>
14
-AutoFd
15
<=
32
-Error
16
=>
31
-Init
17
=>
36
-Select
1825
==
1930
Ground
33,17,16
n/a
For high-quality data transmission, each signal line should be one wire in a twisted
pair of wires, the other of which is one of the ground lines connecting DB25 pins
1825 to Centronics pins 1930.
Note
Table G-7 shows the interconnections between two DB-25 male connectors to make
a direct-connect cable for PC-to-PC data transfer using Windows Direct Connection,
Symantecs pcAnywhere, or Traveling Softwares LapLink.
Table G-7
A Direct PC-to-PC Connection IEEE-1284 ECP Cable Diagram
DB25 Male Pin #
Connection
wire
10
3510-2 appG.f.qc
7/28/00
13:53
Page 775
Note
Connection
10
wire
11
wire
14
12
wire
16
13
wire
17
14
wire
11
16
wire
12
17
wire
13
1825
wire
1825
The 1000 ohm resistors in series with each of the data lines on pins 29 are optional
in some configurations. They condition and protect signal lines on the driver chips
on each end of the connection inside the PC. All other connections are a straightthrough wire. Each signal line should be a twisted pair with the ground lines on pins
1825, doubling up with the grounds from the nondata lines on pins 1017.
775
3510-2 appG.f.qc
776
7/28/00
13:53
Page 776
Appendixes
Connector
face
Wiring
side
25 24 23 22 21 20 19 18 17 16 15 14
14 15 16 17 18 19 20 21 22 23 24 25
pin 1
pin 1
on female
on male
connector
connector
male
female
9 8 7 6
6 7 8 9
25-Pin Serial
Test Socket
9-Pin Serial
Test Socket
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
Parallel Port
Test Plug
14
14
15
15
16
1
2
3
17
17
18
19
20
21
22
8
9
10
11
12
13
3510-2 appG.f.qc
7/28/00
13:53
Page 777
47 ohm
To line
47 ohm
0.01 ufd
1,000 volts
130 volt
MOV
(metal-oxide-varistor)
47 ohm
To modem
47 ohm
Resistors
RJ-11 plug
red
green
red
RJ-11 plug
green
Theoretically, the voltage on your phone lines should never exceed 130 volts AC.
This is the potential of the voltage that activates a ringer, a beeper, or a modems
ring detect circuit. The normal idle line voltage (phone on hook, no ringing) for a
telephone line is 48 volts DC. This drops to between 6 and 24 volts when the line is
in use. The devices you plug into a phone line should be able to operate at these
levels. Lightning can impress well over 1,000 volts on the phone line, which can easily destroy delicate electronic equipment or your PC if this high voltage gets inside.
777
3510-2 appG.f.qc
778
7/28/00
13:53
Page 778
Appendixes
Some phone systems, connected between outside lines and a telephone set, can present different voltages at different times and may not be suitable for your modem. If
you can prevent high voltages from reaching your equipment, it will suffer little or no
damage. We recommend you use this circuit or a similar one if you anticipate connecting your modem to unfamiliar phone systems. If the phone system is not designed for
modems, the circuit wont make your modem work with the line, but it can prevent it
from being damaged.
The circuit shown in Figure G-7 was designed for a private, in-house phone system
not directly attached to phone company circuits. It is an alternative to the expensive and less functional off-the-shelf units that costs ten times as much. It can also
dramatically reduce line noise that can cause data errors. If your system or add-ons
are susceptible to high voltage damage, and most are, you may want to try this circuit. This device is easy to build inside a common modular phone jack unit using
parts available at most neighborhood electronics stores.
This device is not certified by the FCC or by telephone companies for use on standard direct lines. Its use on direct lines may violate your local telephone company
or state tariffs. It does not damage lines or equipment, nor does it degrade the performance of your lines or equipment. In most cases, it improves the clarity and it
certainly adds to the protection of equipment.
The four resistors help to slightly reduce the normal line current and absorb most of
the excess energy of voltages over 130 volts. The metal-oxide-varistor (MOV) is the
primary protection device. It sets the limit for the voltages that can pass between
the line and the equipment. The 0.01 microfarad capacitor works with the resistors
to reduce signals above the voice audio range (3 kHz). This has the effect of reducing clicks, pops, and static on the line.
If the resistors are replaced with 10 microhenry, 100 milliampere inductors, this circuit will provide much the same voltage protection and severely reduce any radio
interference. Further reduction of radio interference may require the addition of a
0.001 microfarad capacitor from each end of the MOV to a solid nearby ground
point. Using the capacitors and inductors is a long-standing method of removing
radio interference (which is allowed and common in severe cases) as a repair or
correction to phone lines. In effect, either circuit method should be allowed to be
used as a repair if line noise is in excess of any standard limits.
Reducing the capacitor value from 0.01 microfarad to 0.0001 microfarad (100 picofarad) and changing the connectors to RJ-45 (6-pin) or RJ-48 (8-pin) will enable you
to use this device on Integrated Services Digital Network (ISDN) interface units on
either ISDN connection type S (requires separate NT-1 device) or U (NT-1 device
included in unit).
3510-2 appG.f.qc
7/28/00
13:53
Page 779
Brown
Brown/White
Green
Blue/White
Blue
Green
Orange
Orange/White
Brown
8
7 Brown/White
Green
6
Blue/White
5
Blue
4
3 Green/White
Orange
2
1 Orange/White
End
Clip
8
7
6
5
4
3
2
1
End view
Figure G-8: Standard 10BaseT interconnections for connecting systems and devices
to a hub
Clip
Brown
Brown/White
Green/White
Blue/White
Blue
Green
Orange/White
Orange
Brown
8
7 Brown/White
Green
6
Blue/White
5
Blue
4
3 Green/White
Orange
2
1 Orange/White
End
8
7
6
5
4
3
2
1
End view
Crossover
8
7
2
5
4
1
6
3
779
3510-2 appG.f.qc
7/28/00
13:53
Page 780