Use Ohm's Law to calculate the resistor required. Ohm's law is I (Current) = E
(Delta Volts) / R (Resistance). In this example we will use a bulb
current rating of (50 ma or 0.050 amps) and we can get the Delta
Voltage by subtracting the rated bulb voltage from the decoder output
voltage. If you have your DCC track voltage set to HO, then the
locomotive decoder function output voltage will be roughly 10 - 12
volts DC. If the bulb is rated for 6 volts, then the delta voltage
between the decoder function output voltage and the rated bulb voltage
is 6 volts. Therefore, we do a little algebra and solve for R
(Resistance) and we get R = E / I. In our example R = 6 volts / 0.050
amps or R = 120 ohms. Next, we need to calculate the power rating of
the resistor and we use P (Power) = E (delta volts) * I (current) = 6 *
0.050 = 0.3 watts; therefore use the next larger resistor power
rating, which would be a 1/2 (0.5) watt resistor. So our resistor
selection for this bulb example will be a 120 ohm 1/2 watt resistor.
If you don't know the rated bulb voltage, then you can find it by
stacking up normal AA, A, C, or D cell batteries in series until you
get to the bulb brightness that suits your needs since each battery has
a constant voltage output of around 1.5 - 1.6 volts when brand new. In the
case above, it would take 4 batteries placed in series to get to
~6-volts. Maybe have a helper hold the batteries stacked together
while you touch the bulbs leads to the opposite ends of the battery
stack. You'll know you have reached the rated voltage when the bulb is
nice and bright, so don't go any further or the bulb will turn into a
one-time use flash bulb. Also remember that these little incondescent
bulbs last A LOT longer if you run them at a lower voltage then they
are rated for so if you want to run them at a lower voltage, just input
a greater voltage delta value for E in the formula above, say 7 volts,
in the above example, and the bulb will have a lower net voltage coming
to it and last significantly longer, but it will burn slightly dimmer too. If you
have a multimeter, then you can then measure the bulb's current by placing
the meter in series with one of the bulb's leads when the bulb is
running at the rated voltage in your battery test above.
Scott K.
Austin, TX