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 dual tone multi frequency, Q What is Dual Tone Multi Frequency? ...

Q What is Dual Tone Multi Frequency? Dual Tone Multi Frequency (DTMF) was first introduced in 1963 with 10 buttons in Western Electric 1500 -type telephones. DTMF was originall

Determine the maximum value of the voltage, Q. Three waveforms seen on an o...

Q. Three waveforms seen on an oscilloscope are shown in Figure. If the horizontal scale is set to 50 ms per division (500 ms for the entire screen width), and the vertical scale is

How to remove the LSB from the audio recording?, Using the audiorecorder() ...

Using the audiorecorder() function in MATLAB, make a recording of your voice. Use a sample rate of 8kHz, 16 bits per sample, and aim to record around 2 seconds worth. Quantize the

Electric helicopter, examples in building electric helicopter using cardboa...

examples in building electric helicopter using cardboard, balsa wood, scotch tape, glue, binder clips, rubber bands, rubber stoppers, etc. attached to a 12v power supply

Conditions in which rc circuit behaves as differentiator, Q. Explain the co...

Q. Explain the conditions under which an RC circuit behaves as Differentiator Differentiator is a circuit in which the output voltage is directly proportional to the derivative

What is the desirable properties of an insulation material, What is the des...

What is the desirable properties of an insulation material? Insulation materials have the desirable properties are as follows: 1. Very fine dielectric strength such as of mi

Modern AC Generators, What are the advantages of modern ac generators and I...

What are the advantages of modern ac generators and Integrated Drive Generators? There are two questions here. I''d really like it if somebody could help me. I''m an AE student.

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

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

Inverting integrator circuit, Q. Consider the inverting integrator circuit ...

Q. Consider the inverting integrator circuit shown in Figure. Let C = 0.4µF and R = 0.1M. Sketch v o for a period of 0.5 s after the application of a constant input of 2 V at the

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