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

General purpose registers, General  Purpose  Registers Registers B, C...

General  Purpose  Registers Registers B, C ,D, E H , and L   are 8 bit  general  purpose  registers. These  registers store  8 bit  data  temporarily  for processing. Some

Find the rated and maximum torques, A 4000-V, 5000-hp, 60-Hz, 12-pole synch...

A 4000-V, 5000-hp, 60-Hz, 12-pole synchronous motor, with a synchronous reactance of 4  per phase (based on cylindrical-rotor theory), is excited to produce unity power factor at

Determine the armature current and power factor of the motor, A three-phase...

A three-phase, wye-connected, 2300-V, 60-Hz, round-rotor synchronous motor has a syn- chronous reactance of 2 per phase and negligible armature resistance. (a) If the motor tak

Role of consumers in distribution reform, Role of Consumers in Distribution...

Role of Consumers in Distribution Reform In the reforms procedure, mandatory metering for all consumers is being implemented.  Consumers should implement this measure. Public

Transistor Amplifier, I need help designing a BJT amplifier with that meets...

I need help designing a BJT amplifier with that meets the following parameters: voltage gain greater than 300, Ic(Vce=0)=2uA, Vcc=20V.

Wien bridge, How i prepare a wien bridge for my college assignemen?

How i prepare a wien bridge for my college assignemen?

Power flow analysis, Ask question #Minimum 10] In the system shown in Fig...

Ask question #Minimum 10] In the system shown in Figure 4-1, the rated voltage of the line is 110kv, and the conductors are all LGJ-120 type. The parameters are: r1=0.21O/km,x1=0

Illustrate inverting operational amplifier, (a) Give the characteristics of...

(a) Give the characteristics of ideal OP-Amp? (b) Illustrate inverting operational amplifier with feedback. get the expression for voltage gain with feedback? Write short not

How to make lpg safer in the laboratory, How to Make LPG Safer in the Labor...

How to Make LPG Safer in the Laboratory The following must be observed in the laboratory: 1. The LPG cylinders should be kept outside the laboratory in a ventilated room.

Band Pass active filter, How to design band pass active filer? Any software...

How to design band pass active filer? Any software avaialble

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