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

Compute the generator efficiency at full load, Q. A 100-kW, 230-V, dc shunt...

Q. A 100-kW, 230-V, dc shunt generator, with R a = 0.05 , and R f = 57.5  has no-load rotational loss (friction, windage, and core loss) of 1.8 kW. Compute: (a) The generato

Explain jmp instruction and call instruction., Explain the difference betwe...

Explain the difference between a JMP instruction and CALL instruction. A JMP instruction permanently alters the program counter. A CALL instruction leaves information on the st

Newton raphson , hi can you help with newton raphson?

hi can you help with newton raphson?

Explain how to represent power lines, Explain How to Represent Power Lines?...

Explain How to Represent Power Lines? The equivalent circuit of a power line depends on the length of the line and on the accuracy of the model required. In general, any power

DC motor and DC generator, write down the similarities between motors and g...

write down the similarities between motors and generators

Calculate I function using logic gates, I need I circuit that calculates f(...

I need I circuit that calculates f(n) = 2^2^n, where n is a 4bit number. I tried with a decoder but unsuccessfully.

What is the speciality of a darlington transistor, Q. What is the specialit...

Q. What is the speciality of a darlington transistor? A darlington pair behaves like a single transistor with a very high current gain. The total gain of the darlington is the

What do you mean by blocking probability, Q. What do you mean by Blocking P...

Q. What do you mean by Blocking Probability? Blocking Probability:Blocking probability P is defined as probability that all the servers in system are busy. When all servers are

Negative voltage regulator series, Negative Voltage Regulator series with N...

Negative Voltage Regulator series with Nine voltage options - IC 7900 Series The IC 7900 series of fixed output negative voltage regulators are complements to the 7800 seri

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