Question
do a digital circuit for a traffic light controller that There are three traffic light signals (S1, S2, and S3), each alternating between three states,
do a digital circuit for a traffic light controller that
There are three traffic light signals (S1, S2, and S3), each alternating between three states, RED, YELLOW and GREEN. These signals control the traffic flow on the three roads, road1, road2, road3. Your traffic controller should operate in two mode: Day and Night. In Night mode all traffic light signals show intermittent amber light (YELLOW).
In STATE 1, traffic coming through road1 can go forward or left. (S1 = GREEN, S2 = RED, S3 = RED)
In STATE 2, traffic coming through road2 can go forward or left. (S1 = RED, S2 = GREEN, S3 = RED)
In STATE 3, traffic coming through road3 can go forward or left. (S1 = RED, S2 = RED, S3 = GREEN)
In STATE 4: before STATE 1 transfer to STATE 2 or STATE 3 (S1 = YELLOW, S2 = RED, S3 = RED)
In STATE 5: before STATE 2 transfer to STATE 1 or STATE 3 (S1 = RED, S2 = YELLOW, S3 = RED)
In STATE 6: before STATE 3 transfer to STATE 1 or STATE 2 (S1 = RED, S2 = RED, S3 = YELLOW)
In STATE 7: no traffic coming from any road (All signals are RED)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started