Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In C language please? Design a Simple home security alarm system that will sound a siren if the system is armed (set alarm) and any

image text in transcribed
In C language please?
Design a Simple home security alarm system that will sound a siren if the system is armed (set alarm) and any of the following events occur: doors open in an unauthorized manner (assume only two doors) Windows open in an unauthorized manner (assume only three windows) Unauthorized movement inside the house (assume one ultrasonic motion sensor) Arming the system: resident is away (Fully Armed rightarrow door, windows and motion control) resident is in the house (Partially Armed, i.e. during the night rightarrow door and windows control only) requires correct 3 bit password (first 3 digits of your PS Id.) to arm the system RED LED to indicate the Fully Armed ORANGE LED to indicate partially armed One input pin is used to select between fully armed option or partially armed option 1 rightarrow fully armed 0 rightarrow partially armed Disarming the system: resident is in the house requires correct 3 bit password (first 3 digits of your PS Id.) to disarm the system after any 4 consecutive unsuccessful password entries, the siren will continuously sound until the correct password is entered GREEN LED to indicate disarming a. Draw the finite state machine for the security system. b. Draw the hardware circuit interface for the security system. c. Write the complete interrupt based ARM code. Assume all input ports for password entry are connected to Port B, all sensors are connected to Port C and all output ports are connected to Port D. Priority will be 1. d. Modify the above finite state machine for a home security system that has a smoke detector feature in addition to the motion detector

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

Data Mining Concepts And Techniques

Authors: Jiawei Han, Micheline Kamber, Jian Pei

3rd Edition

0123814790, 9780123814791

More Books

Students also viewed these Databases questions