Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Help with ARM Code Please The purpose of this project work is to design an enhanced traffic controller using FSM and interrupt based programming. The

Help with ARM Code Please

image text in transcribed

The purpose of this project work is to design an enhanced traffic controller using FSM and interrupt based programming. The goal is to create and add a new "walk" signal for pedestrians. The normal traffic light has inputs from south and west directions only. Pedestrians have to press a switch in order to activate the "walk" signal. All input ports are interfaced to Port B while all output ports are interfaced to Ports D and E. In addition, the controller must be able to: trigger only when both edges (rising and falling) are detected, give priority to drivers from south direction (assume priority 1 for drivers from south and priority 3 for drivers from west directions), - - emergency trucks (fire trucks, ambulances, etc.) should have the highest priorities of all and - flash RED light whenever there is a power failure. a. Draw the finite state machine of the traffic controller system. (10 pts.) b. Draw the hardware circuit interface for the traffic controller system. (5 pts.) c. Write the complete interrupt based ARM code. (15 pts.) d. Modify the above finite state machine for a traffic controller that has all of the four driving directions. (5 pts.) The purpose of this project work is to design an enhanced traffic controller using FSM and interrupt based programming. The goal is to create and add a new "walk" signal for pedestrians. The normal traffic light has inputs from south and west directions only. Pedestrians have to press a switch in order to activate the "walk" signal. All input ports are interfaced to Port B while all output ports are interfaced to Ports D and E. In addition, the controller must be able to: trigger only when both edges (rising and falling) are detected, give priority to drivers from south direction (assume priority 1 for drivers from south and priority 3 for drivers from west directions), - - emergency trucks (fire trucks, ambulances, etc.) should have the highest priorities of all and - flash RED light whenever there is a power failure. a. Draw the finite state machine of the traffic controller system. (10 pts.) b. Draw the hardware circuit interface for the traffic controller system. (5 pts.) c. Write the complete interrupt based ARM code. (15 pts.) d. Modify the above finite state machine for a traffic controller that has all of the four driving directions. (5 pts.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Reliability Engineering Designing And Operating Resilient Database Systems

Authors: Laine Campbell, Charity Majors

1st Edition

978-1491925942

More Books

Students also viewed these Databases questions