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

Distribution transformer connection, why the primary bushing of 7970/13.8 d...

why the primary bushing of 7970/13.8 distribution transformer blown up when connected wye on a 13.8 kv source?

Sketch ro versus vgs, Q. Sketch g m versus v GS for a JFET with I DSS = ...

Q. Sketch g m versus v GS for a JFET with I DSS = 10 mA, V P = 3V, V A = 100 V, and v DS = 10 V. See what happens if V A →∞. Also sketch r o versus v GS .

Explain working of encoders, Explain working of Encoders? Encoding is t...

Explain working of Encoders? Encoding is the process of forming an encoded representation of a set of inputs, and it is the converse of the decoding operation. An encoder is a

Evaluate the four parameters of the hybrid model, Q. Show that any amplifie...

Q. Show that any amplifier represented by the model of Figure of the text can also be represented by themore general hybridmodel of Figure. Evaluate the four parameters of the hybr

Moving coil transducers, Note transducers  convert a physical quantity from...

Note transducers  convert a physical quantity from one  form to another.  The case below illustrates a typical moving coil meter   that   converts   a   current into a mechanical a

Electrons, Ask question #Minimum 100 words accepted how does the charge pla...

Ask question #Minimum 100 words accepted how does the charge plate relate to the movement of electrons

Explain the memory map of transient program area in a pc, Draw the memory m...

Draw the memory map of TPA in a personal computer and explain different areas. The transient program area holds the DOS operating system and other programs which control the co

What are the supplementary services, Q. What are the supplementary services...

Q. What are the supplementary services? new services are called supplementary services and some of the prominent ones are as below: Category 1: Abbreviateddialling

Butterworth filter, what is experimental setup for Butterworth filter?

what is experimental setup for Butterworth filter?

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