design and implement the state machine

2:52 pm Wed 21 Apr S.` 100% (M. I content.ilearn.mq.edu.au
Task You are to design and implement the state machine to run the control unit of a home alarm system.
System Overview A block diagram of the home alarm system is given below. The system consists of two zone motion sensors (to be simulated using pushbuttons), a strobe light and siren for signalling a triggered alarm, and a control unit which has six input buttons, a user adjustable delay, and three status LEDs.
Zone 1 Motion Sensor
Zone 2 Motion Sensor

Components • LED Button Piezo speaker 0 Potentiometer
Strobe

• Zone 1 • Zone 2
Control Unit
• Armed
A

User Adjustable Delay
B
C
Enter

Cancel
Siren
Specifications Your implementation of the system needs to meet the following requirements: (1) The system should start in the all-clear state. In this state, the alarm is disarmed, and all LEDs and the siren are off. (2) When one of the motion sensors are triggered (via a depressed button), the corresponding zone LED should light up and remain active for as long as the button is pressed down. (3) To arm the system, the user should press the A key and then the Enter key. Once this combination is pressed, the system will move into the triggered state. During the triggered state, the Armed LED should flash at a rate of 1 Hz. The triggered state lasts for 5 seconds, after which the system will move into the armed state. In the armed state, the Armed LED should be continuously lit. (4) During the armed state, if either of the zone motion sensors are triggered, it should set off the siren and strobe lights after a 5 second delay. The siren should sweep through frequencies 400 to 2000 Hz every two seconds, and the strobe light should flash once a second.
(51 To stop the siren and stroll, light. or to disarm the system. a user should nress the 1,,y and

The post design and implement the state machine appeared first on My Assignment Online.

GET HELP WITH YOUR HOMEWORK PAPERS @ 25% OFF

For faster services, inquiry about  new assignments submission or  follow ups on your assignments please text us/call us on +1 (251) 265-5102

Write My Paper Button

WeCreativez WhatsApp Support
We are here to answer your questions. Ask us anything!
👋 Hi, how can I help?
Scroll to Top