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

Wheaton bridge with differential amplifier, when strain gauge design give a...

when strain gauge design give accurate measurement on zero and maximum 999kg but not 500kg

Find the duration t of the pulse, By a simple time multiplexing of natural ...

By a simple time multiplexing of natural samples over a single line, a large radar site transmits 85 analog signals, each with 200-Hz bandwidth. If the sampling is done at twice th

Voltage transfer function of the high-pass filter, Determine the voltage tr...

Determine the voltage transfer function of the high-pass filter circuit shown in Figure, and find the expression for ω 0 .

Value of current if resistance connected to the battery, One battery having...

One battery having of eight cells in parallel. Emf and internal resistance of every cells is 1.5V and 0.4Ω. Find the value of current if an external resistance of 5Ω is connected t

Three phase steam turbine generator, A 3 phase 400 volt(line to line) wye c...

A 3 phase 400 volt(line to line) wye connected synchronous motor has Xs= 1 ohm per phase and a negligible armature resistance. The field current is so adjusted that the internal(in

..analong course design, Askhigh precision linear amplifier question #Mini...

Askhigh precision linear amplifier question #Minimum 100 words accepted#

Turn off time - thyristor, Turn off Time The time  interval  between...

Turn off Time The time  interval  between  the instant when  the SCR  current  has  decreased to zero  after external  switching  of the SCR  voltage  circuit  and the  inst

Line diagrams of a network-large company, i need a line diagram sample of a...

i need a line diagram sample of a large network, i need to practice how to draw and design such network

Ani immediate with accumulator instruction , ANI AND Immediate  with Accum...

ANI AND Immediate  with Accumulator Instruction 8 bit  data specified  in the  instruction is logically  AND with the  contents  of the  accumulator. The result is stored  in

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