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

Domestic financial system, Q. "Developing countries could delay opening the...

Q. "Developing countries could delay opening the capital account until the domestic financial system is strong enough to withstand the sometimes flow of world capital and violen

Circuit, i need to talk to expert asap.

i need to talk to expert asap.

Draw the diagram of the system, You have a motor that is powered by 24 VDC....

You have a motor that is powered by 24 VDC.  It free-runs at 600 radians/second, and stalls with a load of 125 in-lbs.  The time constant (τ) of the motor itself is 1.5 seconds.  T

A synchronous motor with a synchronous reactance , A synchronous motor with...

A synchronous motor with a synchronous reactance of 12 ohms is operating with a current of 100 A at unity power factor supplying power to a large compressor. The phasor diagram for

Public and extrn assembler directive, What do you understand by PUBLIC ...

What do you understand by PUBLIC assembler directive?   The PUBLIC and EXTRN directives are very significant to modular programming. PUBLIC used to state that labels of

Induction motor, principle and operation of a 3phace induction motor

principle and operation of a 3phace induction motor

Karnaugh map, how can be a karnaugh map of the count of sequence: 0-5-6-9-1...

how can be a karnaugh map of the count of sequence: 0-5-6-9-11-14

Slip-power controlled wound-rotor induction-motor drives, Q. Slip-power con...

Q. Slip-power controlled wound-rotor induction-motor drives? Slip power is that portion of the air-gap power that is not converted into mechanical power. The methods involving

Determine the apparent power and the reactive power, Q. A balanced electric...

Q. A balanced electrical industrial plant load of 9.8 MW with 0.8 lagging power factor is supplied by a three-phase 60-Hz system having a maximum rating (load-carrying capacity) of

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