Installing a DCC decoder for the first time can be a daunting task. After you've done a couple, it will be like second nature. This guide will help you through the process. However, if this documentation is in conflict with the documentation provided by the decoder, please follow the decoder installation directions.
- 1 Outline
- 2 Select a Decoder
- 3 Installing the Decoder
- 4 See Also
- 5 External links
- If the chosen locomotive runs poorly on analog power, installing a DCC Decoder will make no difference. Correct the drivetrain problems before conversion.
The following outlines the process for installing a DCC decoder.
- Determine the locomotive's stall current
- Determine where the decoder will fit in the locomotive/rolling stock
- Select a decoder
- Determine if there is a socket for decoder and select a matching decoder
- Select a decoder that fits inside the body shell
- Has the required current rating
- Isolate the motor from the track pickups
- Install the decoder along with wiring for any extra effects
- Test the completed installation.
If you have a locomotive destined for the EU, please read this on their RFI Suppression Circuit.
Measuring the Stall Current
- You will need a meter (a multimeter or an ammeter) that can measure DC amps.
- Connect the DC ammeter in series with your analog power supply and the tracks (see picture on right). The ammeter is wired to measure all the current flowing in the circuit. Be sure to use the terminals marked "Track" or consult the instructions for the power pack if you are not sure. Do not use the "Accessory" terminals as they are alternating current.
- Set the meter on the DC Amps scale, and set the range if needed. If the meter isn't autoranging, use a high range first to determine the range you need. It may also require connecting a lead to a specific terminal. Be aware that some ammeters may not have a fuse in the circuit for certain ranges.
- Grasp the locomotive so it doesn't take off and turn the power pack to full.
- Push down until the motor stalls (stops) and note the current. This is the stall current. Do not allow the motor to stall for more than 5 to 10 seconds. Doing so can cause damage to the motor, or other electrical components of your locomotive.
Plan the Installation
Determine Where the Decoder Will Fit
Decoder siting is often the the most difficult problem to solve during the decoder installation. The decoder needs to be located in a place meeting several criteria:
- There must be room for a decoder
- Is it away from heat sources, such as incandescent lamps or the motor?
- It should ideally have free air around it for cooling
- Without proper cooling, the decoder could overheat and be damaged. Some decoders have thermal protection to prevent this - it will simply shutdown.
- It should ideally be invisible from outside
Finding room for a decoder is unsurprisingly easier on larger models, and becomes more and more difficult as the scale size decreases.
Ideally, the decoder should be located in the same area of the loco as the motor and pickups. It is possible to place the decoders in the tender of steam locomotives if needed. Some people have been successfull at installing decoders in rolling stock and permanently coupling it to the loco. However, this should be a last resort as you will want to change rolling stock in the future.
If a sufficiently large area cannot be located inside the locomotive, it may be possible to create space by removing some of the material from the body or chassis. If the installation appears marginal, try assembling the model with plasticine or blu-tack in the space being considered to find out how big it is with all the parts in place.
"N" and "Z" gauge models are considerably more difficult than say "G", but there are some small decoders available now. However, it is likely that material will need to be removed, though. See below for specific scale information.
Select the largest speaker which will fit. If that isn't possible, two or more smaller speakers will perform the same. Larger speakers have better low frequency response, and can produce louder volume, for a better sounding locomotive.
A proper enclosure/baffle is needed to optimize the sound quality. A poor baffle, or none at all, results in poor or weak sound.
The Enclosure should fit the speaker. Too small and the sound will be muffled, and frequency response suffers as well.
The ideal size is one based on the size of the speaker. There should be a cubic relation between the dimensions of the speaker and its enclosure. For example, a speaker measuring 1" should have a 1 cubic inch enclosure, or 1 X 1 X 1" in dimension.
The enclosure should be stiff to reduce or eliminate resonances, and securely affixed to prevent distracting vibrations.
Motive Power Considerations for Sound Installs
Steam provides a tender, which can solve several problems: Decoder location, airtight enclosure, and easy locating of the speaker.
For the best sound, the speaker cone should face out in free air. This can be done either through the coal load, or the floor of the tender. A baffle can be constructed if needed. The coal could be perforated with small holes to allow the sound to escape, or a hole can be cut into the floor.
The decoder will be, by necessity, installed in the carbody. Avoid locating it on top the motor, for temperature considerations. Locate it where possible in an area where airflow can help cool the decoder. Speakers are often installed in the fuel tank, or under the roof top fans. Again, a baffle is required for optimum sound quality.
Select a Decoder
Once the stall current has been measured and the available space has been found, you can now move onto selecting a decoder. There is alot of information available on various decoder sizes and specifications. You can see a local comparison list of decoders, however since it's brand new, it's not anywhere near complete. You can also find information on various manufacturers' websites, as well as other DCC related websites.
Many decoders are made to go into a specific locomotives for a particular scale. Please see the scale specific article below.
However, it is possible (and in fact many model railroaders follow this practice) to use an N scale or even a Z scale decoder in an HO gauge locomotive. As long as the current rating of the decoder meets the minimum requirements of the locomotive (most newer HO locomotives have a rating of 1 amp, as do most decoders currently in production) then there shouldn't be any difficulties using a smaller scale decoder. Because larger scales (O, S & G) have a higher current rating only decoders made for these scales should be used.
The decoder mandatory requirements are that it must have an adequate current rating (i.e. can supply the stall current continuously) and that it will be small enough. There are however other considerations to take into account:
- Are any "accessory" outputs required? Most decoders can control one or more accessories - e.g. lights, windscreen wipers, uncouplers, sounds.
- How many speed steps are needed?
- The original DCC standard specified 14 steps: however the steps between these are too obvious. 28 steps are commonly available, but at low speeds can be discerned. Some systems offer 128 steps, which appear "stepless" to most people.
A number of locomotives offered for sale are advertised as DCC Ready. This term can mean several things.
Being DCC Ready could mean that the motor is already isolated from the frame, meaning you will not have to isolate it prior to installing a decoder.
It can also mean that the locomotive is equipped with a socket that makes with an eight pin connector. Simply remove the shorting plug and plug in a new decoder.
Some locomotives may have a light board with connection points for a decoder, cutting a couple of traces will disconnect the motor and lighting from the track pickups. The PCB can be left in and used as a connection point, or removed. The internal wiring is usually not soldered to the board, making removal easy.
Isolating the Motor
The motor must be completely isolated from all track pickup points. If the locomotive has a built-in command control socket, (usually advertised as DCC Ready) the motor is already isolated and should be DCC ready at this point.
Checking Motor Isolation
An older model or one without a NMRA socket requires that you find and eliminate all connections between the motor brushes and track pickups. Typically, this is the biggest problem people have when they first get into DCC. Diesel locomotives are fairly straightforward, but with brass steam engines the mechanical pickups can be quite ingenious and well hidden - and may take some time and work to get these units DCC ready. Some models will have a circuit board that routes power to the motor and the lights. You may need to cut a couple of traces to disconnect the motor from the power source. Check the instructions that came with the locomotive.
Verifying the wiring, and the motor isolation checks require an ohmmeter. A simple analog or digital MultiMeter will suffice. Set your meter on the Ohms (resistance) scale and touch both probes together. The meter will indicate a short (0 ohms), and will test your meter (and its battery) for proper operation.
The first test should be to determine that the wiring is correct and functional. Touch one probe to a motor terminal, follow the wire, and the other probe to the truck or wheels it connects to. Check both trucks if the locomotive has "all wheel" pickup. Do the same for the other motor terminal. Correct any wiring problems, such as bad connections or cold solder joints, then proceed to disconnect the motor leads from the power source, as per the decoder and locomotive maker's instructions.
To verify electrical isolation, you will need an ohmmeter. Set your meter on the ohms (resistance) scale and touch both probes together. The meter will indicate a short (0-ohm), and will test your meter. You don't want to see this when you're checking for motor isolation. If you do, it means the motor is not isolated.
Place one of the probes on a brush or power terminal on the motor, then touch the other probe to the chassis or right rail pickup wire, then move to the left rail pickup wire. If the motor is isolated you will read an open circuit on the ohmmeter. Move the probe to the other brush and repeat. If both tests indicate an open circuit, the motor is isolated and you can safely proceed with decoder installation.
Installing the Decoder
Before installing a decoder, especially if you haven't done this before, please read the pages on Soldering and ESD Protection. It is vital to have the correct type of solder, the appropriate flux, and a soldering iron/station suited to working with electronic devices.
Connecting the Motor
Reference: NMRA Electrical Standard S-9
II. CONTROL A. Direction control by polarity reversing shall be provided. Positive potential applied to the right hand rail shall produce forward motion. (3)
(3) The term "right hand rail" as used herein means the rail to the right of the observer standing between the rails with their back to the front of the locomotive.
Make note of the wire which connects to the pickups on the right side of the locomotive (where the engineer sits). The motor terminal it connects to is the POSITIVE (+) terminal, which is connected to the ORANGE wire from the decoder.
Lighting can be done using incandescent lamps, or LEDs. Many decoders have track voltage outputs for their lighting, so appropriate wiring is required.
Tips for Incandescent Lamps
When using 12-16V bulbs, nothing additional is needed. However, incandescent bulbs have a surge current when cold, up to 10 times their rated amperage. For example, a 40ma bulb can have up to a 400ma surge current when turned on cold. This probably won't kill the decoder on the first turn-on, or even the second, third, or three hundredth, but it will wear on it, and could damage it in the long run. To limit the current add a 47 ohm resistor in series. This isn't enough resistance to dim the lamp much, it will limit the surge and help protect the decoder. If you can add more than 47 ohms without dimming the bulb below your requirements, so much the better.
If using Light Emitting Diodes, every LED shall have a series resistor to limit the current. The series resistor can be installed on the anode or cathode side.
Testing the Decoder
Decoder Testers are available which allow you to test the decoder prior to installation, and even configure it first.
Use a program track the first time you test the installation. The program track limits the current, so a miswired decoder won't be destroyed by a short circuit.
Although the above information can be used for all scales, here's some information specifically for vararious scales. Articles include DCC decoder selection tips for various locomotives.
One issue that can cause problems is RailCom being active. Some decoders are not compatible with RailCom. Turning that feature off in your command station usually solves the issue. If you wish to use RailCom on your layout, select decoders which are compatible with RailCom.
- Mobile Decoder Install List - List of decoder installation documents.
- Hardwired Decoder - Wire colour codes and functions.
- NMRA DCC Plug - Standard pin assignments.