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

Working of r-2r ladder converter, R-2R LADDER CONVERTER Figure shows a ...

R-2R LADDER CONVERTER Figure shows a 4-bit R-2R ladderD/Aconverter,which contains a reference voltage source, a set of four switches, two resistors per bit, and an op amp. The

Strain gauge bridge circuit, Explain kinds of strain gauge bridge circuits ...

Explain kinds of strain gauge bridge circuits and resistance strain gauges.

Explain index mode and base address mode, Explain index mode and base addre...

Explain index mode and base address mode (with examples) available in microprocessors. Index Mode and Base Address Mode: Address supplied through the instruction is adde

Show that the output will be high, Considering the TTL NAND gate circuit of...

Considering the TTL NAND gate circuit of Figure, with one or more inputs low, show that the output will be high.

Hall effect, Describe hall effect?also describe it''s mathematical analysis...

Describe hall effect?also describe it''s mathematical analysis and it''s properties

Jfet applications, how is it possible to operate Q3 with no dc drain? where...

how is it possible to operate Q3 with no dc drain? where is the dc operating point?

What is the minimum sampling rate, Q. The magnitude spectrum of a continuou...

Q. The magnitude spectrum of a continuous  image is as given below.  a) Sketch the frequency response of the sampled spectrum if   ωs =1.5 ωm along x and 3ωm along  y directions

Design a crossover circuit for loudspeaker, The aim of the research paper i...

The aim of the research paper is to design a crossover circuit for loudspeaker that will be used with a 2-way speaker. Circuit consists of the resistors, capacitors and operational

Stax store accumulator indirect instruction , STAX Store  Accumulator  In...

STAX Store  Accumulator  Indirect Instruction This  instruction is used to  copy data from accumulator to the memory  location pointed by register pair ( only  BC or DE pair).

Express the differential equation, A network function is given by ...

A network function is given by (a) For x(t) = δ(t), obtain y(t). (b) For x(t) = u(t), obtain y(t). (c) For x(t) = e -4t , obtain y(t). (d) Express the differenti

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