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 interruptbased mechanism for a particular road Intersection depicted in Fig
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 with a rising edge trigger.
East and West Traffic Priority with a falling edge trigger.
Fig.
a Create a finite state machine that represents the traffic light control system. pts
b Explain the software design of the traffic controller using flowcharts. pts
c Write the initialization instructions. pts
d Write ALL the ISRs. pts
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
