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

Calculate the rms value, The sinusoidal voltage source in the circuit shown...

The sinusoidal voltage source in the circuit shown in Fig. is developing an rms voltage of 2000 V. The 4 ? load in the circuit is absorbing four times as much average power as the

Conductometry experiment, why conductance is not zero at end pont? reply as...

why conductance is not zero at end pont? reply as soon as possible.

Analysis flow, Analysis Flow Similar to most subjects, the analysis of...

Analysis Flow Similar to most subjects, the analysis of semiconductor devices is also performed by starting from simpler problems and regularly progressing to more complex one

Discuss the essentials of an oscillator, Q. Discuss the essentials of an os...

Q. Discuss the essentials of an oscillator? The essential components of an oscillator are (i) Tank Circuit: It consists of inductance coil(L) connected in parallel with ca

Tardy billing and poor revenue collection, Tardy Billing and Poor Revenue C...

Tardy Billing and Poor Revenue Collection Prolonged disputes, connivance, lack of consumer friendly policies, incorrect identification of category, fictitious billing (of non-

Relative and absolute motion measuring device, a) With the help of a neat a...

a) With the help of a neat and clean sketch illustrate the difference between relative and absolute motion measuring device. b) Discuss electromechanical methods for calculating

Magnet, Magnetic materials

Magnetic materials

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