We have used 2 switches. If we press switch one, the first signal blinks green light and the second signal blinks the red light. The green light means the vehicle will go and the red light means all vehicles will stop.
How To Control Traffic by Using 8051 Microcontroller
This is a method to control the traffic using 8051 microcontroller, 2 switches and green, yellow and red LEDs.

Read more
Comments
Please log in or sign up to comment.