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

Find the bandwidth of the modulated signal, The signal m(t), whose frequenc...

The signal m(t), whose frequency spectrum M(f ) is to be transmitted from one station to another. Let the signal be nor- malized, i.e., -1 ≤ m(t) ≤ 1. Find the bandwidth of the mod

What is txd, What is TXD? TXD- Transmitter Data Output This output p...

What is TXD? TXD- Transmitter Data Output This output pin carries serial stream of the transmitted data bits by with other information like start bit, stop bits and priority

Compute the capacitance per unit length, Write a program implementing the c...

Write a program implementing the conjugate gradient method (un-preconditioned). Solve the matrix equation corresponding to a finite difference node-spacing, h = 0.02m in x and y di

What are tightly coupled systems, What are tightly coupled systems or close...

What are tightly coupled systems or closely coupled systems? In a tightly coupled systems the microprocessor (either coprocessor or independent processors) might be share a com

Compound motor , Compound motor It is possible to arrange for part of...

Compound motor It is possible to arrange for part of the field  coil to be in series with the armature and part in parallel   This gives rise to a motor with a mix

Gets parameter schematic, Open the GetSParameter schematic. You will need t...

Open the GetSParameter schematic. You will need to modify the design to include the biasing components. (Even at this stage I would recommend the use of models of real resistors th

Explain stages of attending to rail fracture, Q. Explain stages of attendin...

Q. Explain stages of attending to Rail fracture? Various stages of attending to Rail fracture / weld failure in a L.W.R. track in field - Equipment required - i) Special

Load balancing and load management, Load Balancing and Load Management ...

Load Balancing and Load Management It has been observed in which the load on all three phases of a distribution line and between the feeders is not balanced. This output in in

What are the different types of distributing frames, Q. What are the differ...

Q. What are the different types of distributing frames used in exchanges? Ans: Different distribution  frames  used  in  exchange  are  displayed in  figure.  Each subscribe

Actuators , Actuators These devices convert electromagnetic energy to...

Actuators These devices convert electromagnetic energy to mechanical energy to produce intermittent mechanical movement (e.g. opening a valve in a central heating system or c

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