- Posts: 316
- Thank you received: 175
Traffic Lights
- stonysmith
- Offline
- Moderator
I was messing around with the idea.. there are many small (micro) computers that can do the job, but I also wanted the minimum number of wires possible.
I came up with this:
With just four wires (and twelve LEDs) you can have a four-way stop intersection that is fully automated. With this, you could have a number of intersections all on the same pattern of lights, and depending upon how many pins you have on your microcontroller, you could have several different zones of lights that are timed differently.
I'm still looking for how to get some SMD and a micro-circuit board for each hanging signal, but at least I now have a working arrangement that only requires four wires.
Please Log in or Create an account to join the conversation.
- markm
- Offline
- Senior Member
- Posts: 293
- Thank you received: 69
Dialight produces 1.6mm x 0.8mm color LEDs and they're available in small quantities from Mouser.
Mark
Please Log in or Create an account to join the conversation.
- stonysmith
- Offline
- Moderator
- Posts: 316
- Thank you received: 175
Dialight has been pioneering some of the most innovative applications in LED technology since it was developed in the early 1970s. Our LED products for the electronics industry have given engineers better ways to indicate status on all kinds of equipment. Dialight LED traffic signals have saved municipalities millions of dollars in energy costs and maintenance. We put our expertise to work for you by designing the most reliable and cost-effective LED products available. As a vertically integrated supplier, Dialight has the resources to design and produce everything in-house.
If they can do "everything in house", I wonder if they'd be interested in talking to the Model Train market. <grin>
Please Log in or Create an account to join the conversation.
- markm
- Offline
- Senior Member
- Posts: 293
- Thank you received: 69
I have a little more time now than for my earlier post. If you're willing to buy about 500K signal heads, I'm sure Dialight would consider it
I've played with the idea of Z scale traffic signals for some time and can give you some thoughts.
Your logic table is essentially correct for a mechanical traffic signal priorr to about 1970. After that those big controller boxes contained an 8008 microcontroller system. At that time a RED-RED state before then next GREEN-RED became common for the signals. You can still do this state by applying complementary pulse streams to lines 1 & 2 and matching pulses on 0 & 3 to keep the greens off.
For building the signal heads, I was planning to use a backlight shield from a single layer of FR4 PCB material with a single layer of copper. This is commonly known as flex PCB. I'd suggest using white LEDs and use color filters: the LEDs are cheaper by the dozens and you won't have to flight the forward voltage differences between the colors.
I built a controller using a 556 timer chip and a 22V10 GAL. It included a train crossing trigger to change the light and signals for the crossing lights. Also could be daisy-chained to stagger the timing for multiple traffic signals.
Hopes this helps,
Mark
Please Log in or Create an account to join the conversation.
- Kelley
- Offline
- Dispatcher
- Posts: 764
- Thank you received: 73
Please Log in or Create an account to join the conversation.
- markm
- Offline
- Senior Member
- Posts: 293
- Thank you received: 69
Mark
State North West
decimal binary route route
0 0000 red red
1 0001 green red
2 0010 green red
3 0011 green red
4 0100 green red
5 0101 green red
6 0110 yellow red
7 0111 yellow red
8 1000 red red
9 1001 red green
10 1010 red green
11 1011 red green
12 1100 red green
13 1101 red green
14 1110 red yellow
15 1111 red yellow
Please Log in or Create an account to join the conversation.