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

Induced emf, what is the difference between statically and dynamically indu...

what is the difference between statically and dynamically induced emf?

Digital electronics, Design a 4-bit synchronous counter that has the follow...

Design a 4-bit synchronous counter that has the following sequence: 0 ?4? 9?12 ? 14 ?15 and repeat using: i) JK FF ii)D FF

What are the three transistor configurations, Q. What are the three transis...

Q. What are the three transistor configurations?     The three configurations are common base (CB),common collector (CC) & common emitter(CE). The connection in which the base

What do you mean by capacitance, Q. What do you mean by Capacitance? An...

Q. What do you mean by Capacitance? An ideal capacitor is an energy-storage circuit element (with no loss associated with it) representing the electric-field effect. The capaci

Machines, what is power factor of generator at overexcitation

what is power factor of generator at overexcitation

Dc motors, costruction and working of dc motor

costruction and working of dc motor

Show advantage of digital control system over analog system, Q. Show Advant...

Q. Show Advantage of digital control system over analog system? Sampled data and digital control offer several advantages over analog systems: • More compact and lightweight

Introduction to electronics, Explain the difference between a microprocesso...

Explain the difference between a microprocessor and an embedded microcontroller

Diodes, Analysis of diode circuits

Analysis of diode circuits

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