Before you start
Converting a locomotive from DC to DCC means installing a small circuit board called a decoder. It is a manageable job for a beginner who is patient, but it involves delicate parts and sometimes soldering, so go slowly. You will typically need:
- a decoder suited to your locomotive;
- small screwdrivers, tweezers and possibly a soldering iron with fine solder;
- heat-shrink tubing or insulating tape;
- a multimeter;
- a programming track or a way to test the locomotive on DCC;
- the locomotive’s manual or exploded diagram, if you have it.
Work on a soft mat so small parts do not roll away, and photograph the wiring before you disturb it.
Step 1: Identify the type of locomotive
First, confirm that your locomotive is a DC model without a decoder. See how to tell if a model train is DCC or DC if you are unsure. Then look inside:
- DCC-ready (with a socket): the locomotive has a standard socket such as an 8-pin, 21-pin or Next18. Installation is typically plug-and-play.
- Hardwire (no socket): the motor and lights are wired directly. You will need to wire the decoder in.
Step 2: Choose the decoder
Match the decoder to the locomotive in these ways:
- Physical fit: check the space available and, for sockets, the connector type.
- Current rating: the decoder should be rated at least a bit above the motor’s maximum current. Older motors can draw more current than newer ones, especially when stalled. If the motor’s rating is unknown, measure it with a meter or choose a decoder with some margin.
- Features: basic decoders are fine for simple operation, while others add sound, more light outputs or better motor control.
- Scale: many decoders are made specifically for N, HO or larger scales.
Check the manufacturer’s information rather than guessing.
Step 3: Plug-and-play installation
- Remove the shell following the manufacturer’s instructions.
- Remove any blanking plug or dummy board from the socket.
- Check the orientation, with pin 1 marked on both the socket and the decoder. Insert the decoder gently.
- Make sure no wires or contacts touch the frame.
- Go to the testing step.
Step 4: Hardwiring
Isolate the motor
On most DC locomotives, one of the motor’s terminals is connected directly to the frame or a contact. A decoder must control the motor, so both motor terminals must be electrically isolated from the frame and the wheel pickups, or the decoder can be damaged.
Look for brushes, tabs or springs that touch the frame, and use the manufacturer’s instructions to disconnect them. Insulate with tape, a plastic sleeve or a replacement motor mount if needed. With a multimeter, test continuity between each motor terminal and the frame to confirm they are separate.
Connect the wires
Most decoders follow a standard wire color code:
| Color | Connects to |
|---|---|
| Red | Right-side rail pickup |
| Black | Left-side rail pickup |
| Orange | Motor, right-side terminal |
| Gray | Motor, left-side terminal |
| White | Headlight |
| Yellow | Rear light |
| Blue | Common positive for lighting (on decoders that provide it) |
“Right” and “left” are as if you are looking forward in the direction of the locomotive. Check your decoder’s instructions, as some brands differ.
Keep wires as short as practical, tuck them in neatly so the shell closes without pinching, and cover any bare joints with heat-shrink tubing.
Lights
Many older locomotives use incandescent bulbs rated for higher voltages, and these can be damaged or run very hot with a decoder. Consider replacing them with LEDs and a suitable resistor, following the decoder’s instructions.
Step 5: Test before reassembly
Place the locomotive on a programming track or a short piece of DCC track, with the shell off:
- Power up the system and check that there is no short.
- Read the locomotive’s address if your system allows it, and check that the system responds.
- Run at low speed in both directions.
- Check the lights switch correctly with direction.
If the system detects a short or the locomotive does not respond, switch off and recheck the wiring and motor isolation before continuing.
Step 6: Programming the address
New decoders usually have a default address, commonly 3, and it is better to give each locomotive its own address. Many people use the road number. Use your command station’s instructions and the programming track to write the new address. Programming other settings (CVs) such as top speed and acceleration can be done later.
If you are not sure how the track is powered, see how to power a DCC track.
Troubleshooting
- Locomotive does not move: recheck motor wiring and isolation, and make sure the pickups touch the rails.
- Locomotive moves in the wrong direction: swap the orange and gray motor wires, or change the direction setting in the decoder if it has one.
- Short circuit on power-up: a motor terminal or wire is probably touching the frame.
- Jerky running: clean the wheels and track, then check the connections.
When to ask for help
If the locomotive is valuable, or you are uncomfortable with soldering, a hobby shop or experienced modeler can often do the installation. Practise on an inexpensive locomotive first. For a bigger overview of how decoders fit into the layout wiring, see the model train track wiring guide, and for a decision on whether DCC is right for you, see DCC vs DC for beginners.