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

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

Designing 100 line exchange using uni-selector, Q. Designing 100 line excha...

Q. Designing 100 line exchange using Uni-selector? Here three different designing methods for 100 line exchange are discussed: Design: Strowger switching system is designe

Obtain the sop expressions for given k map, Q. The K map of a logic functio...

Q. The K map of a logic function is shown in Figure, in which ds denote don't-care conditions. Obtain the SOP expressions.

Circuit symbols for mosfet, Circuit Symbols for MOSFET A range of symb...

Circuit Symbols for MOSFET A range of symbols are employed for the MOSFET. The basic design is usually a line for the channel along with the source and drain leaving it at rig

Explain soft ferrites and their applications, Explain Soft ferrites and the...

Explain Soft ferrites and their applications. Soft ferrites and their applications: Such are non- metallic compounds having ferric oxide and one or two bivalent metal oxides as

Explain the importance of distributing frames, Q. Explain the Importance of...

Q. Explain the Importance of distributing frames? Basically four levels of cabling are used as displayed in Figure. At the subscriber end, drop wires are taken to a distributio

Describe in brief how email system works, Describe in brief how email syste...

Describe in brief how email system works Following is a simple description of how email system works: -  Sender composes a message (and attaches a file if required) and send

Jfet common drain amplifier, Q. JFET Common Drain Amplifier? The common...

Q. JFET Common Drain Amplifier? The common drain FET amplifier is similar to the common collector configuration of the bipolar transistor. A general common drain JFET amplifier

Fields winding - motor control , Fields Winding It produces the workin...

Fields Winding It produces the working  flux, this is also  called exciting winding.

Physics, find the resultant of two forces 20N and25N acting at an angle 60...

find the resultant of two forces 20N and25N acting at an angle 60 degree each other

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