The basics of the test rig is a piece of Vero-Board easily obtainable from electronics suppliers such as RS Components, etc along with the other parts required.


Onto this board is fixed a motor gearbox unit to provide a load on the decoder to allow programming as well as indicate direction, a socket to easily connect the decoder to the rig, quantity 4 x LEDs (5mm diameter) of various colours, quantity 4 x 1K resistors and 3 x 2-pin cable connectors I already had.


You will also need a few short lengths of equipment wire to act as board links.


This is the circuit diagram:
















 










This the Vero-board - note where the tracks have to be cut. The diagram shows the board from the component side, so you have to take care cutting the copper traces in the correct place on the other side:


















After cutting the copper traces, solder the 2 pin cable connectors and the 8-pin decoder socket to the board as shown, with the Pin-1 (orange) to top left corner and then solder on the four LEDs and their respective 1K resistors. Label the LEDs as to their purpose if thought necessary.


I used single colour white and red LEDs to simulate the locomotives front and rear directional lighting respectively (under control of decoder Function-0, switched by decoder white and yellow wires). Note there is no white wire on the vero-board as this is a direct copper trace from the decoder socket to the resistor. You could use bi-colour white/red LEDs to fully simulate directional lighting if you can find common anode type required for DCC use, but this will require modification of the board to suit.


A green LED simulates decoder Function-1 (switched by the decoder green wire) and a yellow/amber LED is used to simulate decoder Function-2, but you could use say a blue one (switched by decoder purple wire).


The decoder blue wire (+ve) is fed in common to the anode side of the LEDs. There is a connector on the board to allow the free purple wire of a decoder to be easily attached for testing as this does not go through the standard 8-pin plug.


Connect the motor gearbox unit to the board using the connector. This allows you to easily disconnect the motor gearbox and connect any other decoder controlled device you want to test for your layout, such as a signal, light, windmill, or fairground ride, etc.


Solder on all the link wires and connect a pair of fly-leads that will be used to attach the test rig to your DCC controller track power terminals. Mine has croc-clips on the ends to attach to a rolling road track, but you can have any termination ends that suit your controller.


Initial Setup:


Install a known good decoder to the 8-pin socket and connect the test rig to your DCC controller PROG terminals.

Using your DCC controller initialise the decoder to its basic default settings by writing value 8 to CV8 (Hornby and some other decoders). This will set such things as speed steps, lighting functionality and motor direction to default normal.


Now switch the test rig to the TRACK terminals of your decoder and then run the loco in a forward direction. Mark the motor gearbox unit FWDs to accord with this direction. My gearbox output shaft has an old model car wheel mounted to it marked to more easily show movement.


Check by selecting F0, F1 and F2 in turn that the LEDs light up in the correct sequence and logic. I.e. white LED lights up when F0 is selected and locomotive is  going forwards, red LED lights up when reverse is selected. Green lights up when F1 is selected and yellow lights up when F2 is selected.


The test rig is now normalised and when you plug in a new decoder or one you want to test you know that the direction of the motor and the logic of the LEDs is correct and you can therefore easily check the new decoder. At the same time you can give it its new address and check such things as sound functions work correctly.



© Rob’s Rails 2015

ROB’S RAILS            

Article 4 - Make a DCC Decoder Test Rig                      

This article details how to make a simple test rig so that you can carry out pre-install checks and programming on your 8-pin DCC decoders.


Robs Rails My Railways Gallery Articles DCC Downloads Teardown Reports Product Reviews Wiring Diagrams Contact Me Coming Next