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

VLSI, In my designed analog circuit,efficiency is measured at steady state ...

In my designed analog circuit,efficiency is measured at steady state or transient state of my output node? Efficiency of MOSFET circuit given in datasheets of any product is measur

Compute the area of each plate for parallel-plate capacitor, Q. For a paral...

Q. For a parallel-plate capacitor with plates of area A m 2 and separation d m in air, the capacitance in farads may be computed from the approximate relation Compute the

Switching characteristics, Switching Characteristics The switching  cha...

Switching Characteristics The switching  characteristic  of an IGBT  during  turn on and turn off time all  shown  in the sum of delay time  and rise time gives  the total  tur

Show the r-1s complement, Q. Show the r-1s Complement? Subtract eve...

Q. Show the r-1s Complement? Subtract every digit of the number from r-1 (the radix of the system - 1)ex.             952 10

Distribution - salient features of nep, Distribution: This has been re...

Distribution: This has been recognized as the most critical segment of the electricity business. Here the NEP calls for proper restructuring of distribution utilities for achi

Energy meter, Energy Meter 1. The energy meter is the cash register of...

Energy Meter 1. The energy meter is the cash register of the utility. Energy meters form a vital instrument of revenue realization for the Supply Utilities. Based on the meter

Sampling, Write an m-file "sampling.m", which will take as an input:  a sig...

Write an m-file "sampling.m", which will take as an input:  a signal and a sampling step and will display the sampled signal and the magnitude of its Fourier transform. sampling

Explain hand shakingfor the allocation of addresses, Explain Hand shakingfo...

Explain Hand shakingfor the allocation of addresses to memories and input output devices. Hand shaking: During an ASYNCHRONOUS data transfer is not based upon predetermined tim

Define serial in - parallel out shift registers, Define Serial In - Paralle...

Define Serial In - Parallel Out Shift Registers? For this type of register data bits are entered serially in the same manner as discussed in the last section and the difference

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