Tuesday, February 2, 2010

How to make Cat 5 Twisted Pair Network Cables

INTRODUCTION. 
The purpose of this article is to show you how to make the two kinds of cables which can be used to network two or more computers together to form quick and simple home or small office local area networks (LANs). These instructions can also be used to make patch cables for networks with more complex infrastructure wiring.
The two most common unshielded twisted-pair (UTP) network standards are the 10Mhz 10BASE-T Ethernet and the 100Mhz 100BASE-TX Fast Ethernet. The 100BASE-TX standard is quickly becoming the predominant LAN standard. If you are starting from scratch, to build a small home or office network, this is clearly the standard you should choose. This article will show you how to make cables which will work with both standards.
LANS SIMPLIFIED. 
A LAN can be as simple as two computers, each having a network interface card (NIC) or network adapter and running network software, connected together with a crossover cable.
The next step up would be a network consisting of three or more computers and a hub. Each of the computers is plugged into the hub with a straight-thru cable (the crossover function is performed by the hub).

NETWORK CABLE AND CONNECTORS
There are several classifications of cable used for twisted-pair networks. Likewise, there are several fire code classifications for the outer insulation of CAT 5 cable

CAT 5 wire is available in reel-in-box packaging. This is very handy for pulling the wire without putting twists in it. Stranded wire patch cables are often specified for cable segments running from a wall jack to a PC and for patch panels. They are more flexible than solid core wire. However, the rational for using it is that the constant flexing of patch cables may wear-out solid core cable--break it. Also, stranded cable is susceptible to degradation from moisture infiltration, may use an alternate color code, and should not be used for cables longer than 3 Meters (about 10 feet). Solid core cable is quite suitable for this purpose and for many home and small business networks. CAT 5 cable has four twisted pairs of wire for a total of eight individually insulated wires. Each pair is color coded with one wire having a solid color (blue, orange, green, or brown) twisted around a second wire with a white background and a stripe of the same color. The solid colors may have a white stripe in some cables. Cable colors are commonly described using the background color followed by the color of the stripe; e.g., white orange is a cable with a white background and an orange stripe.
CONNECTORS.
The straight through and cross-over patch cables discussed in this article are terminated with CAT 5 RJ-45 modular plugs. RJ-45 plugs are similar to those you'll see on the end of your telephone cable except they have eight versus four or six contacts on the end of the plug and they are about twice as big. Make sure they are rated for CAT 5 wiring. (RJ means "Registered Jack"). Also, there are RJ-45 plugs designed for both solid core wire and stranded wire. Others are designed specifically for one kind of wire or the other. Be sure you buy plugs appropriate for the wire you are going to use. I use plugs designed to accommodate both kinds of wire.
A LITTLE THEORY
The 10BASE-T and 100BASE-TX Ethernets consist of two transmission lines. Each transmission line is a pair of twisted wires. One pair receives data signals and the other pair transmits data signals. A balanced line driver or transmitter is at one end of one of these lines and a line receiver is at the other end. A (much) simplified schematic for one of these lines and its transmitter and receiver follow:

