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

How many simultaneous calls can be made during peak time, Q. In a hundred-...

Q. In a hundred-line exchange 24 two-motion selectors are used. Draw schematic you suggest for this exchange and illustrate its working. How many simultaneous calls can be made du

Microprocessor, what is the function of CBW in the microprocessor

what is the function of CBW in the microprocessor

If a feeder circuit-breaker trips what action is required, Q. If a feeder c...

Q. If a feeder circuit-breaker trips, what action is needed? Ans: First isolate the faulty feeder check the faulty area on which fault the breaker was tripped (open circuit,

#title.Electrical Machine., ) Design a suitable double –layer lap winding f...

) Design a suitable double –layer lap winding for a 6-pole dc armature with 18 slots

Draw a block diagramfor a 2-to-4 decoder, Q. Draw a block diagramfor a 2-to...

Q. Draw a block diagramfor a 2-to-4 decoder. Obtain the truth table, and develop a logic diagram.

Explain operation modes of programmable interval timer 8254, Explain modes ...

Explain modes of operation of programmable interval timer 8254. Mode 0 - Interrupt upon terminal count Mode 1 - Programmable one-shot Mode 2 - Rate Generator Mode 3 -

Define diffusion length, Define diffusion length: Sol. Diffusion len...

Define diffusion length: Sol. Diffusion length is defined as the distance, travelled by free carriers before recombining. It may also be defined as the average distance cove

Integrator with positive voltage on a noninverting input, Q. An integrator ...

Q. An integrator with positive voltage on a noninverting input is shown in Figure. Sketch v o for 60 ms after S has been opened.

Common channel signalling, Common channel signalling Signalling system...

Common channel signalling Signalling systems link the variety of switching systems, transmission systems and subscriber equipments in telecommunication network to enable

Determine the voltage across each resistor, For the circuit of Fig: (i) ...

For the circuit of Fig: (i) using Kirchoff's Laws , find all the currents (ii)  determine the voltage across each resistor and check that all loops comply with KVL (iii

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