This is an Arduino based light controller project that uses a single momentary push button to trigger the crossing sequence. A button push initiate the traffic crossing sequence which cycles through a "wait on red light" to "go on green light" to "don't walk flashing red" to "solid red ...
Going Deeper: Arduino Pedestrian Crossing Now that you know the basics, let's improve it. Add in a pushbutton for pedestrians to change the light whenever they like: Notice how the traffic light is exactly the same as the previous example. Connect the button to digital pin 12. You'll not...