Question: Develop a Finite State Machine Program for a set of traffic lights between Main St . and Side St . a ) Develop and show

Develop a Finite State Machine Program for a set of traffic lights between Main St. and Side St.
a) Develop and show the FSM running the street light on Main St. Provide 4seconds for amber and 1 minute each for red and green. Note the electronics run on a CLK pulse one every 4seconds.
b) Modify the FSM running traffic light for Main St. to remain amber for 4seconds, green for 44 seconds and red for 32 seconds.
c) Develop the FSM running the traffic light for Side St based on design for Main St. given in part b
d) For Peak Hours of 8:00 am to 9:30 am,11:30 am to 1 pm and 4 pm and 5:30 pm, develop a different FSM for Main St. The waiting time for amber is four seconds, while for green varies based on number (vehicles counted divide by 4)+1, The vehicle count would vary between 0 and 127 and Side St. of between 0 and 127. Presume neither streets will count more than 127 vehicles.
e) Develop a digital circuit of the FSM to operate at peak hours. Note you dont need to keep track of the actual peak hours.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!