Described here is a simple RJ45 cable tester circuit which can be used for testing the RJ45 network cables. The circuit can check both straight-through and crossovertype RJ45 network cables. This is a low-cost tester designed using easily available components. Fig. 1 shows the difference between straight-through and crossover network cables. The tester also indicates the type of cable under test with different sequences in which LEDs glow for both types of cables.
Fig. 1: Straight-through and crossover network cables
Circuit and working
Fig. 2 shows the circuit diagram of RJ45 cable tester. The circuit makes use of easily available components such as timer NE555 (IC1), decade counter CD4017B (IC2) and a few other components. IC1 is a popular timer, wired in astable multivibrator mode generating output pulses of around 1Hz at pin 3.
Fig. 2: Circuit diagram of RJ45 cable tester
These pulses serve as a clock for decade counter IC2. The outputs O0 through O3 of IC2 go high one after another with the input pulses at pin 14. These are connected to the RJ45 socket CON2 such that a pulse is sent through one leg of each wire-pair and the return legs are connected to ground via LEDs showing the current flow in each pair. Resistors R3 through R6 are used to limit the current through each LED. Output O4 resets the counter IC2 on every fifth clock.
For testing the RJ45 cable, connect the cable between CON2 and CON3 and switch on the power supply through switch S1.
If the LEDs glow in the sequence of LED1, LED2, LED3 and LED4, the cable under test is straight-through type and is working well. Similarly, if LEDs glow in the sequence of LED2, LED3, LED1 and LED4, the cable is crossover type and is working well. Refer Table I for the sequence of LEDs.
TABLE I. Sequence for Straight-through and Crossover Cables
Straight-through | Crossover |
LED1 | LED2 |
LED2 | LED3 |
LED3 | LED1 |
1 ED4 | LED4 |
Parts List
Semiconductors : | |
IC1 | - NE555 timer |
IC2 | - CD4017B decade counter |
LED1-LED4 | - 5mm red LED |
Resistors (all 1/4-watt, ±5% carbon): | |
R1 | - 3.9-kilo-ohm |
R2 | - 10-kilo-ohm |
R3-R6 | - 470-ohm |
Capacitors: | |
C1 | - 47μF, 16V electrolytic |
C2 | - 0.01μF ceramic disk |
C3 | - 0.1μF ceramic disk |
Miscellaneous: | |
CON1 | - 2-pin terminal block connector |
CON2, CON3 | - RJ45 connector |
S1 | - On/off switch - 16-pin IC base - 8-pin IC base |
Construction and testing
An actual-size, single-side PCB for RJ45 cable tester is shown in Fig. 3 and its component layout in Fig. 4. After assembling the circuit on PCB, enclose it in a suitable plastic case.
Fig. 3: An actual-size, single-side PCB for RJ45 cable tester
Fig. 4: Component layout for the PCB
Mount all the components on the PCB and enclose it in a plastic cabinet. Make arrangements in the cabinet such that CON1, CON2, CON3, S1 and LED1 through LED4 stick out of the cabinet for proper operation. The circuit is simple and does not require much testing, but do check various voltage levels on test points corresponding to test point table.
TABLE II. Test Points
Test point | Details |
TP0 | GND |
TP1 | 9V (when S1 on) |
TP2 | Around 1Hz |
Author: Bhaskar Pandey