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

Draw a neat circuit of colpitt''s oscillator, Q. Draw a neat circuit of Col...

Q. Draw a neat circuit of Colpitt's oscillator using an n-p-n transistor. Give its equivalent circuit obtain expressions for (i) frequency of oscillation and(ii) minimum gain for s

Explain working of induction machine rotor, Q. Explain working of induction...

Q. Explain working of induction machine rotor? The induction machine rotor may be one of two types: the wound rotor or the squirrel-cage rotor. The wound rotor has a polyphase

Binary to octal conversion, Binary  to Octal Conversion To convert a b...

Binary  to Octal Conversion To convert a binary  number into octal  divide the number into  group  of three  bits each  starting from the least significant bit. Then put equiva

What are the features used mode 2 in 8255, What are the features used mode ...

What are the features used mode 2 in 8255? The single 8-bit port in-group A is available. 1. The 8-bit port is bi-directional and additionally a 5-bit control port is availa

Working of analog to digital converter, a) Write down a short note on compe...

a) Write down a short note on compensators. b) Classify filter with relevant sketches. c) Illustrate the principle and working of Analog to Digital converter.

Evaluate parameters of a bjt, Q. The parameters of a BJT are given by α = 0...

Q. The parameters of a BJT are given by α = 0.98, I CBO = 90 nA, and i C = 7.5 mA. Find β, iB, and iE.

Digital signal processing, what can I do to sharpen the roll off and flatte...

what can I do to sharpen the roll off and flatten the passband of a finite impulse response filter

Determine supply current and reactive power, A single phase line has an imp...

A single phase line has an impedance of 8.4 + j11.2 Ω. The line feeds a load consisting of a resistor and an inductor connected in parallel as shown in Figure 1. The load is absorb

What is meant by daisy chaining method, What is meant by Daisy Chaining met...

What is meant by Daisy Chaining method?  It does not need any priority resolving network, rather the priorities of all the devices are effectively assumed to be in sequence.

Functions of the physical layer in the internet model, (a) Describe the f...

(a) Describe the four functions of the physical layer in the Internet Model. (b) (i) With the help of a diagram describe the main stages involved in the digitization of a

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