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

SINGLE-PHASE INDUCTION MOTORS MOTORS, HOW DOES SINGLE PHASE INDUCTION MOTOR...

HOW DOES SINGLE PHASE INDUCTION MOTORS DEVELOP A STARTING TORQUE ?

Insulation resistance, how can we increase insulation resistance of sheet

how can we increase insulation resistance of sheet

Merits and demerits of voltage divider bias, Merits and Demerits of Voltage...

Merits and Demerits of Voltage divider bias: Merits: 1. Not like the above circuits, only one dc supply is essential. 2. Operating point is approximately independent o

Determine the maximum electric field in the depletion region, An abrupt sil...

An abrupt silicon (n i = 10 10 cm -3 ) p-n junction consists of a p-type region containing 10 16 cm -3 acceptors and an n-type region containing 5 x 10 16 cm -3 donors. a)

Can you explain binary number systems, Q. Can you explain Binary Number Sys...

Q. Can you explain Binary Number Systems? The Binary numbers are used to represent digital information because like most digital systems, binary numbers have only two possible

Digital electronic, how many data input and data output line for 8k 16-bits...

how many data input and data output line for 8k 16-bits?

Superposition, find current across r3 with two voltage as sources

find current across r3 with two voltage as sources

Show limitations of microprocessor-based control systems, Q. Show limitatio...

Q. Show limitations of microprocessor-based control systems? Practical limitations of microprocessor-based control systems stem from the following considerations: • Finite-w

Explain instruction sets of 8085, Explain instruction sets of 8085. a) ...

Explain instruction sets of 8085. a)  Data transfer group - MOV, MVI, LXI. b)  Arithmetic group - ADD, SUB, INR. c)  Branch group - JMP, JNZ, CALL. d)  Logical group -

Draw the implementation of time invariant system, Draw the implementation o...

Draw the implementation of time-invariant system A linear time-invariant system is described by the difference equation: y[n] = 2x[n] - 3x[n - 1] + 2x[n - 2]   Draw the i

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