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.

    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

Describe CCIT hierarchical structure, Q. Describe CCITT  hierarchical  stru...

Q. Describe CCITT  hierarchical  structure  of  switching  and  routing  using  block schematic.  Ans: Hierarchical network are capable of handling heavy traffic where req

Draw and explain the r-2r ladder dac, Question 01 Convert the following bi...

Question 01 Convert the following binary numbers to its specified number system 111.101 (2) to octal 10111 (2) to decimal 0.1010 (2) to hexadecimal 1011.11 (2)

When both mt2 and gate are positive, When both  MT 2 and  Gate  are pos...

When both  MT 2 and  Gate  are positive In this  junction  P 1 N 1   and P 2 N 2   are forward  biased whereas junction N 1 P 2 is reverse biased. The gate current flows  thr

Write explanatory notes on 8284 clock generator, Write explanatory notes on...

Write explanatory notes on 8284 Clock generator. The 8284 is an ancillary element to the microprocessors. Without this clock generator, a few additional circuits are needed to

Electron, Electron congratulations

Electron congratulations

Speed control of dc motors, Q. Show Process of Speed Control of DC Motors? ...

Q. Show Process of Speed Control of DC Motors? Equation showed that the speed of a dc motor can be varied by control of the field flux, the armature resistance, and the armatur

What are synchronous decade counters, What are Synchronous Decade Counters?...

What are Synchronous Decade Counters? Alike to an asynchronous decade counter, the synchronous decade counter counts from 0 to 9 and then recycles to 0 again, This is done by

Determine the sampling rate, Q. If an analog message that has a spectral ex...

Q. If an analog message that has a spectral extent of 15 kHz is sampled at three times the Nyquist rate, determine the sampling rate.

Control strategies - power supplies , Control Strategies Equation shows...

Control Strategies Equation shows  that output  voltage V0 can be controlled through α and this duty cycle  α can be varied by various  strategies which are as follows.

What is meant by daisy chaining method, What is meant by Daisy Chaining met...

What is meant by Daisy Chaining method?  It does not need any priority resolving network, rather the priorities of all the devices are effectively assumed to be in sequence.

Write Your Message!

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