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

Mobile and wirelss communicatio, In a CDMA system, the signal is spr...

In a CDMA system, the signal is spread over a large bandwidth by multiplying the transmitted symbol by a sequence of short pulses, also called chips. The

Add instruction , ADD Instruction Op code  format  of ADD instruction...

ADD Instruction Op code  format  of ADD instruction is Replace  the three bit code  of the register R from   to obtain the op code of the  required ADD instruction . op co

Output characteristics , Output Characteristics The output  or drain  ...

Output Characteristics The output  or drain  characteristic of N - Channel  power MOSFET. When gate  is made positive with respect to the source an N type  channel  is formed

Find the turns ratio of the ideal transformer, Q. Consider an ampli?er as a...

Q. Consider an ampli?er as a voltage source with an internal resistance of 72 . Find the turns ratio of the ideal transformer such that maximum power is delivered when the ampli?e

Explain working of shaded-pole motors, Q. Explain working of Shaded-pole mo...

Q. Explain working of Shaded-pole motors? Shaded-pole motors: The least expensive of the fractional-horsepower motors, generally rated up to 1 / 20 hp, they have salient stator

Show how conservation of power is satisfied by the circuit, Q. Show how the...

Q. Show how the conservation of power is satisfied by the circuit of Figure.

What do you understand by bezier surface, What do you understand by Bezier ...

What do you understand by Bezier surface ? Discuss Determine the equivalent bicubic formulation of a closed and open cubic B-spine surface. a) What do you understand by solid

Positive and negative clippers, Positive Clippers The shunt connected p...

Positive Clippers The shunt connected positive clipper, in which the diode conducts for positive half cycle and hence, the output is a straight line. During the negative half c

Referring to figure evaluate current in circuit, Referring to Figure, let b...

Referring to Figure, let boxes 2, 3, and 5 consist of a 0.2-H inductor, a 5- resistor, and a 0.1-F capacitor, respectively. Given A = 5, and v 1 = 10 sin 10t, i 2 = 5 sin 10t ,

Wein bridge, does wein bridge can be used for frequency measurement? how it...

does wein bridge can be used for frequency measurement? how it is possible?

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