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

Equivalent circuit of a field-effect transistor, Q. The circuit shown in Fi...

Q. The circuit shown in Figure is the equivalent circuit of a field-effect transistor (FET) amplifier stage. (a) Determine the y-parameters. (b) For values of µ = g m /g d >

Explain the importance of planning in an organisation, Question 1: Plan...

Question 1: Planning is one of the primary functions of management. (a) Explain the importance of planning in an organisation. (b) How can managers develop an effective a

Explain the different instruction formats, Explain the different instructio...

Explain the different instruction formats with examples The instruction set is grouped into the following formats One byte instruction MOV C,A Two byte instruction

RLC series, What is Average value in AC circuit?

What is Average value in AC circuit?

Decoder - introduction to microprocessors , Decoder A decoder is  logic...

Decoder A decoder is  logic  circuit  that energizes a particular  output line for each  combination of input  signal. Fig   shown  the block  diagram  logic diagram  and fu

What do you mean by signal multipath, Q. What do you mean by Signal multipa...

Q. What do you mean by Signal multipath? Signal multipath occurs with electromagnetic wave propagation via sky wave in the HF range. When the transmitted signal reaches the rec

Clippers, what is shunt clipper?

what is shunt clipper?

Find the minimum practical value frequency, A radar systemuses pulses of du...

A radar systemuses pulses of duration D tomodulate the amplitude of a radio carrierwave. The system can distinguish between targets spaced apart by a distance of d ≥ cD, where c is

What is occur in density flux state- ferromagnetic material, In a ferromagn...

In a ferromagnetic material the state of flux density is as follows when external magnetic field is applied to it. (A) Increased (B) Becomes zero (C) Remains unchang

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