Ask Question, Ask an Expert

+61-413 786 465

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

Discuss the role of load factor on the cost of electrical

Discuss the role of load factor on the cost of electrical energy.

Research report1 read 3 to 4 journal articles about

Research report 1. Read 3 to 4 journal articles about digital control or industrial control, eg. one particular application, implementation aspect such as selection of sampling time, hardware etc. No text book example is ...

1 goalin this project you will solve a non-trivial design

1 Goal In this project you will solve a non-trivial design problem explicitly using the divide-and-conquer (D&C) approach. The main reason for using the D&C approach is the ease of the design process and the streamlined ...

Problem 1 a two-phase servomotor has rated voltage applied

Problem 1: A two-phase servomotor has rated voltage applied to its excitation winding. The torque speed characteristic of the motor with Vc = 220 V, 60 Hz applied to its control phase winding is shown in Fig.1. The momen ...

Summative assessmentin 2017 sej101 assessment will consist

Summative Assessment In 2017 SEJ101 assessment will consist of nine tasks that will develop a portfolio of your assessed work. Throughout the trimester you will have the opportunity for feedback on all nine tasks before ...

Assignment -problem 1 -a consider the simplified dc system

Assignment - Problem 1 - a) Consider the simplified dc system shown in Fig. 1. Only one converter is modeled, with the remote end represented by a dc source. The ac system is rated at 345 kV, with the converter transform ...

Problem 1given a sequence xn for 0lenle3 where x0 1 x1 1

Problem # 1: Given a sequence x(n) for 0≤n≤3, where x(0) = 1, x(1) = 1, x(2) = -1, and x(3) = 0, compute its DFT X(k). (Use DFT formula, don't use MATLAB function) Problem # 2: Use inverse DFT and apply it on the Fourier ...

Questions -problem 1 - a series rlc network has r 2 komega

Questions - Problem 1 - A series RLC network has R = 2 kΩ, L = 40 mH and C = 1μF. Calculate the impedance at resonance and at one-fourth, one-half, twice, and four times the resonant frequency. Problem 2 - Design a serie ...

Questions -problem 1 - solve for i0 in fig using mesh

Questions - Problem 1 - Solve for i 0 in Fig. using mesh analysis. Problem 2 - Use mesh analysis to find current i 0 in the circuit. Problem 3 - Use mesh analysis to find v 0 in the circuit. Let v s1 = 120 cos(100t+ 90 o ...

Questions -problem 1 - given the sinuosidal voltage vt 50

Questions - Problem 1 - Given the sinuosidal voltage v(t) = 50 cos(30t+10 o ) V, find: (a) the amplitude V m (b) the period T, (c) the frequency f and (d) v(t) at t = 10 ms. Problem 2 - A current source in a linear circu ...

  • 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

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As