Test tool for Loconet-wireing
This page exists mainly for historical reasons. If you want to build a
new tester, it is advisable to use Olivers or Bernds design, as they find more
errors than this one.
In the hope that a test tool will help debuging Loconet as well
as the former test tool for the DC-wireing helped,
Martin Pischky
and
Stefan Bormann developed:
How does it work?
The processor (PIC 16C84) drags one of the 6 outputs to low and keeps
the other 5 ones in high impedance mode. On the input side the weak
internal pull-ups are enabled and the 6 inputs are polled.
A wrong input being low implies a short. The right input being high
implies a broken wire. In case any of those two errors are detected,
the program immediately branches to display mode.
Wenn all 6 outputs are processed like above, the device displays "ok"
Result
| Display
|
Broken wire
| red
|
Short
| red flashing
|
everything ok
| green
|