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

What is accelerated graphics port, What is AGP? AGP: The latest additio...

What is AGP? AGP: The latest addition for many computer systems is the inclusion of the accelerated graphics port. This AGP operates at the bus clock frequency of the microproc

Telecommunication principles, Draw the block diagram of TDM-PCM system. Exp...

Draw the block diagram of TDM-PCM system. Explain each block. Calculate the bit rate at the output of this system

Define multiple inputs - control system, Define Multiple Inputs - Control S...

Define Multiple Inputs - Control System When there is much more than one input to a system, the superposition principle can be employed. This is that: The response to variou

Estimate the bandwidth by using carsons rule, Let a message signal m(t) hav...

Let a message signal m(t) have a bandwidth of 10 kHz and a peak magnitude of 1 V. Estimate the bandwidth, by using Carson's rule, of the signal u(t) obtained when m(t) modulates a

What do you mean by instrument transformers, Q. What do you mean by Instrum...

Q. What do you mean by Instrument transformers? These are generally of two types, potential transformers (PTs) and current transformers (CTs). They are designed in such a way t

#speed control, explain speed control of dc motor

explain speed control of dc motor

Dynamic response of control systems, Q. Dynamic Response of Control Systems...

Q. Dynamic Response of Control Systems? The existence of transients (and associated oscillations) is a characteristic of systems that possess energy-storage elements and that a

Speed control of dc series motor - motor control , Speed Control of DC Seri...

Speed Control of DC Series Motor A half  wave  circuit  for the  speed  control of DC  series motor is  shown in figure and corresponding wave from  is shown  in figure  consis

Practical properties of operational amplifiers, Q. Practical properties of ...

Q. Practical properties of operational amplifiers? To achieve voltage gain and consequently power gain, the op amp must be biased by a dc source. The biasing network is compris

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