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

Calulation of hv/lv ratio to reduce the line loss, kindly send us the formu...

kindly send us the formula and C program for performance improvement of distribution system using HV/LV ratio. REGARDS ANUJ AGARWALA

Derive the solution of the characteristic equation, For a vehicle suspensio...

For a vehicle suspension, a basic two-degree-of-freedom "quarter-car" model would be slightly more complicated than the spring-mass-damper system I chose to study in Figure 1. The

Clampers, what would the change after adding a registor paralelly in clampe...

what would the change after adding a registor paralelly in clampers?

What are the signals used in input control signal, What are the signals use...

What are the signals used in input control signal & output control signal? Input control signal STB (Strobe input) IBF (Input buffer full) INTR(Interrupt request) Ou

Evaluate supply and the supply power factor, Q. Two balanced, three-phase, ...

Q. Two balanced, three-phase, wye-connected loads are in parallel across a balanced three-phase supply. Load 1 draws a current of 20 A at 0.8 power factor leading, and load 2 draws

Electrical, do you have a place where I can draw the equation out ?

do you have a place where I can draw the equation out ?

Speech Timer, Speech timer where max time is 5 minutes Use the switche...

Speech timer where max time is 5 minutes Use the switches for: start switch reset switch use the lights to represent: the “green” light meaning the

Calculate the resistance of the coil of a transistor, A 6 V / 2.5 mA relay ...

A 6 V / 2.5 mA relay is connected in the output stage of a transistor.  The coil is made of aluminium having α = 0.004. The resistance of the coil is 600 ? at 32 o C. Calculate th

What is meant by amplification, Q. What is meant by amplification? The ...

Q. What is meant by amplification? The basic amplifying elements are, namely valves (vacuum tubes), bipolar transistors and FETs. The term "amplify" basically means to make str

Explain the term assembler directives, Explain the term assembler directive...

Explain the term assembler directives. An assembler directive is a statement to provide direction to the assembler to execute the task of assembly process. These assembler dire

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