Hi,
I want to make a tester for a 4pin harness with bare ends.
The ends of the wires are supposed to be open and I just want to be able to identify which pair or group of wires are touching each other.
I've read somewhere that one pin should be high and others at low for testing a specific wire and prevent damaging the Arduino but I'm not sure how to do it sequentially for all pins.
I'll be using TFT LCD and Arduino Mega
Ex. A & B are shorting
Detected Shorts:
A+B = X
A+C = β
A+D = β
B+C = β
B+D = β
C+D = β
Thanks!
Okay. What have you done so far? What specific hardware are you using?
Did you try typing "cable tester" into the search box at the upper right of the web page?
1 Like
Koepel
April 17, 2023, 12:44am
3
Why not use that picture and put 6 leds in it, then it is instantly clear what is connected to what.
xfpd
April 17, 2023, 12:58am
4
Sequentially send a known volt level to each pin. If that level registers on another pin, you have a short.
...with loads on the other end... because it would be an MCU input on the other end.
I haven't done anything yet since I'm still waiting for the arduino mega and other components to arrive.
I found this thread Continuity Tester (Pass or Fail outcome only) - #7 by G40PY and it looks similar to my project except that I'll be using TFT LCD instead of Serial
The idea has been around. A friend of mine was hired to build one back in the 1980s.
I tried searching for similar projects but most of them have 2 ends of the harness connected to the arduino.
in this thread I have a prototype of a cable tester:
DrDiettrich:
Das setzt voraus,
challenge akzeptiert.
Ganz was einfaches als proof of concept:
/*
simple check of connections between defined test pins.
external pulldown resistor 6K8
by noiasca
https://forum.arduino.cc/index.php?topic=666835.0
*/
const byte testPin[] {5, 6, 7, 8, 9, 10, 11, 12};
void setup() {
Serial.begin(115200);
Serial.println(F("\nCabletester"));
for (auto &i : testPin)
pinMode(i, INPUT);
}
void loop() {
check();
}
void check()
{
Serial.prinβ¦
That is to test for open circuit. You can just omit that functionality.
system
Closed
October 14, 2023, 11:46am
11
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.