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

Briefly discuss about cascaded amplifier, Q. Briefly discuss about ‘Cascade...

Q. Briefly discuss about ‘Cascaded Amplifier' using a diagram? Amplifiers are cascaded when the output of the first is the input to the second. The combined gain is whe

Sinusoidal analysis by using mesh equations and matlab, This example is con...

This example is concerned with steady-state sinusoidal analysis by using mesh equations and MATLAB. Let us consider the circuit shown in Figure and find the input impedance at the

Effect of feedback on dynamic response and bandwidth, Q. Effect of feedback...

Q. Effect of feedback on dynamic response and bandwidth? Let us consider the block-diagram representation of the open-loop system shown in Figure 16.2.5(a), whose direct transf

Find the current, 1. A 1 μm long and 100 μm 2 cross-sectional area silicon...

1. A 1 μm long and 100 μm 2 cross-sectional area silicon bar is doped with 10 16 /cm 3 phosphorous. Use the graph below to: a. Find the current at 300°K with 10 V applie

For parity flag - conditional jumps , For parity Flag  JPE ( jump on ...

For parity Flag  JPE ( jump on Parity even ) and  JPO  ( Jump or Parity Odd) Instruction JPE  transfer  the execution of the  program  to the specified memory  address i

What is dmx, What is DMX? It is a communications protocol between step ...

What is DMX? It is a communications protocol between step motors, actuators and an electronic circuit. A kind of language among elements there different manufacturers can use c

What is stored program control, Q. What is Stored Program Control ? Sto...

Q. What is Stored Program Control ? Stored Program Control:Modern digital computers use stored programmed concept. Here, a program or a set of instructions to the computer is s

Pass band of the resulting bandpass filter, A bandpass filter design can be...

A bandpass filter design can be accomplished through the cascade connection shown in Figure, where the frequencies between the two cutoffs fall in the passband of both filters and

moving average model, Altavox is a manufacturer and distributor of a lot o...

Altavox is a manufacturer and distributor of a lot of electronic instruments and devices, including digital/analog multimeters, function generators, oscilloscopes, frequency counte

Explain about ''emitter follower'', Q. Explain about 'Emitter Follower'? ...

Q. Explain about 'Emitter Follower'? EMITTER FOLLOWER : An emitter follower circuit shown in the figure is widely used in AC amplification circuits. The input and output of the

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