Skip to main content

I have an MTH Rock Island E-8 A-B-A engine with the full Rock Island car compliment. I'm thinking about putting the whole deal up for sale, but the main headlight on the lead engine was not working. I decided to take it apart and see if I could replace it with an LED. Upon removing the hood, and getting the lamp assembly out, it was quite clear why is wasn't working: the grain-of-wheat bulb was shattered. Don't know when or how it happen since the lid was never off this engine.

First thing I had to do was figure out the applied voltage so I could get the current limiting resistor value. I use a web site LED Series/Parallel resistance calculator to do this. My first measure was 7.5 VDC and I thought that I had figured out the correct polarity. I removed the old bulb remnants from the plastic holder into which it is contained. I figured the resistance value to 270 ohms. I didn't have a 270, but I have 330, which would work and maybe reduce the brightness a bit.

It did work... sort of... I had removed the light control board from the front of the engine, and while having it off the engine, leaned it against the chassis and caused a short since the chassis is ground. It sparked a couple of times, but kept working. But the next moment it touched again and all the lights went out. I thought I blew the out the light board since the motors, directional control and sounds all continued working normally.

The other A unit has a light board too so I opened up that engine and pulled its board. The LED didn't work on it, nor did the other lights so I assumed that the main board had a failure. I took the board to the other unit and plugged all the connectors in, but it didn't work there either. I figured they were both bad and needed to get them repaired before contemplating selling. So I screwed the board back onto the chassis and Voila! The regular lights lit, but the LED did not. It seems that the board must be connected to the chassis since the chassis is part of the ground circuit.

So knowing that the board was okay, I started troubleshooting the LED. I remeasured the voltage and came out to about 6 volts. This changed the resistor value. It was now about 150 ohms. I didn't have this value. I have 100, 330 and 470 which are current limiter values for various arrays with a 12 volt source. But I remembered my Ohms Law from college and realized that putting two 330s in parallel would half the total resistance and it did. I ended up with something a little over 150 ohms. The LED worked off the engine with these values but didn't work when plugged in. So I rechecked what I thought was the polarity in the little blue connector and found that I had the LED wired backwards. I quickly cut and re-soldered the wires and Voila! again. It lit and it was bright.

New Headlight Install

This was with the back A unit's light board in the front A unit. When I installed its light board in the other A unit, none of the lights lit, so I probably did ruin that board. I put the engine on the track and the new headlight is brilliant looks very real. The back unit is dark, but they are usually dark when not in the lead. I need to get another light board for an MTH Proto1 E or F series EMD diesel. Anyone have any ideas?

BTW: that 1975 Pacer you see was like the one that we owned in that year. It was singularly the worst car I have ever owned. Great design for the family, but quality was frighteningly bad. Seriously bad!

New Headlight on

So... really. I do need a new MTH light control board. This engine was sold in the latter part of the 1990s. 

Attachments

Images (2)
  • New Headlight Install
  • New Headlight on
Last edited by Trainman2001
Original Post

Replies sorted oldest to newest

Sure it feels good, but it would have felt better if I didn't lunch that CV board. I found one on MTH's website and it will set me back $43 (inc. shipping) for my carelessness. I'm not used to handling live circuit boards and letting the board touch the chassis was just plain dumb. As somebody always says, "Good judgement is the result of experience, which is the result of bad judgement."

When the board comes in I'm going to convert the other unit to LED also now that I've got it all figured out. Meanwhile I'm going to order some more varieties of resistors from Jameco Electronics.

I also want to convert my only Railking EMD SW switcher to LED constant lighting. I have an old circuit design drawn by Don Grabski about 15 years ago. For the non-directional lighting it uses a bridge rectifier to take roller current and turn it into constant DC to the LED. The engine uses QSI circuits for the motor control and so DC is present, so I'm wondering if I can tap into that for the lighting control. For the directional version it does tap into the motor wiring. There's only one big incandescent on the low nose, but no lighting in the cab end. It would be nice to illuminate that end also. My 2mm LEDs are pretty small and can be put almost anywhere.

Time has passed. Trip to Philly over New Year's and finally back in Louisville. What greeted me was the package from MTH with my new CV board for the lighting control and all the electronic components from Jameco and LED/Switch with the parts to add LED headlights to my RailKing SW switcher.

I chose not to add an LED headlamp to the rear A unit of the E8 lash up. I may still do it now that I know how to handle those CV boards without blowing them out.

