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

A square loop of wire of sides 001 m lies in the xy-plane

A square loop of wire of sides 0.01 m lies in the xy-plane, with its sides parallel to the x- and y-axes and with its center at the origin. It carries a current of 1 A in the clockwise sense as seen along the positive z- ...

1 distinguish between bound electrons and free electrons in

1. Distinguish between bound electrons and free electrons in an atom. 2. Briefly describe the phenomenon of conduction. 3. State Ohms' law applicable at a point. How is it taken into account in Maxwell's equations? 4. Br ...

Question 1 design a suitable double -layer lap winding for

Question 1) Design a suitable double -layer lap winding for a 6-pole dc armature with 18 slots and two coil sides per slot. Give values of front-pitch, brack-pitch and commutator pitch. Draw the developed diagram and sho ...

1 explain why private-public keys cannot be used in

1. Explain why private-public keys cannot be used in creating a MAC. 2. The nonce in Figure 31.22 is to prevent a replay of the third message. Eve cannot replay the third message and pretend that it is a new request from ...

1 is it meaningful to consider two different surfaces

1. Is it meaningful to consider two different surfaces bounded by a closed path to computethe two different currents on the right side of Ampere's circuital law to find around the closed path? 2. Discuss briefly the appl ...

1 for an open-circuited line what would be the boundary

1. For an open-circuited line, what would be the boundary condition to be satisfied at the open circuit? 2. What is a standing wave? How do complete standing waves arise? Discuss their characteristics and give an example ...

1 when we talk about authentication in ipsec do we mean

1. When we talk about authentication in IPSec, do we mean message authentication or entity authentication? Explain. 2. If Alice and Bob are continuously sending messages to each other, can they create a security associat ...

1 what is a boundary condition how do boundary conditions

1. What is a boundary condition? How do boundary conditions arise and how are they derived? 2. Summarize the boundary conditions for the general case of a boundary between two arbitrary media, indicating correspondingly ...

A signal is bandlimited to 12 khz the band between 10 and

A signal is bandlimited to 12 kHz. The band between 10 and 12 kHz has been so corrupted by excessive noise that the information in this band is nonrecoverable. Determine the minimum sampling rate for this signal so that ...

Afirst-order ltic system has a characteristic root lambda

A first-order LTIC system has a characteristic root λ = -10 4 . a. Determine T r , the rise time of its unit step input response. b. Determine the bandwidth of this system. c. Determine the rate at which the information ...

  • 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