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

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,

What are the major systems of a telecommunication network, Q. What do you u...

Q. What do you understand by major systems of a telecommunication network? Explain in detail the subscriber loop systems. Ans: Major systems of any telecommunication netw

Define causal system - discrete time systems, Define Causal System - Discre...

Define Causal System - Discrete Time Systems? A causal system is one which produces an output only when there is an input. All physical systems are causal. In general, a causal

Magnitude comparator, circuit diagram of 2 bit magnitude comparator

circuit diagram of 2 bit magnitude comparator

project, I want to make project plz help me n gove me idea about actually ...

I want to make project plz help me n gove me idea about actually its my first year in electrical engineering thts why Ineed help hpfully you will reply soon

Unit to measure the electric charge q, Unit to measure the electric charge ...

Unit to measure the electric charge Q?? The unit used to measure the quantity of electrical charge Q is called the coulomb C

LED, PRINCIPLE OF LED

PRINCIPLE OF LED

Digital Electronics, You are expected to do the experimentation on digital ...

You are expected to do the experimentation on digital electronics and realize the result...

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