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

Find the characteristic impedance, (a) Now consider a typical open-wire tra...

(a) Now consider a typical open-wire transmission line with parameters of R = 14 /mi, L = 4.6 mH/mi, C = 0.01 µF/mi, and G = 0.3×10 -6 S/mi. If the line operates at 1 kHz, find t

Define time and shift invariant, Define Time and Shift Invariant? Time ...

Define Time and Shift Invariant? Time and shift invariant means that the system characteristics and shift do not change with time, i.e. the system output is independent of the

Dc generators, An eight pole dc generator has an armature wound with 768 co...

An eight pole dc generator has an armature wound with 768 conductors each capable of carrying 50A without overheating. The emf generated in each conductor is 1.5V. Calculate the th

What is time switches, Q. What is Time Switches? Principle of a time sw...

Q. What is Time Switches? Principle of a time switch is displayed in Figure. It connects an incoming n channel PCM highway to an outgoing n channel PCM highway. As any incoming

Calculate generated emf, Q.  A shunt generator gives full load output of 3...

Q.  A shunt generator gives full load output of 30 kW at a terminal voltage of 200V. The armature and field resistance are 0.05? and 50? resp.. The iron and friction losses are 10

Norton equivalent circuit, Cointruct and simulate using multisim software a...

Cointruct and simulate using multisim software a series voltage regulator to supply 1A to a load at a constant voltage of 9V. The supply voltage to regulator is 15V±10%. The minimu

Masking - immediate with accumulator instruction , Masking As we know...

Masking As we know the MASJ is used  to cover  some part  of our  face  which  we want to hide  and to  show  other part of the face  which  we want to show. Similarly  the

Determine voltage in given figure, Q. An n-channel JFET having V P = 3.5 V...

Q. An n-channel JFET having V P = 3.5 V and I DSS = 5 mA is biased by the circuit of Figure with V DD = 28 V, RS = 3000 , and R 2 = 100 k. If the operating point is given by

Literature review on co2 positive displacement pump, Ask question introduc...

Ask question introduction of co2 single stroke positive displacement pump using cam and follow system to transfer co2 into small cylinders

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