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

Energy, Explain different stage in energy audit?

Explain different stage in energy audit?

#electrical wiring, how to draw electric circuit for staircase wiring using...

how to draw electric circuit for staircase wiring using 3 two way switches?

Rectifiers - Rectifiers and inverters , Rectifiers As discussed  above...

Rectifiers As discussed  above the  purpose  of the  rectifier is to  convert the incoming  ac from a transformer or other ac  source  to some  form of  pulsating dc. That it i

Draw the energy diagram of a pn junction, Question: a). Draw the energy...

Question: a). Draw the energy diagram of a pn junction: (i) at thermal equilibrium, (ii) when a forward bias with magnitude half the built in potential (V = φk/2) is applie

Impact of diversity, Both GSM and DECT use GMSK, but with different Gaussia...

Both GSM and DECT use GMSK, but with different Gaussian filters (BGT = 0.3 in GSM, BGT = 0.5 in DECT). What are the advantages of having a larger bandwidth time product? Why is the

Dc circuits, Dc Circuits: In this unit, you have learned about methods...

Dc Circuits: In this unit, you have learned about methods of network analysis which are general in nature such as KCL, KVL, Nodal and Mesh analysis. These general methods may

3rd year electrical/electronics project, I`m a 3rd year electrical engineer...

I`m a 3rd year electrical engineering student studying in Canada, and there is a new course they added in my university for 3rd year students called Engineering Project. from the

Illustrate about transfer functions, Q. Illustrate about Transfer Functions...

Q. Illustrate about Transfer Functions? The transfer function is a means by which the dynamic characteristics of devices or systems are described. The transfer function is a ma

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