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

Wein bridge, does wein bridge can be used for frequency measurement? how it...

does wein bridge can be used for frequency measurement? how it is possible?

Write a note on feedback of emitter follower, Q. Write a note on feedback o...

Q. Write a note on feedback of emitter follower? The emitter follower can be seen to be an example of negative feedback when the relationship is put in the form

Guarding against losses in service cables and connections, Guarding Against...

Guarding Against Losses in Service Cables and Connections The service cables to consumer premises are often a source of loss that can be reduced given below. The length of ser

Connection of shunt capacitors - across individual customers, Connection of...

Connection of Shunt Capacitors - Across Individual Customers The most appropriate manner of improving PF of the distribution system and thereby reducing line losses is to link

Smart parking system, Design a smart park system using Iot sensors to udate...

Design a smart park system using Iot sensors to udate stautus to a server ?

What is inter digit time, Q. What is inter digit time? Break time is no...

Q. What is inter digit time? Break time is nominally 61 ms and make time is nominally 39ms. Digits are separated by idle period of 300 ms known as inter digit time. It is vital

DLD, DESIGN SR LATCH WITH UNIVARSAL LOGIC GATES.DRAW AND EXPLAIN THE LOGIC ...

DESIGN SR LATCH WITH UNIVARSAL LOGIC GATES.DRAW AND EXPLAIN THE LOGIC DIAGRAMS

NDT-EDDY CURRENT CRACK DETECTOR PROBE, I am assigned to make above mentione...

I am assigned to make above mentioned thing...Know the theory but need an authentic circuit diagram(simple).It must contain a solenoid and other simple objects

Basic operation of p-channel enhancement mosfet, Q. Basic Operation of  P-...

Q. Basic Operation of  P-channel enhancement MOSFET? In the fabrication of a p-channel depletion field-effect transistor, the gate is insulated from the channel. Therefore, the

Electric machines, a shunt motor supplied at 230V rms runs at 900rev/min wh...

a shunt motor supplied at 230V rms runs at 900rev/min when the armature current is 30A.the resistance of the armature circuit is 0.4 ohms.find the armature input

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