Ask Question, Ask an Expert


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

•    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.

•    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

1 for the coaxial cable of example 69 employing air

1. For the coaxial cable of Example 6.9 employing air dielectric, find the ratio of the outer to the inner radii for which the characteristic impedance of the cable is 75 Ω. 2. Using the general solutions for the complex ...

For the structure of figure 69 continue the analysis beyond

For the structure of Figure 6.9, continue the analysis beyond the quasistatic extension and obtain the input admittance correct to the third power in . Determine the equivalent circuit.

1 fluid flows between two parallel plates a distance h

1. Fluid flows between two parallel plates, a distance h apart. The upper plate moves at velocity, v 0 ; the lower plate is stationary. For what value of pressure gradient will the shear stress at the lower wall be zero? ...

1 what are the different kinds of magnetic materials2 what

1. What are the different kinds of magnetic materials? 2. What is the magnetization vector? How is it related to the magnetic flux density? 3. Discuss how magnetization current arises in a magnetic material. 4. State the ...

1 explain the term internal inductance2 what is meant by

1. Explain the term internal inductance. 2. What is meant by the quasistatic extension of the static field in a physical structure? 3. Outline the steps involved in the electroquasistatic field analysis of a parallel pla ...

1 discuss briefly the application of gauss law for the

1. Discuss briefly the application of Gauss' law for the electric field to determine the electric field due to charge distributions. 2. State Gauss' law for the magnetic field. How is it derived from Faraday's law? 3. Wh ...

Givena perform all the necessary tests and determine if

Given (a) Perform all the necessary tests and determine if these fields represent a uniform plane wave propagating in a perfect dielectric medium. (b) Find the permittivity and the permeability of the medium.

1 energy calculationsbuilding sf 20000 sfelectric rateuse

1. Energy Calculations Building SF = 20,000 sf Electric Rate: Use MTSU Utility Rate Schedule - Seasonal Rates Lighting: 2 watts/sf hours of operation = 19 hours per day Motors: One water pump motor, 80% efficient, runnin ...

Uing the laws for the addition of vectors and equation

Using the laws for the addition of vectors and equation (), show that in the absence of gravity, (a) The fluid acceleration, pressure force, and viscous force all lie in the same plane; (b) In the absence of viscous forc ...

1 for the force field f x2ay find the approximate value of

1. For the force field F = x 2 ay, find the approximate value of the line integral of F from the origin to the point (1, 3, 0) along a straight line path by dividing the path into ten equal segments. 2. For the force fie ...

  • 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

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

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen