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

Electronic devices technology and circuits, Please can you explain the oper...

Please can you explain the operation of a transistor in a Common Emitter Class A audio Amplifier?

Electonic principles, can you help with my electronic principle assignment

can you help with my electronic principle assignment

Obtain the value of rs, Consider and obtain the values for R S , R 2 , R 1 ...

Consider and obtain the values for R S , R 2 , R 1 , and R D . Apply the rule-of-thumb dc design procedure outlined in this section for a JFET with V P = 3V, I DSS = 20 mA, and a

In the circuit, see figure on this link: http://tinypic.com/r/1zodevk/8. ...

see figure on this link: http://tinypic.com/r/1zodevk/8. A. j400 I1-j1200 I2 (A) B. -j400 I1+j1600 I2 (A) C. j400 I1+j400 I2 (A) D. -j400 I1-j400 I2 (A)

DLD, draw alogic diagramto implement F=ABCDE using only 3 inputAND gates

draw alogic diagramto implement F=ABCDE using only 3 inputAND gates

Oscillator, how to design colpitts oscillator?

how to design colpitts oscillator?

Define the baud rate with respect to serial communication, With respect to ...

With respect to serial communication define the baud rate. The rate of data transfer into serial data communication is denoted in bps. Bits per second (bps) are the rate of in

Avalanche breakdown region, Avalanche breakdown region: Even though th...

Avalanche breakdown region: Even though these regions are well described for sufficiently large applied voltage, they overlap somewhat for small (less than a few hundred milli

What do you mean by retention of risk, Q. What do you mean by Retention of ...

Q. What do you mean by Retention of Risk? Retention of Risk: In case of this method, the organization voluntarily accepts the risk since either the risk is insignificant or its

Write down shockleys equation, Q. Write down Shockley's equation. What is i...

Q. Write down Shockley's equation. What is its importance? I D = I DSS [1-(V GS /V P )]^2 Shockley's equation is used to plot transfer characteristics. The transfer charac

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