Pulses of energy travel down the transmission line at about the speed of light (186,000 miles/second). The principal components of one of these pulses of energy is the voltage potential between wires and current flowing near the surface of the wires. This energy can also be considered as residing in the magnetic field which surrounds the wires and the electric field between the wires. In other words, an electromagnetic wave which is guided by, and travels down the wires.
The main concern is the transient magnetic fields which surrounds the wires and the magnetic fields generated externally by the other transmission lines in the cable, other network cables, electric motors, fluorescent lights, telephone and electric lines, lightning, etc. This is known as noise. Magnetic fields induce their own pulses in a transmission line which may literally bury the Ethernet pulses, the conveyor of the information being sent down the line.
The twisted-pair Ethernet employs two principle means for combating noise. The first is the use of balanced transmitters and receivers. A signal pulse actually consists of two simultaneous pulses relative to ground: a negative pulse on one line and a positive pulse on the other. The receiver detects the total difference between these two pulses. Since a pulse of noise (shown in red in the diagram) usually produces pulses of the same polarity on both lines one pulse is essentially canceled by out the other at the receiver. Also, the magnetic field surrounding one wire from a signal pulse is a mirror of the one on the other wire. At a very short distance from the two wires the magnetic fields are opposite and have a tendency to cancel the effect of each other out. This reduces the line's impact on the other pair of wires and the rest of the world.
The second and the primary means of reducing cross-talk--the term cross-talk came from the ability to (over) hear conversations on other lines on your phone--between the pairs in the cable, is the double helix configuration produced by twisting the wires together. This configuration produces symmetrical (identical) noise signals in each wire. Ideally, their difference, as detected at the receiver, is zero. In actuality it is much reduced.
COLOR-CODE STANDARDS
Again, please bear with me... Let's start with simple pin-out diagrams of the two types of UTP Ethernet cables and watch how committees can make a can of worms out of them.
Here are the diagrams:
Note that the TX (transmitter) pins are connected to corresponding RX (receiver) pins,plus to plus and minus to minus. And that you must use a crossover cable to connect units with identical interfaces. If you use a straight-through cable, one of the two units must, in effect, perform the cross-over function.
Two wire color-code standards apply: EIA/TIA 568A and EIA/TIA 568B. The codes are commonly depicted with RJ-45 jacks as follows (the view is from the front of the jacks):
If we apply the 568A color code and show all eight wires, our pin-out looks like this:
Note that pins 4, 5, 7, and 8 and the blue and brown pairs are not used in either standard.
Quite contrary to what you may read elsewhere, these pins and wires are not used or required to implement 100BASE-TX duplexing--they are just plain wasted. However, the actual cables are not physically that simple. In the diagrams, the orange pair of wires are not adjacent. The blue pair is upside-down. The right ends match RJ-45 jacks and the left ends do not. If, for example, we invert the left side of the 568A "straight"-thru cable to match a 568A jack--put one 180° twist in the entire cable from end-to-end and twist together and rearrange the appropriate pairs, we get the following canof-worms:
This further emphasizes, I hope, the importance of the word "twist" in making network cables which will work. You cannot use an flat-untwisted telephone cable for a network cable. Furthermore,you must use a pair of twisted wires to connect a set of transmitter pins to their corresponding receiver pins. You cannot use a wire from one pair and another wire from a different pair.

Keeping the above principles in mind, we can simplify the diagram for a 568A straight-thru cable by untwisting the wires, except the 180° twist in the entire cable, and bending the ends upward. Likewise, if we exchange the green and orange pairs in the 568A diagram. We will get a simplified diagram for a 568B straight-thru cable. If we cross the green and orange pairs in the 568A diagram we will arrive at a simplified diagram for a crossover cable. All three are shown below.
LET'S MAKE IT SIMPLE
There are only two unique cable ends in the preceding diagrams. They correspond to the 568A and 568B RJ-45 jacks and are shown to the right.

Again, the wires with colored backgrounds may have white stripes and may be denoted that way in diagrams found elsewhere. For example, the green wire may be labeled Green- White. The background color is always specified first.
Now, all you need to remember, to properly configure the cables, are the diagrams for the two cable ends and the following rules:  
  • A straight-thru cable has identical ends. 
  • A crossover cable has different ends.
It makes no functional difference which standard you use for a straight-thru cable. You can start a crossover cable with either standard as long as the other end is the other standard. It makes no functional difference which end is which. Despite what you may have read elsewhere, a 568A patch cable will work in a network with 568B wiring and 568B patch cable will work in a 568A network. The electrons couldn't care less.
CABLING RULES
  1. Try to avoid running cables parallel to power cables.
  2. Do not bend cables to less than four times the diameter of the cable.
  3. If you bundle a group of cables together with cable ties (zip ties), do not over-cinch them. It's okay to snug them together firmly; but don't tighten them so much that you deform the cables.
  4. Keep cables away from devices which can introduce noise into them. Here's a short list: copy machines, electric heaters, speakers, printers, TV sets, fluorescent lights, copiers, welding machines, microwave ovens, telephones, fans, elevators, motors, electric ovens, dryers, washing machines, and shop equipment.
  5. Avoid stretching UTP cables (tension when pulling cables should not exceed 25 LBS).
  6. Do not run UTP cable outside of a building. It presents a very dangerous lightning hazard!
  7. Do not use a stapler to secure UTP cables. Use telephone wire/RG-6 coaxial wire hangers which are available at most hardware

No comments:

Post a Comment