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

Cycloconverter scherbius drive - motor control , Cycloconverter  Scherbius...

Cycloconverter  Scherbius Drive In this  drive  instead of dual controlled used in link  scherbius  drive one  phase  controlled  line commutated cyclconverter is used. This

Filtering, Filtering  (i) Write an m-file "mymedian.m" which will ta...

Filtering  (i) Write an m-file "mymedian.m" which will take an image and filter size and perform median filtering. Display input and output image. Use  help median fun

Determine the antennas power gain and beamwidth, Q. A paraboloidal antenna ...

Q. A paraboloidal antenna has an aperture ef?ciency of 0.6 and a diameter D = 100λ at 6 GHz. Illumination by the feed is such that the beamwidths of the principal-plane secondary p

Show the bode plot, Question: (a) Show the Bode Plot, showing the relev...

Question: (a) Show the Bode Plot, showing the relevant corner frequencies and slopes, for the unity feedback system whose open loop transfer function is given by: (b) T

Shunt capacitors, Shunt Capacitors Line losses owing to poor PF can be...

Shunt Capacitors Line losses owing to poor PF can be decreased through improving the PF. Overall improvement in the operating condition can be brought about through reducing t

What ratio is needed for the cable, Q. If b and a are the radii of the oute...

Q. If b and a are the radii of the outer and inner conductors, respectively, of a coaxial cable using a polyethylene dielectric (ε r = 2.26), what ratio b/a is needed for the cabl

Technical loss reduction - power supply, Technical Loss Reduction - Power S...

Technical Loss Reduction - Power Supply 1. Technical loss reduction could be achieved through several measures such as network reconfiguration, load balancing, network recondu

Explain the construction of a mosfet, Explain the construction of a MOSFET....

Explain the construction of a MOSFET. Draw the symbols and diagrams of both P-channel and N-channel MOSFET. As JFET and MOSFET also have source, drain and gate. Its gate is ins

MUX, Is it used to replace the basic gates ?

Is it used to replace the basic gates ?

Determine the maximum value of the average torque, Q. A two-pole rotating m...

Q. A two-pole rotating machine with a singly excited magnetic field system as its stator and a rotor (that carries no coil) has a stator-coil inductance that can be approximated by

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