I realized a side effect of my recent upgrades on my test bench. When I use the ESU LokProgrammer on Track 1 or 2, the signal goes into the Arduino and starts the DCC-EX command station, and then it is a big mess! So the power switch to the Arduino was not enough.
For a while, I disconnected the track connectors from the Arduino, but it makes it cumbersome to put them back when I want to use JMRI since they are enclosed in a box.
I purchased a 4PDT switch to cut both wires from both tracks; probably an overkill ...
Then, it's pretty easy wiring.
 |
Before |
 |
Wires to the tracks
|
 |
Wires to the Arduino
|
 |
Reused an existing hole for the switch
|
 |
The hole is a bit too big, but it works
|