I then added sound.
Rather than step by step as before, I'll just show the finished product.
And note the changes from past experience.
My first set used an ESU Nano with the NEXT18 interface and space was REALLY tight.
Now that the Nano comes in an E24 interface, space is much more reasonable.
The Nano lays flatter. I can also pop it out if I want to run the loco in analog mode for repairs or tuning.

You'll notice this project looks a lot cleaner and simpler than before.
Here is the front headlight board. Instead of supergluing the board to the gearbox, I drilled and tapped the gearbox and secured the board with tiny M1.2 screws.

The board over the motor is secured by the motor tabs themselves. You can see the DCC color coding. The red wire is the jumper from the front gear box which is right rail only.
The rear board is much cleaner now. I used a six-prong socket instead of two sockets as before.
You can see that I drilled and tapped screws for this board also- but I realized that I can draw power through these screws with no jumper wire. So I drilled on the left side of the gearbox since this rear gearbox is the left/black rail.
So on the board, from top far side to bottom near side you see:
black- sending power both to the B unit by socket but also forward for the decoder.
gray motor
green speaker (remember that if you're going to run two speakers, they must match polarity- thus the green wire).
brown speaker
orange motor
red

And lastly, I cut the channels for the wires a big larger than before. Once again, since I broke thru the chrome plating, I sealed it back with solder.
