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

What is idss, Q. What is Idss. What are the conditions for its maximum valu...

Q. What is Idss. What are the conditions for its maximum value? The term 'Idss' refers to saturation condition of the Drain current. From the above graph it's clear that as the

Chemistry, write a short note on Scale

write a short note on Scale

Rst restart instructions , RST Restart Instructions Restart instructio...

RST Restart Instructions Restart instructions  are one byte call instructions. Called location for each restart instruction is  predefined on page 0 ( read only memory). They

Planning and research in power system, Q. Planning and Research in power sy...

Q. Planning and Research in power system? Energy research worldwide is assuming top priority, in particular because of economic, en - vironmental, and resource constraints. DOE

Shunt dc motor, Shunt DC motor In this arrangement, the armature and f...

Shunt DC motor In this arrangement, the armature and field coils are connected in parallel (the motor is called 'shunt connected').     Analysis With refere

What do you mean by frequency response, Q. What do you mean by Frequency re...

Q. What do you mean by Frequency response? Now let us examine the response of a circuit to a sinusoidal source, called an oscillator, whose frequency can be varied.Known as the

Motor windings, What is the main function of dummy coul in winding?

What is the main function of dummy coul in winding?

Determine the value of the capacitance in single phase, Q. Three loads in p...

Q. Three loads in parallel are supplied by a single phase 400-V, 60-Hz supply: Load A: 10 kVA at 0.8 leading power factor Load B: 15 kW at 0.6 lagging power factor Load C:

Function of time base generator, Q. Explain the function of time base gener...

Q. Explain the function of time base generator in CRO. Sol. Oscilloscopes are used to display a waveform that varies as a function of time. If the waveform is to be accuratel

Reflection and retraction in cables and their calculations, How do I calcul...

How do I calculate the line-cable and cable-line values of reflection and refraction coordinates?

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