About LEDs & DCC Decoder Installations
Last updated 240505
Lighting is a very powerful feature of DCC and should be taken full advantage of.
LED's have become the light of choice for most modelers and for good reason. They are brighter than incandescent bulbs. They will last thousands of hours longer than incandescent bulbs. They operate at a significantly lower temperature than incandescent bulbs. And most important, LED's are really much easier to install on DCC-equipped engines, rolling stock and layouts when compared to incandescent bulbs.
With respect to model railroading and specifically DCC decoder installations, LEDs are connected to a function output to provide on/off control and to add special lighting effects to locomotives and rolling stock that were virtually impossible in years past.
It's a crying shame to waste a function output so lets discuss how to "light 'em up!"
LED Color
The biggest complaint and argument presented for not using an LED is color. A locomotive headlight has a nice golden white hue to it. Here is a picture I took to use as a reference for color-matching LED's.
There are now several options available for matching this color. The LED color is often referred to as Warm White or Sunny White. LED color is measured by the dominant wavelength. The type of Warm White LED's I use and offer for sale have a dominant wavelength of 3500mm. Here is a I picture I took of this type of LED installed in a pair of N scale Atlas Dash 8-40C locos. I am pretty happy with the color match.
LED's come in many other colors as well. Red, green, yellow and blue are particularly useful for modeling applications. Most reds, yellows and blues are pleasing to the eye. Green can be tricky however, especially for signaling. But again, wavelength is the key. A good "signal" green wavelength is around 507mm.
LED Types
LED's came in many shapes and sizes. Some of the most popular sizes used in model railroading are:
Representative samples of the 0603, 0805, and 1206 types are pictured here. Notice their size compared to the President's ear.
Radial and Axial Lead Types
Some of the most popular sizes used in model railroading are:
LED "Dropping" Resistors
Most model railroad applications of LEDs require a "dropping" resistor.
LEDs are rated by Forward Voltage at max milli-amps (fV@mA). This is the maximum voltage that can be safely applied to the LED to produce maximum brightness and the amount of power it will consume at that brightness.
Forward Voltage is the spec we need to worry about. Milli-Amps simply tells us how much of our available power the device will consume.
Forward Voltage is adjusted by adding a "dropping resistor" to reduce the input voltage to a safe working level.
For example, the rated output of your command station is 14.5V at the rail. The LED is rated at 3.2fV. We need to reduce the voltage by 11.3V to prevent damage to the light.
The exact formula looks something like:
R = (VS - VF) / I
where:
R = Resistor Value (Ohms)
VS = Supply Voltage (Volts)
VF = LED Forward Voltage (Volts)
I = LED Current (Amps)
In model railroad applications, maximum brightness is not necessary. Safe operation on any layout, maximum life for minimal maintenance and replication of the headlight effect are the most desirable characteristics.
Generally speaking, a 1000 ohm resistor will protect the LED on any Z, N, or HO layout. This is my default size as it accomplishes all of me primary goals.
A 1k resistor will protect a 3.2fV LED up to about 21V Supply Voltage. At 21 volts, we could match the scale speed of the record setting 385 mph run of the French TGV!
Adding a higher-value resistor will make the LED dimmer. This is effective for marker and passenger car lights where dimmer is usually better. I usually keep 1k, 5k and 10k resistors available for adjusting brightness. The only limit to adding resistance is when the LED will no longer produce light.
The by-product of adding resistance is heat however. It is important to size the resistor properly so as not to generate excessive heat that might damage your shell or create other problems.
Again, the exact formula looks something like:
P = I² × R
where:
P = Power (Watts)
I² = LED Current (Amps)
R = Resistor Value (Ohms)
Doing the math, that 1000 ohm resistor will disipate 0.128 Watts of power when used with a 3.2fV LED at 14.5 Vs.
Generally speaking, a 1/8 or 1/4 watt resistor will protect the LED on any Z, N, or HO layout. This is my default size as it accomplishes all of me primary goals. The larger the value, the cooler the resistor will operate.
Of course, the easy way to experiment with this is to use any one of a thousand online calculators to see the effect of resistance on current and watts.
Here is a link to one of my favorite resistor calculators:
The Best Current Limiting LED Calculator
So, bottom line... This is why I supply a 1000 ohm 1/8 or 1/4 watt resistor with all of the LEDs I offer. It is a safe value for model railroading applications. A higher ohm rating will make the LED operate dimmer. A higher watt rating will make the Resistor operate cooler.
LED Wiring Basics
LED's can be wired up using new wire, scraps of excess decoder wire, magnet wire, or even by using the existing circuit boards already in the locomotive.
Of course, you always get these pre-wired from SBS4DCC.com if you don't have the time or desire to try it.
Using the existing board is one of the best techniques since the board is securely mounted in the frame and it makes a nice platform to support the LED. It also creates a convenient place to connect the track power inputs of the decoder.
LED Wiring Diagrams
Wiring a single LED to a decoder is pretty straight forward. Connect the common (blue) wire to the anode (a) and the function (white, yellow, etc.) wire to the cathode (k). Be sure to include a dropping resistor in the circuit. It really doesn't matter which side of the LED it is on. I like to put the resistor on the cathode (-) side. There is typically a separate wire for each cathode so it serves as a nice "double check" to make sure I did not forget it.
Multiple LEDs on connected to a single function can be wired in Series or in Parallel.
Wiring in series is always the preferred method because an equal amount of current passes through each LED. This means that all of the LEDs will glow at the same brightness. Generally, there is a limit of three or maybe four LEDs per rung when wired in series because there is not enough voltage to drive the circuit.
It is also possible to add an "anti-flicker" capacitor to your lighting circuit without making any board-level modifications to the decoder. Just remember that you have to do this to each function so space can be a big issue.
LED Installation
Installing the LEDs in the shell is probably the hardest part of the process.
So that's that.
There is a lot of technical detail to selecting and installing LEDs. Don't get bogged down in the details of the engineering and design.
Just focus on the basics of resistor selection and mounting and your locomotive headlights will be simply brilliant.
- Use warm-white or bright-white depending on your preference... It's your loco!
- Select the best size and shape for the application
- Use a minimum 1k ohm 1/8 watt dropping resistor. Use 1/4 watt whenever possible.
- Wire multiple LEDs in series whenever possible, in parallel only when necessary.
- Mount to the frame if possible and to the shell when necessary.
- Use Kristal Kleer and Liquid Electrical Tape as mounting aids.
Be sure to visit the store to see our full line of LED Lighting products today!
Soldering Magnet Wire To Surface Mount LEDs