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

Explain read-only memory, Q. Explain Read-only memory? ROM is nonvolati...

Q. Explain Read-only memory? ROM is nonvolatile (because it maintains its contents even when its power is shut off) and is used to store data and programs that do not change du

Example of binary subtraction - positive number , Example  of binary  sub...

Example  of binary  subtraction - positive number Case 1.   Positive  number is more than negative number ( i e, answer is positive)   Example   subtract  4510 ( 1011012

Static rotor resistance control methods - motor control , Static Rotor Res...

Static Rotor Resistance Control Methods This method is used only for slip  ring induction motor in SRIM  3- phase  variable  resistor can be inserted in the rotor  circuit and

Circuit theory, matlab program for verifying maximum power transfer

matlab program for verifying maximum power transfer

Determine the reactive kva of the motor, Athree-phase, wye-connected, round...

Athree-phase, wye-connected, round-rotor, 220- V, 60-Hz, synchronous motor, having a synchronous reactance of 1.27  per phase and negligible armature resistance, is connected in p

Determine the output waveform of the voltage, Q. The first four harmonics i...

Q. The first four harmonics in the Fourier series of current waveform given by where I m = 15 mA and T = 1 ms. If such a current is applied to a parallel combination of R

Explain the effect of a dielectric on behaviour of capacitor, Explain the e...

Explain the effect of a dielectric on the behaviour of a capacitor. If two parallel plates are separated by a distance 'd' (meters) in vacuum and are kept at a potential diffe

Define temperature coefficient of resistance, Define temperature coefficien...

Define temperature coefficient of resistance. Temperature coefficient of resistance is explained as the change in resistance of a material per ohm per degree change in temperat

Formation of energy bands in solids, Describe in brief the Formation of ene...

Describe in brief the Formation of energy bands in solids and hence explain how it helps to classify the solid in to conductors and insulators. Energy Bands in Solids Acco

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