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.
This is a method to control the traffic using 8051 microcontroller, 2 switches and green, yellow and red LEDs.
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.
Comments
Please log in or sign up to comment.