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

Principles for implementation of strategy in organization, Principles for I...

Principles for Implementation of Strategy in an Organization Organization required focusing on five principles for the successful implementation of strategy. Organizations wil

Motoring mode of rotating machines, Q. Motoring mode of rotating machines? ...

Q. Motoring mode of rotating machines? The motoring mode has electric power input and mechanical power output. The electromagnetic torque Te drives the machine against the load

Find dispersion relation for free electron, Find Dispersion Relation for Fr...

Find Dispersion Relation for Free Electron Question: Find the dispersion relation for a free electron, and, thus, observe the relation between its rest mass and effective ma

Give the properties and application of pvc, Give the properties and applica...

Give the properties and application of PVC. Polyvinylchloride (PVC):  It is replacing rubber to a great extent in veracious applications. There is PVC insulated (non-sheathed)

Explain about subscriber loops signalling, Q. Explain about Subscriber loop...

Q. Explain about Subscriber loops signalling? In a telephone network, subscriber loop signal linger lies upon the kind of a telephone instrument used. The intra exchange signal

Explain limit signal spectrum to prevent aliasing, Explain Limit Signal Spe...

Explain Limit Signal Spectrum to Prevent Aliasing? The sampling frequency should at least be two times that of the highest frequency in the incoming signal to avoid aliasing. T

Transistor in the common base configuration, Draw the circuit of transistor...

Draw the circuit of transistor in the common base configuration. Draw the Active, saturation and cut-off region. List the characteristics of Ideal Op-Amp. Sketch the pin diagram

Led, explain about led

explain about led

Distinguish between paramagnetic and diamagnetic materials, Distinguish bet...

Distinguish between paramagnetic and diamagnetic materials, mentioning at least one example of each. Paramagnetic Materials: The atoms of these materials have permanent magne

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