Sunday, January 6, 2013

CAT5 & RJ45 & Everything In Between

Being a newbie to Computer controlled lights myself, I have found the howto's very useful. So here's a little something that I can give back to the community. I know nothing about programming, or soldering, or about electricity in general.....BUT, I do know quite a bit about networking and running cable. This howto will give you an inside look into CAT5 and RJ45 and everything in between.

Step 1 : CAT5 





CAT5 cable is generally used to connect computers together on a network. CAT5 also has a few other common names.....

ethernet cable
CAT5e
CAT6
Patch cable
Network cable

i may explain the more detailed things, if anyone would find it helpful, but for this community and how its being utilized, it doesn't matter too much.

what you do need to know is that it has 4 twisted pairs (total of 8) wired inside. 

Step 2 : RJ45




RJ45 is simply the plastic boot or connector that is attached to the ends of the CAT5 cable. It is similar what you would plug into a phone...but fatter. 

Step 3 : TOOLS
The tool you need to attach an RJ45 boot or connector to the end of a CAT5 cable is a crimper. i got mine a Fry's electronics almost 2 years ago and i never had a bad cable....well not due to the crimper, i just mixed up a wire. (more on that later).

Step 4 : DISCLAIMER 

Before we begin. please read the following......I make no warranties or guaranties or promises with anything you do or attempt to do or think about doing by reading the rest of this howto. I am not responsible in any way for the mistakes you make or the mistakes you will most likely make. also I am not liable for any of the possible consequences of any kind as a result of your mistakes and all mistakes you will ever make with making cable or any other aspects of your entire life. I can't control your actions nor would i ever want to. This is simply listing the steps I take to make network cable that I use personally in my own home, for my own personal uses. I hold no certifications or degrees and I am not to be considered an authority on this subject, even though i probably know more than you do. i'm just a simple man who looked it up online and started doing it....and it worked....so far. good luck.

Step 5 : LETS STRIP 




Using the crimper or a razor blade, carefully cut the outer plastic sheathing so that approx 1 inch of wire is exposed. 

Seperate the 4 twisted pairs of wire from the white hair. then cut off the white hair. untwist the wires and straighten them and line them up. It takes quite some bending to get all the wires lined up. 

PS...i'll try to get some better pics up.

Step 6 : I HOPE YOU'RE NOT COLOR BLIND 

There are a bunch of standards out there that state what order you place the 8 wires when putting on an RJ45 connector. 

For what we are doing here, throw it all out the window. I'll keep this simple. There is only one thing you need to know. 

*****WHAT YOU DO ON ONE END....YOU DO ON THE OTHER END***** 

That's it. Just make sure that each end is identical. Now if you're curious to know, this is the order I use for everything (lights, computers, servers, routers, switches, printers, cameras) when I make my cable. I started with this order and I guess it just turned into habit. 

From left to right..... 

1. white/orange 
2. orange 
3. white/green 
4. blue 
5. white/blue 
6. green 
7. brown 
8. white/brown 

Step 7 : Still To Come.... 

More pics....hopefully they'll be clearer 
More details on sliding the connector on and crimping it. 

...and DB9 (serial) connections too.

RJ45 Connector Wiring

A common question asked at Canford is ‘What is the colour code for connecting RJ45 connectors?’ No doubt this arises because there are more than one! Here we offer some clarification of the various ‘standards’.
In order to determine the code to use, one first has to decide what the connection will be doing. Usually 
the connectors are likely to be used for computer networking, although there are other applications, so here we assume the installation of IT infrastructure.
Firstly some background. The network interface of a modern PC uses a pair (or pairs) to send data and a pair (or pairs) to receive data. (The exact details vary, but let us keep it simple!). Thus the ‘receive’ input on the network card must be passed data from the ‘transmit’ output of another device. The various standard bodies have agreed that the internal connection in a hub or switch will be wired in such a way as to facilitate this simply by connecting the PC to the hub with ‘straight’ or pin-to-pin connections. So if the equipment conforms to this standard, a straight forward pin-to-pin connection is all that is required.

Patch Panels and Wall Plates

Consider cables installed from a patch panel to a wall or floor outlet. If they are to be used for an ethernet LAN, then category 5 or above cable is likely to be used, which consists of four twisted pairs. Not all of these are used in all networks, but it is normal to terminate all the pairs ready for future upgrades. There are two colour codes commonly referred to as EIA/TIA 568A and EIA/TIA 568B. The following applies to 10MHz and 100MHz ethernet wiring, specifically 10 Base-T and 100 Base-T systems.

EIA/TIA 568A

PinSignalWire colourPair
1Transmit +White with green stripe(pair 3+)
2Transmit -Green(pair 3-)
3Receive+White with orange stripe(pair 2+)
4UnusedBlue(pair 1-)
5UnusedWhite with blue stripe(pair 1+)
6Receive-Orange(pair 2-)
7UnusedWhite with brown stripe(pair 4+)
8UnusedBrown(pair 4-)


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

EIA/TIA 568B

 

 

 PinSignalWire ColourPair
