I have an old steam locomotive with a headlight that brightens with the speed of the engine. How does one install constant-brightness headlights like John Allen had-----and----a glowing red bulb in the firebox??? 

i was wondering if i can use a 3mm ultra bright led with a 1k resistor in placeof the bulbnachoman said:this is actually pretty simple. Here are some ways to do it:
You are going to nead a constant voltage to your bulb in order to get constant brightness. A resistor won't do the job because the output voltage is proportional to the input voltage, which varies as the throttle setting is moved. This would only make the headlight dimmer, but it would still be brightest at higher speeds and dim at low speeds. The easiest way is to use an arrangemets of diodes. Diodes step down a voltage by about 0.7v no matter what the input voltage is. pair two diodes in series and you now have a voltage drop of 1.4v - perfect for a 1.5 volt lamp.
you can buy diode constant lighting circuits with instructions at most hobby stores, and that might be easiest if you have little electronics knowledge. Or, you can buy the components yourself. You will need someting called a "bridge rectifier" (an arrangement of 4 diodes in one casing) and a 1.5v bulb. First, replace the headlamp with a 1.5 volt bulb. next, bend (+) and the (-) leads of the bridge rectifier together and solder. you will have the two free leads marked (~). This effectively creates a circuit that steps down voltage 1.4v no matter what the polarity of electricity is applied. In your locomotive, you need to create a circuit similar to this:
xxxxxxxxxxxxxxxxxxxxxxxxx _____lamp______
wheel contact____motor___|__bridge rectifier__|___wheel contact
I hope the crude diagram shows up. Ignore the x's, I had to use them as spacers to make the diagram show up. The way it works is the rectifier creates a voltage drop of 1.4 volts from one lead to the other, and keeps the lamp power at that voltage. It will also reduce the voltage to the motor by 1.4v and cause it to run a teeny bit slower, which is usually a bonus rather than a problem.
kevin
johnnyb1216 said:i was wondering if i can use a 3mm ultra bright led with a 1k resistor in placeof the bulb