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

Theft or pilferage of power by the existing customers, Theft or Pilferage o...

Theft or Pilferage of Power by the Existing Customers Power theft through the existing consumers is the predominant cause of loss of revenue to the electrical utilities. Almos

Explain load flow analysis, Explain Load Flow Analysis The method commo...

Explain Load Flow Analysis The method commonly used for load flow analysis is the nodal analysis. The nodal analysis method is given in many books on circuit theory and is base

Why hard magnetic materials are used, Hard magnetic materials are used for ...

Hard magnetic materials are used for making (A) Permanent magnets. (C) Conductors. (B) Insulator. (D)Temporary magnets. Ans: Hard magnetic materials are

Investor demand registration rights, You have been hired by Serge Brink and...

You have been hired by Serge Brink and Larry Park to assist them in the evaluation of a recently issued term sheet from Global VC Partners. The new venture is an Internet startu

What is interrupt service routine, What is interrupt service routine? I...

What is interrupt service routine? Interrupt means to break the sequence of operation. Whereas the CPU is executing a program an interrupt breaks the normal sequence of impleme

Oscilloscope, Describe in detail the construction and working of digital ty...

Describe in detail the construction and working of digital type oscilloscope.

Positive and negative clippers, Positive Clippers The shunt connected p...

Positive Clippers The shunt connected positive clipper, in which the diode conducts for positive half cycle and hence, the output is a straight line. During the negative half c

Where does cpu enhanced mode originate from, Intel's 80386 was the first 32...

Intel's 80386 was the first 32-bit processor, and as the company had to backward-support the 8086. All the modern Intel-based processors run in the improved mode, capable of switch

Radiation intensity pattern of antennas, Q. Radiation intensity pattern of ...

Q. Radiation intensity pattern of Antennas? Antennas do not radiate power equally in all directions in space. The radiation intensity pattern describes the power intensity (whi

Can you explain about slew rate, Q. Can you explain about Slew Rate? Sl...

Q. Can you explain about Slew Rate? Slew (or slewing) rate is a measure of how fast the output voltage can change. It is given by the maximum value of dvo/dt , which is normall

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