The new board went in without a hitch, especially since I did it with the power OFF this time. I'm thinking about selling the entire set (Rock Island E-8 A-B-A engine with five standard cars, two car add-on and super-dome car) since it's getting very little use these days and I use the funds for other projects of which I have many.

Next up will be the conversion to directional LEDs for the SW which I will post in detail to replace what appears to be candle lights unless it's going way too fast.

I built the LED circuit for the Railking engine today. I started with the simpler end, the calf unit since it basically was a set of pickup rollers and one incandescent lamp holder. The circuit, as drawn by Don Grabski, that I used was the non-directional circuit that takes AC from the pickup rollers, rectifies it to DC, smooths out the pulses with some electrolytic capacitors, and then controls the voltage to a steady 3 volts to drive the LED. Not having a circuit or breadboard, I just wired the components together with lots of shrink tubing.

I made the LED bracket so the LED was at the height of the headlight lens using some brass stock. I used an LED lamp holder to support the LED, soldered the negative lead to the brass and the positive lead to the circuit coming from the voltage regulator. I didn't have a 270 ohm current limiting resistor so I substituted a 330 ohm. I would maybe dull the LED a bit, but it should work.

LED Bracket

Here's the original schematic as drawn by Don. All the components listed were purchased at Jameco Electronics. They're well stocked and prices are good.

Constant Voltage LED non

Here's the wiring all completed. All the grounds are tied together and attached to the chassis at the same place the original ground was; under the screw holding the headlight bracket. LED is on the right hand side of the picture. Rectifier is the 4-lead device at the top. I ran out of small gauge black wire so green wires are ground wires. The rectifier is a 2 amp unit. The voltage regulator is the same as the schematic as are the capacitors.

LED Lamp Replace Wires

Now to the problems:

The circuit works. The LED lights correctly and doesn't change with increased track voltage.

LED Light Test 1

But... the circuit breaker on my MTH Z-750 test transformer kept tripping. The bridge rectifier was getting too hot to touch.

I took the chassis to the layout and powered it with my Z-4000 which has significantly more current capacity. The lamp lit and the rectifier got hot and it pulled this many amps at mid-throttle.

LED Test Amps

Something's wrong. A 20ma LED shouldn't be drawing over 50 watts. The rectifier got very hot very quickly. It's not shorting out since the LED works and nothing was smoking. 

Any ideas on what's going on? Bad rectifier? If the voltage regulator wasn't working the LED would show it I believe. and one more thing. After putting the body in place, the amount of light from the headlight lens wasn't enough to justify all the work. I may remove the plastic lens and put the LED directly in the hole. That could work better.

Attachments

Images (5)
  • LED Bracket
  • LED Lamp Replace Wires
  • Constant Voltage LED non
  • LED Light Test 1
  • LED Test Amps

Probably easiest is as you say, cut the connection from the LED "-" going to the brass bracket which is track/chassis ground.  Then run a wire from the LED "-" to the DC ground which appears to be the green wiring.

The CL2N3 is a 2-terminal component (looks like the 78L05) but provides a fixed 20 mA output current without any external components.  While it is a 25 cent component (or so), it can be difficult to find it in small quantity.  You might end up paying $3-4 shipping. 

LED%20Bracket

Attachments

Images (1)
  • LED%20Bracket
Last edited by stan2004
Trainman2001 posted:
...A 20ma LED...

BTW, the circuit schematic you posted (270 Ohm resistor) will not supply 20 mA to the LED.   Less than 10 mA.  That you're apparently using a 330 Ohm resistor lowers the current even more.  If you're a fan of those LED calculators note that you're starting from 5V (from the 78L05) and the LED voltage will be around 3.3V.  So for 20 mA of LED current you need a resistor just under 100 Ohms.  If you only have 330 Ohm resistors stash, put 4 of them in parallel to "make" a ~80 Ohm resistor and that will get you darn near 20 mA.

Jeez! I love you guys! How could we survive without a forum like this? I will make the mods and look up that current device. Simple is already better. I do have some other resistors to try. Maybe that's why the light wasn't as bright as it could be. BTW: is there any reason why the resistor calc shows the current limiting resistor on the negative side of the LED? Does it make any difference which side it's on in a series circuit?

Grabski's schematic is 17 years old. Perhaps an newer design needs to be offered, and I think Gunner has done that.

Trainman2001 posted:

BTW: is there any reason why the resistor calc shows the current limiting resistor on the negative side of the LED? Does it make any difference which side it's on in a series circuit?

