Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Electrical & Electronics Expert

House Burglar Alarm Specification

A house has 2 rooms each of which have PIR motion sensor. Each room has the security light. There is also a PIR sensor outside front door that becomes active when it is dark outside. There is a security light outside the front door. Security lights are switched on, and an audible alarm sounds under certain conditions.
If the outside PIR is triggered (that is, it is dark, and motion is detected), the outside security light is switched on for 20 seconds. Any room sensor activated will trigger the light for (only) that room for 10 seconds. Both room sensors activated within 10 seconds will set off the audible alarm continuously.
Only way to stop audible alarm is to input the correct PIN. If correct PIN is input, the alarm system is de-activated, and becomes dormant (ready for further burglar detections). If incorrect PIN is entered, a ‘first warning’ is given on an LCD panel.
If the further incorrect code is entered, the alarm remains on, the outside light flashes, and a message is sent to the police station. Entering the correct code at any time that the audible alarm is on will de-activate the alarm.
The STD shown in first Figure is intended to reflect this requirement specification. Second figure below shows the hardware to be used for the implememntation and testing of the code.

Tasks for the specification given:                   

1) Produce a Flowchart            
2) Produce a working program
  a) uses sensible labels in code, and is easy to read
  b) uses correct inputs
  c) generates correct LED outputs
  d) generates correct LCD outputs
3) Produce report, presenting all above, readable to software/hardware engineer
4) A demonstration of the working program.

1876_transition diagram.jpg

Figure State Transition Diagram for Simple Burglar Alarm

Key:
inputs:
•    R1S => room1 sensor, simulated on hardware by switch on RB0 active.
•    R2S => room2 sensor, simulated on hardware by switch on RA5 active.
•    MovementS =>movement sensor, simulated on hardware by analogue input on RA3 >= half full scale.
•    CorrectCode simulates correct PIN input, simulated by RB0 active.
•    WrongCode simulates incorrect PIN input, simulated by RA5 active.
•    tamperSwitchActivated, simulated by analogue input on RA3 < half full-scale.

outputs:
•    LED D8 indicates Dormant state. D1 indicates R1Activated state. D2 indicates R2Activated state.
•    D3 indicates AlarmOn state. D4 indicates Warning state. D5 indicates AlarmLatched state.
•    D6 indicates OutsideLightsOn state. D7 may be used for any purpose. The LCD should indicate the state in words.

2286_Hardware for implemantation.jpg

Figure Hardware for implementation and testing of the program

Electrical & Electronics, Engineering

  • Category:- Electrical & Electronics
  • Reference No.:- M9503

Have any Question? 


Related Questions in Electrical & Electronics

The relationship between deformed and undeformed

The relationship between deformed and undeformed coordinates for the pure bending of a plane-strain solid is given as Compare the engineering strain and Lagrangian strain. Show that the two strain measures become identic ...

1 assume alice needs to send an e-mail to bob explain how

1. Assume Alice needs to send an e-mail to Bob. Explain how the confidentiality of the e-mail is achieved using PGP. 2. Assume Alice needs to send an e-mail to Bob. Explain how the integrity of the e-mail is achieved usi ...

1 a 0635-cm hydraulic line suddenly ruptures 8 m from a

1. A 0.635-cm hydraulic line suddenly ruptures 8 m from a reservoir with a gage pressure of 207 kPa. Compare the laminar and inviscid flow rates from the ruptured line in cubic meters per second. 2. A common type of visc ...

Suppose that a discrete-time system is specified by the

Suppose that a discrete-time system is specified by the transfer function Compute and plot a. The step response of the system b. The impulse response of the system c. The response of the system to the input signal

1 describe briefly your concept of a scalar field and

1. Describe briefly your concept of a scalar field and illustrate with an example. 2. Describe briefly your concept of a vector field and illustrate with an example. 3. How do you depict pictorially the gravitational fie ...

1 what is the steady-state equivalent of a line excited by

1. What is the steady-state equivalent of a line excited by a constant voltage source? What is the actual situation in the steady state? 2. Discuss the bounce-diagram technique of keeping track of the bouncing back and f ...

A source of strength 15 m2s at the origin is combined with

A source of strength 1:5 m 2 /s at the origin is combined with a uniform stream moving at 9 m/s in the x direction. For the half-body which results, find (a) The stagnation point; (b) The body height as it crosses the y ...

1 consult an appropriate reference book and compare the

1. Consult an appropriate reference book and compare the procedure used for obtaining the electromagnetic field due to the Hertzian dipole with the procedure used here. 2. What are radiation fields? Why are they importan ...

A continuous-time signal x t deltat 12 is sampled at

A continuous-time signal x (t) = Δ((t = 1)/2) is sampled at three rates: 10, 2, and 1 Hz. Sketch the resulting sampled signals. Because x (t) is timelimited, its bandwidth is infinite. However, most of its energy is conc ...

1 can h323 also be used for video2 given the following

1. Can H.323 also be used for video? 2. Given the following message, find the compressed data using run-length coding. AAACCCCCCBCCCCDDDDDAAAABBB 3. Given the following message, find the compressed data using the second ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro