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

Signal in hart protocol, What is the significance of "4-20 mA" signal in ha...

What is the significance of "4-20 mA" signal in hart protocol? Ans) the HART protocol is an old Frequency Shift Keying way of distribution data, typically from highway sensors.

Mobile communications, Problem: (a) Compare the different MAC schemes...

Problem: (a) Compare the different MAC schemes, namely FDMA, SDMA, TDMA and CDMA. (b) Describe with help of diagrams the different phenomena involved in multipath propaga

What do you mean by sub address, Q. What do you mean by sub address? A ...

Q. What do you mean by sub address? A sub address, though a part of the ISDN address, isn't considered as an integral part of the numbering scheme. Sub address is carried in a

Components of plc - stepper motor , Components of PLC There are follow...

Components of PLC There are followings  three main  components of PLC : a.The power supply and rack. b.The central  processing  unit ( CPU) c.The input / output  (I/O

Ampere''s theorem, The    French    scientist,    Ampere,    (1775- 1836), ...

The    French    scientist,    Ampere,    (1775- 1836), conducted a series of experiments on the force between current carrying conductors. He found that: force per metre of wire (

Explain the energy bands in solids, Explain the energy bands in solids. ...

Explain the energy bands in solids. There are as several energy bands in a solid as there are energy levels in the parent atoms. Many electrical properties of significance

Responses to exponential excitations, Responses to Exponential Excitations ...

Responses to Exponential Excitations Let us consider Aest as a typical exponential excitation in which A is a constant and s is a complex- frequency variablewith a dimension of

Effect of supply voltage - stepper motor , Effect of Supply  Voltage ...

Effect of Supply  Voltage a.As the applied  as voltage  is increased hysteresis loss increases. b.Eddy current losses are given by W e α f 2 t 2 B 2 m Where B m =

Explain the applications of emitter follower, Q. Explain the applications o...

Q. Explain the applications of emitter follower. Because of high input impedance and low output impedance an emitter follower is capable of transferring maximum power from the

Solid mensuration, reflections, journey about the subject solid mensuration...

reflections, journey about the subject solid mensuration

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