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

Determine voltage and current gain, Q. Determine voltage and current gains ...

Q. Determine voltage and current gains for the CE BJT amplifier shown in Figure with the following parameters: R 1 = 30,000, R 2 = 9000 ,R C = 750 ,R E = 250 , R L = 1000 

What do you mean by conductors and insulators, Q. What do you mean by Condu...

Q. What do you mean by Conductors and Insulators? In order to put charge in motion so that it becomes an electric current, one must provide a path through which it can flow eas

Give the properties and application of brass, Give the properties and appli...

Give the properties and application of brass. Brass - It is an alloy of copper and zinc with 60 percent copper and 40 percent zinc. Its electrical resistivity of Brass is 7.0

Explain pentium processor has a superscalar architecture, 'Pentium processo...

'Pentium processor has a superscalar architecture'. Explain the meaning of the statement. The Pentium microprocessor is organized along with three execution units. Single execu

Diode model , Find I and V in the figure using ideal diode model

Find I and V in the figure using ideal diode model

Objectives of electricity and gas hazards, Objectives After studying th...

Objectives After studying this unit, you should be able to: 1. Describe the consequences of passing electric current through human body, 2. State and recognise the colour

Node voltage method, (a) Carry out a topological analysis for the circuit s...

(a) Carry out a topological analysis for the circuit shown in Figure 1.     (i) Construct a graph for the circuit  (ii) State the different trees you can choose.    (b) Us

Required conditions for connecting two transformers, Q. Required Conditions...

Q. Required Conditions for connecting two transformers in parallel? Ans: a) Voltage rating should be same b) Per unit impedance should be same c) Phase sequence should

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