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

Domestic financial system, Q. "Developing countries could delay opening the...

Q. "Developing countries could delay opening the capital account until the domestic financial system is strong enough to withstand the sometimes flow of world capital and violen

Determine the parameters of the equivalent circuit, The no-load and blocked...

The no-load and blocked-rotor tests on a three phase, wye-connected induction motor yield the following results: • No-load test: line-to-line voltage 400 V, input power 1770 W,

Find the antenna temperature, Q. If an antenna has an available noise power...

Q. If an antenna has an available noise power of 1.6 × 10 -15 W in a 1-MHz bandwidth, find the antenna temperature.

Saturate the transistor with the base overdriven, For the circuit of Figure...

For the circuit of Figure, given that V CC = 5V, R C = 1k, β = 100, and the high range is 4 to 5 V, choose R B such that any high input will saturate the transistor with the ba

What is effect of temperature on semiconductor conductivity, What is the ef...

What is the effect of temperature on conductivity of semiconductor? Electrical conductivity of semiconductor changes appreciably along with temperature changes. At absolute zer

Relative permeability of the cast steel, A closed magnetic circuit of cast ...

A closed magnetic circuit of cast steel having a 6cm long path of cross-sectional area 1cm 2 and a 2 cm path of cross-sectional area 0.5 cm 2 . A coil of 200 turns is wound around

Open-circuit and load characteristics of generator, Q. Open-circuit and loa...

Q. Open-circuit and load characteristics of generator? The open-circuit and load characteristics of a separately excited dc generator, along with its schematic diagram of conne

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