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 nature of the armature voltage, Q. The flux-density distribution p...

Q. The flux-density distribution produced in a two - pole synchronous generator by an acexcited field winding is B(θ, t) = B m sin ω 1 t cos θ Find the nature of the armatur

Explain role/purpose of dummy coils in dc machine winding., Dummy coils : ...

Dummy coils : These coils are used with wave winding and resorted to when the requirement of the winding are not met by the standard armature punching available in armature win

Determine the binary values of the first three samples, A 3-bit quantizer i...

A 3-bit quantizer is utilized to transform the following signal into a binary digital signal. Determine the binary values of the first three samples (assuming the quantizer rounds

Interpretation and analysis using remote sensing, Q. Interpretation and ana...

Q. Interpretation and analysis using remote sensing? Interpretation and analysis using remote sensing Various characteristics of a river can be understood by studying its planf

Fibre optics, 1. A very narrow laser beam in air is shone into a sphere of ...

1. A very narrow laser beam in air is shone into a sphere of solid glass that has a uniform refractive index n>1 and radius ? . The beam makes an angle a in air with the normal to

Diode circuits, Diode Circuits: Prob. (a) Draw the piecewise linear v...

Diode Circuits: Prob. (a) Draw the piecewise linear volt ampere characteristic of a p n diode. What are the circuit models for the ON state and the OFF state. (b) Determ

Digital Signal Processing, What is the difference between the unit step fun...

What is the difference between the unit step function u(n+4) and the time-scaled function u(2n+8)

Block diagram of digital control system, The block diagram of Figure is a f...

The block diagram of Figure is a functional representation of a type of digital control system, in which G and H serve the same function as in any feedback system. Note that the er

Different types of probes used in cathode ray oscilloscope, Q.   Explain th...

Q.   Explain the different types of probes used in cathode Ray Oscilloscope (CRO). Sol. probes: The probe performs the very important function of connecting the test circuit

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