555 timer and 4017 decade counter - traffic lights circuit
Last updated on March 11, 2013, 23:19 by Sebastian Mihai
Here's a simple circuit which simulates traffic lights. 4017's ten outputs are used in such a way so the red and green lights stay on for longer than the yellow one. (twice as long, in this case)
On the 4017, don't forget to connect the "clock inhibit" pin to the ground, or you may get erratic behaviour. In my case, the circuit would sometimes freeze on the red light. Of course, while fixing the problem, I was amused by what would happen if that were a real traffic light.
The OR gates are built easily using 4072 (4-input OR), and 4071 (2-input OR). I'm sure that this can be done more elegantly, but if, for some reason, you want traffic lights, here's a circuit you can use.
If you use the materials on this page, or any other page on this web site, you do so at your own risk. They are provided "as is". No warranty is provided or implied. I neither guarantee that the materials will work, nor that they will not be harmful in any way.