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

Electromagnetic torque produced, A dc machine, operating as a generator, de...

A dc machine, operating as a generator, develops 400 V at its armature terminals, corresponding to a field current of 4 A, when the rotor is driven at 1200 r/min and the armature c

Automatic irrigation system on running solar power b, how to upload the pro...

how to upload the program on proteus software by using personal computer

Semiconductors, Charge density I n a semiconductor

Charge density I n a semiconductor

Ldax load accumulator indirect instruction , LDAX  Load Accumulator Indire...

LDAX  Load Accumulator Indirect Instruction This instruction is used to copy data  from memory  location pointed by register  pair only  BC or DE  to the accumulator  HL pair

Show binary to octal conversion, Q. Show Binary to Octal Conversion? It...

Q. Show Binary to Octal Conversion? It is simple to convert from an integer binary number to octal. This is accomplished by: Break the binary number into 3-bit secti

Give example for non-maskable interrupts, Trap is called as Non-Maskable in...

Trap is called as Non-Maskable interrupts, which is used in emergency condition.

Wcdma, what is that mean and explain

what is that mean and explain

Transistors, What is the difference between a hybrid pi and an re model?

What is the difference between a hybrid pi and an re model?

Factors affecting choice of observation, Factors Affecting Choice of Obser...

Factors Affecting Choice of Observation: Observers are influenced by a number of factors in the process of observation. Black and champion have identified three such factors.

Lt metering or low tension metering, LT Metering or Low Tension Metering ...

LT Metering or Low Tension Metering The subsequent types of meters are generally used for LT consumers: Whole Current Meters i)   Single phase meters ii)   3-phase

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