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

Explain periodic signals and fourier series, Q. Explain Periodic Signals an...

Q. Explain Periodic Signals and Fourier Series? In the study of analog systems, predicting the response of circuits to a general time-varying voltage or currentwaveformx(t) is

Determine the full load voltage regulation, A 25KVA, 3 phase, wye-connected...

A 25KVA, 3 phase, wye-connected, 400v synchronous generator has a synchronous impedance of 0.05 +j1.6 ohms per phase. Determine the full load voltage regulation at (a) 0.8 power

DC Generator, What is Commutator? Explain in brief about the Commutator act...

What is Commutator? Explain in brief about the Commutator action in dc generator.

Revenue protection and technology interventions in metering, Revenue Protec...

Revenue Protection and Technology Interventions in Metering The power supply industry has reached an impasse where urgent steps are needed to improve the financial health of t

Compute the area of each plate, Q For a parallel-plate capacitor with plate...

Q For a parallel-plate capacitor with plates of area A m 2 and separation d m in air, the capacitance in farads may be computed from the approximate relation Compute the a

Objective of long-term plans for technical loss reduction, Objective of Lon...

Objective of Long-Term Plans for Technical Loss Reduction The primary objectives of strengthening and improvement of sub-transmission and distribution system in the long-term

Show function of compensating plate in interferometer, Q. Show Function of ...

Q. Show Function of Compensating Plate in interferometer? In absence of plate G2 the reflected ray passes the plate G1 twice, whereas the transmitted ray does not passes even o

Robotic Arm Project, This is basically a simple senior design project where...

This is basically a simple senior design project where the professors are giving us a limited budget and providing us with an Arduino Board. (We can use rasberry pi, beagle bone, e

Explain resistivity, Explain Resistivity. Resistivity : Resistance R o...

Explain Resistivity. Resistivity : Resistance R of a wire containing cross-sectional area A and length L maintain the relationship, - R α L and R α 1/A; that is resulting R α

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