I’m working on a DIY cable harness tester project (to check continuity, cross-wiring, and resistivity) and could really use some guidance. As a newbie, I’ve hit a wall with both the schematic design and coding, and I’m not sure where to turn next.
What I’m trying to build:
A low-cost tester that can verify continuity between wire ends.
Detect cross-wiring/shorts between pins.
Measure resistance (for basic quality checks).
I’m unsure how to design the circuit to handle multiple wires and avoid false readings and also struggling to write the code
You need to make an all inclusive list (preamble) on the functionality that’s need in this project.
First off, the number of wires in the cable etc.
*30 is the maximum ?
3 Connectors as in a Y cable ?
Why are you making this ?
Show us an example of the most complicated cable that might be made.
Tell us what you have done in the past with electronics and Arduino.
Your I2C resistors should be pull-up connected, not in series.
I have one of the Cirrus wire harness tester it is a earlier version and can do 128 test connections.
I would suggest you just look at the products it might help you fill in the missing parts.
I have bought two mux's with this ref "cd74hc4067"
And I picked Esp32 cuz I'm gonna share the result not only through LCD but also on a dashboard (IoT) so I need a microship who has wi-fi integrated in it
I’m still a beginner in embedded systems, but I’ve worked on a few Arduino projects, like a line-following robot and a temperature and humidity monitoring system. I mostly follow tutorials and experiment with small modifications, but I’m eager to improve my understanding of hardware and programming
74HC4067 will work from Vcc = 2V thru 6 Volts, this is good for a 3V3 ESP32.
Your schematic showing a TX 4067 and a RX 4067 is reasonable; can obviously be expanded.
A one to one wire connection between I0-I15 of the multiplexors is made.
On a master cable:
TX Mux: Place a HIGH/LOW on the MUX pin #1 (INPUT), select an output with S0-S3.
RX Mux: Scan all the inputs on the RX Mux using S0-S3, monitor pin #1 (OUTPUT).
Repeat until all wires are fingerprinted.
BTW, you would need a switch programmed for a short press and a long press.
A long press (say 3 seconds) reads a standard cable (learns its finger print), a short press (say < 1 second), compares the standard to the newly manufactured cable.