Microprocessor system, Electrical Engineering

Assignment Help:

   A burglar alarm system is controlled by a microprocessor system. The system has three independent circuit each consisting of 7 passive infra red sensors. The controller can be programmed to activate individual circuits and detect which passive has raised the alarm. Write a C program to control the system.

  Assume
 
    Variable char a contains the passive details of circuit 1
    Variable char b contains the passive details of circuit 2
    Variable char c contains the passive details of circuit 3
 
The variable a/b/c is coded such that if the sensor is activated then its corresponding bit is set to 1 else it is 0. The bit format is bit 0 Lsb sensor and bit 6 Msb sensors. The program should initial run from a menu which enables various circuits to be turned on/off , a reset password to be set,a special simulation where a/b/c are entered from keyboard (test) and a system set . The program should display the state of the passives (active or non-active)  and if the alarm is raised  an audible alarm should be heard , the  set passive and an access code be requested to reset the system.


Related Discussions:- Microprocessor system

Evaluate the temperature corresponding to a thermistor, Question: (a) A...

Question: (a) A tube from one end of a differential pressure transducer is placed at the bottom of a cylindrical cup (D= 0.8m, H= 0.1m) to measure mass flow rate. The cup i

Determine rc and resistance, Q. A silicon npn BJT is biased by the method s...

Q. A silicon npn BJT is biased by the method shown in Figure, with R E = 240 , R 2 = 3000 , and V CC = 24 V. The operating point corresponds to V BEQ = 0.8V, I BQ = 110 µA,

What is the desirable properties of an insulation material, What is the des...

What is the desirable properties of an insulation material? Insulation materials have the desirable properties are as follows: 1. Very fine dielectric strength such as of mi

Circuit realization of the srff, Q. You are to construct a modified truth t...

Q. You are to construct a modified truth table for the circuit realization of the SRFF shown in Figure. As indicated in the text, you guess an output and then go back ato check it

Short note on armature reaction., Armature Reaction in DC Generator:  Arma...

Armature Reaction in DC Generator:  Armature reaction is the effect of magnetic flux set up by armature current upon the distribution of flux under the main poles.

Lhld load hl pair direct instruction, LHLD  Load  HL Pair Direct  Instru...

LHLD  Load  HL Pair Direct  Instruction This  instruction is used to copy the  content  of memory  location specified  by opened  in register L  and copy the content of next  m

Difference between cmp and sub instructions, Mention how do the following i...

Mention how do the following instructions differ in their functionality SUB: It performs changes the destination operand and the subtraction operation. CMP: Comparison instr

Input output, Input output The parallelogram symbol  is used to repres...

Input output The parallelogram symbol  is used to represent the input output  process as shown  below.                 IN01H

Accounting, I need the solutions for this assignment

I need the solutions for this assignment

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd