Question: Design a basic traffic light control system using interrupt - based mechanism for a particular road Intersection depicted in Fig 1 . The traffic heading

Design a basic traffic light control system using interrupt-based mechanism for a particular road Intersection depicted in Fig 1.
The traffic heading towards the North and South moves simultaneously.
The traffic heading towards the East and West moves simultaneously.
It is not allowed to make a left turn.
Traffic coming from the East and West is given greater precedence than that from the North and South.
, North and South Traffic Priority 2 with a rising edge trigger.
, East and West Traffic Priority 1 with a falling edge trigger.
Fig. 1
a. Create a finite state machine that represents the traffic light control system. (8 pts.)
b. Explain the software design of the traffic controller using flowcharts. (7 pts.)
c. Write the initialization instructions. (10 pts.)
d. Write ALL the ISRs. (10 pts.)
Design a basic traffic light control system using

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!