# wiring testing tool

**URL:** <https://forum.arduino.cc/t/wiring-testing-tool/182523>\
**Category:** General Guidance\
**Created:** [September 9, 2013, 9:20pm UTC](https://forum.arduino.cc/t/wiring-testing-tool/182523 "2013-09-09T21:20:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [September 9, 2013, 9:20pm UTC](https://forum.arduino.cc/t/wiring-testing-tool/182523/1 "2013-09-09T21:20:36Z")

</div>

hey everyone,  
i'm new in all arduino buisness.  
i want to build a tool that will check up to 128 pins plug and says:

1. if the wire is short
2. if there is a disconnection in the wire
3. if the wire is shorted to another wire  
i want to to inteface with a keypad and a 4X20 LCD screen..  
ask for your help with which hardware should i work (UNO r3, i/o expansion, which LCD, keypad)  
with which functions i should work.  
thank u for your help

---

<div class="post-metadata">

**Author:** ![Grumpy\_Mike](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/grumpy_mike/32/213521_2.png) [@Grumpy\_Mike](https://forum.arduino.cc/u/Grumpy_Mike)\
**Post date:** [September 9, 2013, 9:49pm UTC](https://forum.arduino.cc/t/wiring-testing-tool/182523/2 "2013-09-09T21:49:43Z")

</div>

I assume there is a 128 pin socket as well, that gives you 256 lines to test for continuity and shorts.  
That will require 32 shift registers which is a lot. While it is only a medium level project it is not one for a beginner. Scaling up often brings its own problems.  
You will need 16 output shift registers and 16 input ones, a UNO will suffice and any key pad and LCD.

---

<div class="post-metadata">

**Author:** ![jackwp](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@jackwp](https://forum.arduino.cc/u/jackwp)\
**Post date:** [September 10, 2013, 12:41am UTC](https://forum.arduino.cc/t/wiring-testing-tool/182523/3 "2013-09-10T00:41:43Z")

</div>

> 1. if the wire is short
> 2. if there is a disconnection in the wire
> 3. if the wire is shorted to another wire

Please define the difference between #1 and #3.

Are we to assume that you want to know which wire(s) is bad so you can repair it?  
Do you also need to know which end of the wire is bad?

Dejavu

---

<div class="post-metadata">

**Author:** ![CrossRoads](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/crossroads/32/214033_2.png) [@CrossRoads](https://forum.arduino.cc/u/CrossRoads)\
**Post date:** [September 10, 2013, 2:38pm UTC](https://forum.arduino.cc/t/wiring-testing-tool/182523/4 "2013-09-10T14:38:57Z")

</div>

128 wire = 16 shift-out and 16-shift in with pullup resistors, not too unreasonable.  
Shift-out - pull 1 output low at a time, check that corresponding input goes low and that no others do.  
Test confirms continuity of 1 line and no shorts to other lines.  
Commit 4 pins to output shift register/input shift register.  
2 pins for serial LCD  
[http://www.newhavendisplay.com/serial-displays-c-253.html](http://www.newhavendisplay.com/serial-displays-c-253.html)  
Browse around, many of the other displays support serial also, they just cost more.  
Or go with SPI interface, just need another chip select pin.

7 or 8 pins pins for 12 or 16 button keypad.  
2 pins for serial monitor for initial debugging.  
Leaves 4-5 pins free on an Uno for other stuff - alarm sound, flashing light, etc.

---

<div class="post-metadata">

**Author:** ![Paul\_B](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/paul_b/32/216376_2.png) [@Paul\_B](https://forum.arduino.cc/u/Paul_B)\
**Post date:** [September 11, 2013, 12:19pm UTC](https://forum.arduino.cc/t/wiring-testing-tool/182523/5 "2013-09-11T12:19:44Z")

</div>

Note as in the other recent discussion on this matter, that you need to use open-collector outputs (or diodes) on the output shift registers in order to avoid contention in the actual case of a shorted test device.

> CrossRoads:  
> Commit 4 pins to output shift register/input shift register.

Interesting point - you can shift next output register value into the shift register _simultaneously_ with shifting the current value from the input register.

---

<div class="post-metadata">

**Author:** ![CrossRoads](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/crossroads/32/214033_2.png) [@CrossRoads](https://forum.arduino.cc/u/CrossRoads)\
**Post date:** [September 11, 2013, 12:34pm UTC](https://forum.arduino.cc/t/wiring-testing-tool/182523/6 "2013-09-11T12:34:30Z")

</div>

Exactly - SPI is wonderful.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 5, 2021, 4:58pm UTC](https://forum.arduino.cc/t/wiring-testing-tool/182523/7 "2021-05-05T16:58:19Z")

</div>

Closed on May 5, 2021, 4:58pm UTC


