กลับไปหน้ารวมไฟล์
cable-tester-rj45-ethernet-58aaa9-en.md

Project title: Cable Tester RJ45 (Ethernet)

The concept for this project originated from a basic need in network installation tasks: checking non-standard or custom-built Ethernet (RJ45) cables. Standard LAN cable testers available on the market often cannot provide sufficient detailed information about the internal connection structure.

This tester was designed to solve that problem. It leverages the power of an Arduino Uno combined with a signal expansion chip to accurately check signal continuity and pin mapping.

Improving Performance with SN74HC595 Shift Register

The key component in the transmitter section of this project is the SN74HC595 IC, a Serial-in Parallel-out Shift Register. There are two main reasons for choosing this component in embedded systems engineering:

  1. Resource Saving (I/O Expansion): The Arduino Uno has limited digital pins. Using the SN74HC595 allows us to use only 3 pins from the Arduino (Data, Latch, Clock) while controlling up to 8 output pins to send signals to all 8 LAN wires.
  2. Precision Control: We can send data bitwise to freely apply 5V to the desired pins one by one in sequence.

Operating Principle and Program Logic (Engineering Logic)

The system operates using a Master-Slave Scanning approach. The operational steps are divided into the following cycle:

1. Transmitter Side: The program instructs the SN74HC595 to output a High voltage (5V) to each RJ45 pin sequentially, starting from pin 1 up to pin 8. This is done using the shiftOut() function to shift data bits. For example:

  • Cycle 1: Send signal to pin 1 (00000001)
  • Cycle 2: Send signal to pin 2 (00000010)
  • ... Continue until all 8 wires are covered.

2. Receiver Side: While the transmitter is powering a specific pin, the receiver section (connected to the Arduino's input pins) scans to detect "which pin on the receiver side shows 5V".

3. Result Analysis:

  • Straight-through Cable: If a signal is sent to pin 1 and voltage is detected at pin 1 on the receiver side (and this pattern holds for all 8 pins), the system will diagnose it as a perfectly functional standard cable.
  • Crossed/Defective Cable: If a signal is sent to pin 1 but voltage appears at pin 6 on the receiver side, the system will immediately process and display on the screen that a pin swap has occurred. Or, if no voltage appears on any pin, it will immediately indicate that the wire is broken.

Conclusion

This project is not just a general cable testing tool, but also an excellent example of using a Shift Register to manage complex testing systems. It enables engineers or technicians to quickly analyze physical issues with signal cables via a display screen, effectively reducing the time spent on troubleshooting wiring on-site.

ข้อมูล Frontmatter ดั้งเดิม

title: "Cable Tester RJ45 (Ethernet)"
description: "Check internal connections RJ45 cable, standard cable, crossover cable, and special cables."
author: "Andreaberri"
category: "Lab Stuff"
tags:
  - "debugging tools"
  - "communication"
  - "monitoring"
views: 29587
likes: 14
price: 1120
difficulty: "Easy"
components:
  - "16x Resistor 10k ohm"
  - "1x Shift Register- Serial to Parallel"
  - "1x Arduino UNO"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles: []
documentationLinks: []
passwordHash: "eef2943183ab0b436a3d3d546181acdbac0af4be93f9ef77e49b6cb24c883a81"
encryptedPayload: "U2FsdGVkX19jmToV4CvFymVNOZFao9Fr6D59JQweiUe5vqOU/kj27dymmIGNN+uYh3OJhx6Xo7NTjDz9QNDSOl2ZmteqvLmM7cg7RJFF/eo="
seoDescription: "Check internal connections for RJ45 cable, standard cable, crossover cable, and special cables with this project."
videoLinks:
  - "https://www.youtube.com/embed/6MR6qU3fXBc"
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/cable-tester-rj45-ethernet-58aaa9_cover.jpg"
lang: "en"