No. The main thing is that the voltage drops equal the supply voltage. The calculation is not hard:

Vs = supply voltage
Vr = voltage drop through resistor
Vf = LED forward voltage
I = LED max current
R = resistance

R = (Vs - Vf) / I
Vr = I * R
Vs = Vf + Vr

Example: Vs = 12 volts, Vf = 3.3 volts, I = .02 amps (20ma)

R = (12 - 3.3) / .02 = 435 ohms
Vr = .02 * 435 = 8.7 volts
Vs = 3.3 + 8.7 = 12 volts

Last edited by Consolidated Leo
Trainman2001 posted:

I just ordered 20 of the CL2N3-G LED drivers. That's a great solution since it ignores the input voltage as long as it's over five volts up to 90 V input. On the product literature it seems to show that it has to be DC input.  Is this true? What happens when you drive it with AC?

The diode and cap create the filtered DC required for the CL2. 

I actually knew Ohm's law at one point early in my life. While, the calculations are not easily at hand, I still remember that current is constant in a series circuit and varies in a parallel one, and voltage behaves oppositely. Just as a reminder, when putting in a diode, the side with the line is the output side?

Again, this information is terrific!

One more (final?) question. Is the bridge rectifier wrecked since it was operating in a shorted condition? I have more of them if I have to replace it.

Last edited by Trainman2001

Well, using all the great input and some more trouble shooting, I not only got the Calf's LED to work correctly pulling basically no more amps than the tracks do with nothing running (about .9 amps), I also got the LED to work in the COW using the directional LED lighting scheme also drawn by Grabski. This one takes it's input from the DC running to the motors through a diode, the voltage regulator and the LED with resistor.

I rearranged all the ground wires based on the recommendations and it lit, but then the regulator started smoking. I'm not an electronic maven, but it seems to me that with model trains smoking should be limited to the smoke unit which this simple calf unit does not have. The voltage regulator was getting very hot. 

I had chosen the pin out array by looking it up on the web and thought I had it correctly, but then I noticed that on Grabski's schematic he shows the pin out and I had it reversed. I cut the burned out regulator out of the circuit and replaced it with another, correctly installed, and Voila!, everything works!

LED Replace Calf Test

Notice that I lost the brass bracket. Instead, I drilled out and removed the plastic lens in the loco and drilled out the opening to accept a 3mm LED from inside. The LED is direction and has a lens in front so I figured it would direct a strong beam... and it does! I cleaned up the wiring using some small cable ties and reinstalled the body after pushing the LED into the opening. No glue was needed. Unfortunately, there are no motors or motor drivers in this dummy unit so I was unable to put a directional circuit here. So the calf's light is on all the time.

LED Replace Calf Test Success

And here's the Calf on the layout. The light is brilliant and being warm white matches the color of a real engine's from that era.

LED Replace Calf Done

For the Cow, I had to determine the polarity of the motor leads when the engine was moving forward (long nose first). I put it on the test track and got the unit moving slowly enough that I could get a volt meter on the motor leads and find out the polarity. After building the circuit I temporarily affixed the leads to the motor terminals and tested it. When it worked, I soldered the leads, used some liquid electrical tape on the one hot lead that was exposed at big capacitor, and then cable-tied it all together. I had already drilled out the headlight housing to accept the LED.

LED Replace Cow Wiring

I put it on the track, but unfortunately, this light is directional and only turns on when the engine is in forward. This meant I had to try and photograph it while it was moving. This was the best shot I got...a blurry mess...but it shows a very bright and directional head light. The light does not vary from crawl to full speed.

LED Replace Cow Test Success

I've ordered from Arrow Electronics that LED drivers. These seem to be terrific little devices that negate the need for resistors to limit current AND the need to worry about supply voltage as long as it's 5 or more up to 90 volts. LEDs could then easily be driven from the AC accessory outputs from the transformer, or any type of AC converter without worrying about a collection of matching current limiting resistors (although I have a ton of these and just ordered more). The LED drivers were cheap ($0.34 each) so I bought 20 other for a little more than $6.00.

Again... thanks all for all the great input.

Attachments

Images (5)
  • LED Replace Calf Test
  • LED Replace Calf Test Success
  • LED Replace Calf Done
  • LED Replace Cow Wiring
  • LED Replace Cow Test Success

Add Reply

Post
×
×
×
×
Link copied to your clipboard.
×
×