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 the steady state position error, Figure shows the block diagram o...

Figure shows the block diagram of an aircraft pitch stabilization system which uses position, velocity and acceleration feedback. i) Show that for a unit step input the steady s

Asynchronous message passing and synchronous-message passing, Question: ...

Question: a) Differentiate between Asynchronous message passing and Synchronous-message passing. b) If keyboards are the predominant means of interface to human input, the

Illustrate the satellites in outer space, Illustrate the satellites in oute...

Illustrate the satellites in outer space Satellites in outer space transmit signals to Earth. Computers in vehicles (for example car, airplane or ship) receive and interpret th

Engineering drawing, connect two given points A and B by a parabolic curve ...

connect two given points A and B by a parabolic curve when OA=60mm,OB=80mm and angle AOB=110 degree

How to convert binary to decimal number, Q. How to convert Binary to Decima...

Q. How to convert Binary to Decimal number system? It is extremely easy to convert from a binary number to a decimal number. As like the decimal system, we multiply each digit

Non inverting summing amplifier, Q. In the non inverting summing amplifier ...

Q. In the non inverting summing amplifier of Figure, let R d = 1k and M = 6. Find R f so that v =

Discuss important properties and uses of rubber, Discuss important properti...

Discuss important properties and uses of Rubber. Rubber: It is polymeric material along with high elastic yield strain. The various types of rubber materials are given as-

Capacitor-input filter, Capacitor-input filter: The capacitor-input fi...

Capacitor-input filter: The capacitor-input filter, as well called pi filter because of its shape which looks like the Greek letter pi, is a sort of electronic filter. Filter

Superposition theorem, how do you work it out if there are 3 sources in par...

how do you work it out if there are 3 sources in parallel?

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