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

Given the message aacccbccddab in which the probabilities

Given the message "AACCCBCCDDAB", in which the probabilities of symbols are P(A) = 0.50, P(B) = 0.25, P(C) = 0.125, and P(D) = 0.125, a. encode the data using Huffman coding. b. find the compression ratio if each origina ...

1 what is the voltage reflection coefficient at the

1. What is the voltage reflection coefficient at the junction between two transmission lines? How are the current reflection coefficient and the voltage and current transmission coefficients related to the voltage reflec ...

In a chord network using dht with m 4 draw the identifier

In a Chord network using DHT with m = 4, draw the identifier space and place 4 peers with node ID addresses N3, N8, N11, and N13 and three keys with addresses k5, k9, and k14. Determine which node is responsible for each ...

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 S/MIME. 2. When we talk about authentication in SSL, do we mean message authentication or entity authenticat ...

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

1 define the radiation resistance of an antenna2 why is the

1. Define the radiation resistance of an antenna. 2. Why is the expression for the radiation resistance of a Hertzian dipole not valid for a linear antenna of any length? 3. Explain why power lines are not effective radi ...

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 explain the self-consistency condition for waveguiding in

1. Explain the self-consistency condition for waveguiding in a dielectric slab waveguide. 2. Discuss the dependence of the number of propagating modes in a dielectric slab waveguide on the ratio of the thickness d of the ...

A force f is applied at the tip of the uniform bar element

A force F is applied at the tip of the uniform bar element shown in the figure. The initial length and the cross-sectional area of the bar are, respectively, A 0  and L 0 . The elastic modulus of the material is E. Calcu ...

1 what is the direction of the magnetic field for a uniform

1. What is the direction of the magnetic field for a uniform plane wave having its electric field in the positive z-direction and propagating in the positive x-direction? 2. What is intrinsic impedance? What is its value ...

  • 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