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

Assignmentnbsp 1electric fields dielectrics generation and

Assignment  1 Electric Fields, Dielectrics, Generation and Measurements of HVDC & HVAC 1) For a coaxial cylindrical single-phase cable with an inner cable radius "r', outer grounded sheath radius "R' and an applied cable ...

If the shock-wave velocity in problem is approximated by

If the shock-wave velocity in Problem is approximated by the speed of sound, determine the pressure change causing a velocity change of 10 fps in (a) air at standard conditions; (b) water. Problem:- The shock wave illust ...

1 in which situation a unicast session or a multicast

1. In which situation, a unicast session or a multicast session, can feedback received from an RTCP packet about the session be handled more easily by the sender? 2. Can the combination of RTP/RTCP and SIP operate in a w ...

Consider a nonlinear elastic uniaxial bar element under tip

Consider a nonlinear elastic uniaxial bar element under tip force F = 100 N shown in Figure. The stress-strain relation is given in terms of Cauchy stress and engineering strain in the deformed geometry: σ11 = Eε 11 . Us ...

1 what is the significance of a nonzero net right-lateral

1. What is the significance of a nonzero net right-lateral differential of and normal to the z-direction at a point in space? 2. If a pair of E and B at a point satisfies Faraday's law in differential form, does it neces ...

1 define wavelength how is it related to the phase

1. Define wavelength. How is it related to the phase constant? 2. What is the relationship between frequency, wavelength, and phase velocity? What is the wavelength in free space for a frequency of 15 MHz? 3. What is the ...

What are the two impairments caused by windowing what

What are the two impairments caused by windowing? What window characteristic is most related to each impairment? How is the effect of each impairment reduced? Can either window impairment be entirely eliminated? Explain ...

1 what is a hertzian dipole2 discuss the time-variations of

1. What is a Hertzian dipole? 2. Discuss the time-variations of the current and charges associated with the Hertzian dipole. 3. Briefly describe the spherical coordinate system. 4. Explain why it is simpler to use the sp ...

A small cabin needs 24-kwh per day all of which is used in

A small cabin needs 2.4-kWh per day, all of which is used in the evening from 7 pm to 11 pm. If you decide to supply only enough 12-V battery storage to cover each evening, what should the minimum rated A-hr of batteries ...

Assume you want to write a program to simulate the

Assume you want to write a program to simulate the permutation boxes in Figure 31.8 in the text. a. Show how you represent each box as a table. b. Show the inversion of each box as a table.

  • 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