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

Requirement of a hybrid in telephone networks, Q. What is the requirement o...

Q. What is the requirement of a hybrid in telephone networks? How does it work? Ans: Digital exchanges require receive and transmit signals on separate two-wire circuits. Th

Wireless cellular systems, i want help in builiding a simulator of cellular...

i want help in builiding a simulator of cellular systems under different frequency reuse scenarios?

Explain the working of a bootstrap sweep generator, Q. Use necessary circui...

Q. Use necessary circuit and waveforms to explain the working of a Bootstrap sweep generator The bootstrap circuit illustrated in figure given below is a commonly used method f

What do you mean by double word, Q. What do you mean by Double Word? A ...

Q. What do you mean by Double Word? A double word is precisely what its name implies, two words. Thus, a double word quantity is 32 bits. Logically, this double word can be div

Difference between neg and not instructions, Mention how do the NEG & NO...

Mention how do the NEG & NOT instructions differ in their functionality Here, NOT: The one's complement or logical inversion NEG: The two's complement or arith

Dc motor control, how thyristor work in speed control??

how thyristor work in speed control??

Determine rc and resistance, Q. A silicon npn BJT is biased by the method s...

Q. A silicon npn BJT is biased by the method shown in Figure, with R E = 240 , R 2 = 3000 , and V CC = 24 V. The operating point corresponds to V BEQ = 0.8V, I BQ = 110 µA,

Works, Microprocessor and its Applications

Microprocessor and its Applications

Microcontroller, Project Garage door opener with password. Wrong password ...

Project Garage door opener with password. Wrong password "door close" on lcd screen, correct password "door open" on lcd Screen no need the motor. Material used - Microcontroller

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