1Transmit +White with orange stripe(pair 2+)
2Transmit -Orange(pair 2-)
3Receive+White with green stripe(pair 3+)
4UnusedBlue(pair 1-)
5UnusedWhite with blue stripe(pair 1+)
6Receive-Green(pair 3-)
7UnusedWhite with brown stripe(pair 4+)
8UnusedBrown(pair 4-)
Note that these are colour codes. They do not denote anything particularly special. The only difference is the colour of the pair used for the receive connection to the PC, and all the pairs in CAT5 cable are identical in everything except colour and the position in the lay-up. So, effectively, both colour codes will produce the same effect if the colour code is the same at both ends of the cable run.
So which to use? So long as the connections are the same at both end of the cable, all will be fine. Choose the scheme which matches the equipment already installed. If starting from scratch, some patch bays will have punch-down terminals arranged to suit one scheme or another, so inspect them first! Failing that, EIA/TIA 568B is the more commonly used colour-code in the UK and US. EIA/TIA 568A is common in Europe.
After the above it will be obvious that a patch cord from the wall to the PC can also be wired with either standard, so long as both ends are the same.

Direct Connection

The eagle-eyed reader will have now noticed that a straight wired connection between two PCs will result in the transmit output of one PC being connected to the transmit output of the other PC. This is not good. Here we need a ‘crossover’ cable. Inspection of the two cabling schemes will reveal that a cable made up with the 568A scheme at one end and the 568B scheme at the other looks like this:
PinSignalWire colourPairSignalPin
1Transmit +White with green stripe(pair 3+)Receive+3
2Transmit -Green(pair 3-)Receive-6
3Receive+White with orange stripe(pair 2+)Transmit +1
4UnusedBlue(pair 1-)Unused4
5UnusedWhite with blue stripe(pair 1+)Unused5
6Receive-Orange(pair 2-)Transmit -2
7UnusedWhite with brown Stripe(pair 4+)Unused7
8UnusedBrown(pair 4-)Unused8
....And has magically swapped the pairs so that transmit connects to receive in both directions. We have a cross-over cable! Gigabit ethernet, 1000 Base-T, wiring uses the remaining two pairs of the cable to send bidirectional data, not requiring a cross-over.

Hub to Hub

The same problem arises when cascading hubs and switches, although many modern devices have an ‘uplink’ port or a port with a cross-over switch, so that this connection can be accomplished using a ‘straight cable’.

Types of Rj45 Connectors

RJ-45 is the informal name for a category of eight pinned jacks used in computer networking. These jacks are officially referred to as 8P8C (8 Position 8 Contact) modular connectors, and most commonly found on Ethernet cables.


FCC RJ-45

  • The FCC specification for RJ45 is an obsolete specification of a registered jack serving as a physical interface for high-speed modems. The original specification provides for a single data line, terminating in 8-position 2-contact modular connectors (8P2C). This connector has a plastic protrusion that prohibits its use in the 8P8C Ethernet jacks used today.

Category 5

  • Category 5 was originally designed to transmit at 100 MHz frequencies, providing a rated line speed of 100 Mbit/s. Cat 5 uses two twisted pairs (four contacts) with a max range of 100 meters.
    A Category 5e specification was later introduced with tighter specifications and standards, theoretically increasing ratings to 350 Mbit/s. The new standard also required new cables to include all four twisted pairs.
    Over short distances, under ideal signal conditions, and assuming they have four pairs, Category 5 and 5e are capable of transmitting at Gigabit Ethernet speeds. Gigabit Ethernet uses an optimized encoding scheme specifically intended for operation within these lower signal tolerances.

Category 6

  • Backwards compatible with Cat 5e, this new cable has strict standards and significant improved shielding. Category 6 was designed as the standard for Gigabit Ethernet, providing native speeds of up to 1000 Mbit/s over a frequency of 250 MHz. By reducing the maximum cable distance from 100 meters to 55, 10-Gigabit Ethernet mode is supported.
    Category 6a doubles the frequency to 500 MHz while continuing to reduce noise interference with grounded foil shielding. These improvements remove the cable distance penalty when operating in 10-Gigabit Ethernet mode.

Category 7

  • Operating at frequencies up to 600 MHz, Category 7 was designed specifically to support the rated speeds of 10 Gigabit Ethernet. In addition to the shielding introduced by Cat 6e, this new specification provides individual shielding for each of the four twisted pairs. Category 7 has a maximum distance of 100 meters while maintaining backwards compatibility with Cat 5 and 6.
    Category 7a increases frequencies to 1000 MHz, providing an augmented specification capable of supporting future 40/100 Gigabit Ethernet speeds. The increase to 1000 MHz also allows for the transmittal of lower-frequency Cable TV streams.

Crossover Cables

  • A crossover cable differs from standard Ethernet cables by swapping the transmit pair on one connector with the receive pair on the other. Without the assistance of a network switch, a crossover cable or adapter is often required to directly bridge two devices. Modern devices are increasingly capable of implementing their own internal crossover, reducing the utility of cables and adapters dedicated to this purpose.

RJ- 45 Connector Info

The RJ- 45 is an 8 wire modular connector used to connect computers to hubs on Ethernet UTP networks . The connector is similar to the RJ- 11 US telephone plug but larger



Crossover Cable Pin- out
One End- - - - Other End
Pin 1Pin 3
Pin 2Pin 6
Pin 3Pin 1
Pin 4Pin 4
Pin 5Pin 5
Pin 6Pin 2
Pin 7Pin 7
Pin 8Pin 8

Straight Through Connection
Pin 1 -  TxD+
Pin 2 -  TxD-
Pin 3 -  RxD+
Pin 4 -
Pin 5 -
Pin 6 -  RxD-
Pin 7 -
Pin 8 -