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

1 find the unit vector normal to the plane then find the

1. Find the unit vector normal to the plane . Then find the distance from the origin to the plane. 2. Write the expression for the differential length vector dl at the point (1, 2, 8) on the straight line and having the ...

Consider the problem of performing system identification as

Consider the problem of performing system identification as shown previously in Figure 9.49. Suppose the system to be identified is the following IIR filter. Write a MATLAB program that uses the FDSP toolbox function f l ...

1 explain how a 1 bit 4-to-1 mux can calculate any binary

1. Explain how a 1 bit 4-to-1 MUX can calculate any binary Boolean function. Because the MUX can calculate the result of any Boolean function, we call the MUX a univeral operation. 2. In Logism implement an 8 bit 4-to-1 ...

1 in an impulse invariance design show that if has is a

1. In an impulse invariance design, show that if Ha(s) is a transfer function of a stable system, the corresponding H[z] is also a transfer function of a stable system. 2. First-order backward differences provide the tra ...

1 write a function that accepts a number t0 as input

1. Write a function that accepts a number t0 as input argument and returns the unit step function u(t t0). Your function should also create the graph of u(t t0) in a proper time interval. 2. Write a function that accepts ...

The potential distribution in a simplified model of a

The potential distribution in a simplified model of a vacuum diode consisting of cathode in the plane x = 0 and anode in the plane x = d and held at a potential V 0 relative to the cathode is given by (a) Find the space ...

1 what is the magnetic flux crossing an infinitesimal

1. What is the magnetic flux crossing an infinitesimal surface oriented parallel to the magnetic flux density vector? 2. For what orientation of the infinitesimal surface relative to the magnetic flux density vector is t ...

1 implement the 2-to-4 decoder using 7404 not an 7808 and

1. Implement the 2-to-4 decoder using 7404 (NOT) an 7808 (AND) chips on your breadboard. 2. Implement the 2-to-4 decoder circuit with a 74139 chip on your breadboard. 3. Implement a 1-to-2 decoder in Logisim. Implement t ...

1 what is the total distance around the circumference of a

1. What is the total distance around the circumference of a circle of radius 1 m? What is the total vector distance around the circle? 2. What is the total surface area of a cube of sides 1 m? Assuming the normals to the ...

Determine the head loss between stations 1 and 2 in

Determine the head loss between stations (1) and (2) in Problem. Problem:- Oil (sp. gr. = 0.8) flows smoothly through the circular reducing section shown at 3 ft 3  /s. If the entering and leaving velocity profiles are u ...

  • 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