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

How an electroscope charged without contacting charged body, An electroscop...

An electroscope charged WITHOUT contacting a charged body is charged by: a) Induction b) Conduction c) Convection d) Insulation Ans: An electroscope char

Sod output - serial input output ports , SOD Output Serial output data ...

SOD Output Serial output data  single  bit can be sent  out through this pin using SIM  command  discussed in details in chapter8.

List the addressing modes supported by 8051, List the addressing modes supp...

List the addressing modes supported by 8051. 1. Register addressing  2. Direct  addressing 3. Register indirect addressing 4. Immediate addressing 5.Register addres

Binary codes, what are the types of binary codes

what are the types of binary codes

Define shunt var compensation, Define Shunt VAr Compensation? Shunt cap...

Define Shunt VAr Compensation? Shunt capacitors absorb leading VArs (i.e. they are used to supply lagging VArs) whereas reactors are used to absorbs lagging VArs. Capacitors an

de1 board, You will design a significant project on the DE1 board. In some...

You will design a significant project on the DE1 board. In some cases you may want to use the breadboard as well - note that all of the pins at the bottom of the breadboard are lab

Explain the suitability of aluminium, Explain the suitability of aluminium ...

Explain the suitability of aluminium  that is used as electrical conducting materials. Aluminium : Conductors are appropriate for ambient and very high temperature. Use of alu

Formal lab report, I need someone help me to do electronics formal lab repo...

I need someone help me to do electronics formal lab report, I tried many time to submit it but I couldn''t? plz help me

Explain shockly''s equation and its significance, Q. Explain shockly's equa...

Q. Explain shockly's equation and its significance in plotting the transfer characteristics ? The linear relationship does not exists in the output of the JFET, the relationshi

Back emf, Transistor Switching Circuit Design a) Sketchy a schematic d...

Transistor Switching Circuit Design a) Sketchy a schematic diagram showing how a transistor can be used to control the operation of a relay b) Determine what is meant by ba

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