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

Equipment parameter data, Equipment parameter data: The schematic diag...

Equipment parameter data: The schematic diagrams for existing substations have to be prepared along with information of power transformer rating and numbers, impedance values,

Find fmax for circuit, Q. (a) An audio amplifier with R i = 10 k, R o ...

Q. (a) An audio amplifier with R i = 10 k, R o = 0, and ¯A(ω), as shown in Figure (a), is used in the circuit shown in Figure with R S = 1 k,R L = 16 , and C = 0.2 µF. Sk

Simple harmonic motion, what is the application of simple harmonic motion i...

what is the application of simple harmonic motion in electrical engineering?

Any number system to decimal conversion , Any number System  to Decimal Co...

Any number System  to Decimal Conversion To convert a number in any number system to its  equivalent  decimal number, simply multiple each  digit of the number  with its  posi

The relationship between cell and batteries, The relationship between cell ...

The relationship between cell and batteries  Generally, a cell delivers a certain voltage that is a function of what chemical reactions are taking place to generate the voltage

Summation meters, Summation Meters Summation meters are other special ...

Summation Meters Summation meters are other special categories of meters that are used for recording the total consumption of a consumer fed at more than one point. The major

Explain the working of direct memory access controller, Explain the various...

Explain the various modes in which DMAC works. Working of Direct memory access controller: The modes of operation has demand mode, block mode, single mode and cascade mode.

Calculate the instantaneous and rms values, Q. The flux-density distributio...

Q. The flux-density distribution in the air gap of a 60-Hz, two-pole, salient-pole machine is sinusoidal, having an amplitude of 0.6 T. Calculate the instantaneous and rms value

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