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

Relative permeability, The force between two wires 1 metre apart and each c...

The force between two wires 1 metre apart and each carrying 1 amp is 2 x 10 -7 Newtons when in a vacuum (or in practice, air).However, it is found experimentally that the force is

Advantages and disadvantages of rc coupled amplifier, Q. Advantages and Dis...

Q. Advantages and Disadvantages of rc coupled amplifier? Advantages 1. Aids excellent frequency response.The gain is constant over the audio frequency range 2. It has l

Show the dialling circuit, Q. Show the Dialling Circuit? Dialling circu...

Q. Show the Dialling Circuit? Dialling circuit enables subscriber to output signals representing digits, and this enables caller to enter destination telephone number. Dialling

Determine the power flow diagram for a dc generator, a. Determine the power...

a. Determine the power flow diagram for a DC generator. b. A shunt wound DC generator delivers 496 A at 440 V to a load. The resistance of  the shunt field coil is 110? and that

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

Comparison with vacuum tubes, Comparison with vacuum tubes: Prior to t...

Comparison with vacuum tubes: Prior to the growth of transistors, vacuum (electron) tubes (or in the UK (United Kingdom) "thermionic valves" or just "valves") were the major a

Merits and demerits of collector-to-base bias, Merits and Demerits of Colle...

Merits and Demerits of Collector-to-base bias: Merits: In this type of circuit the circuit stabilizes the operating point against differences in temperature and β (that i

Diode, using a sketch explain the frequency response of rc coupled transist...

using a sketch explain the frequency response of rc coupled transistor amplifier

Resistance of 1200 m of copper cable, Verify the resistance of 1200 m of co...

Verify the resistance of 1200 m of copper cable having a diameter of 12 mm if the resistivity of copper is 1.7 x 10-8 Ωm

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