Skip to main content

I have a couple of MTH dual traffic light sets (30-1089-2) which I would like to control based on super streets traffic flow.  The traffic lights are LED's with an MTH controller which provides fixed period light pattern changes.  My question is there a simple traffic detection interface I could add to control the lights using the MTH controller ?  If I were to use detection sensors and custom logic the traffic lights could be controlled but I don't understand the interface between the MTH controller and traffic light LEDs.  What voltage/current to apply to the LEDs and where are the dropping resistors located, in the controller or in the traffic signal ?  Any help would be appreciated.  Thanks in advance.

Original Post

Replies sorted oldest to newest

To be clear, are you trying to

a) control the lights "based on super-streets traffic flow."  For example, near me there are traffic signals which automatically turn red when a train approaches a grade crossing near the intersection.

or,

b) control super-street flow based on the traffic lights.  This sounds like what the relay method would do if you're killing super-street power when the traffic signal is red.

In either case, if relays are part of the solution, most of those $1 (free shipping) eBay relay modules have opto-coupler inputs which can be triggered by, say, only 1 mA of current rather than the 10's of mA to directly drive a relay coil.  This might simplify the interface.

s-l1600

 

Attachments

Images (1)
  • s-l1600

No link...and I didn't stay at a Holiday Inn Express last night.

However I did pull out two random eBay 12V relay modules from my junk box and both reliably triggered at 0.5 mA.  As you are probably aware, the input trigger to these modules is just a resistor driving the optocoupler LED.  And after the optocoupler, there's a transistor which drives the relay coil.  So very little current is required into the optocoupler LED.  I made my initial comment about 1 mA (or less) based on experience applying these relay modules where I needed to know the trigger current for the purpose of adding time-delay to the relays (e.g., masking intermittent wheel-track dropouts for isolated-rail accessory activation).

IMG_1244

Attachments

Images (1)
  • IMG_1244

Thanks Stan, you covered what I was going to but I couldn't do an in depth post cuz I was at work. I have the MTH traffic lights on my layout and I I remember correctly there is no difference between the controller for a singly light and the controller for a double light so I have to reason there should be enough current available to drive more than 1ma. As for the voltage, i have no idea what voltage is running the LED's

Was searching OGR for info on the MTH traffic controller and stumbled across this:

https://ogrforum.com/t...raffic-light-control

So to keep things simple, does the yellow light do "nothing"?  I'm trying to imagine this and I think the key is your comment that these vehicles stop instantly when track power is removed.  Hence, is the idea to make the relay-controlled section of track just a tad longer than the length of the vehicle...and then to place one each of this section on each side of the light?

As for where the resistors are in the MTH controller design, it seems the worst case is you may need to alter the opto-coupler input resistor on the relay module.  That is, we know an opto-coupler LED operates at about 1V while a Red LED operates at about 2V.  So at worst, you may only have 2V available.  That's a 1V drop and at 1 mA would be a 1k resistor.  I've seen a wide range of values on these relay modules from, say, 1k to 10k.

Looking forward to seeing a video of your intersection in action.  I think it will be quite the crowd-pleaser.

Last edited by stan2004

Add Reply

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