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

Simulink, I need help in Simulink model (.mdl) (discrete) for the topic “se...

I need help in Simulink model (.mdl) (discrete) for the topic “sensorless control of the pmsm using Back EMF method” with detailed explanation of the estimator (Back EMF method).

Explain wireless electromagnetic channels, Q. Explain Wireless electromagne...

Q. Explain Wireless electromagnetic channels? Wireless electromagnetic channels are used in wireless communication systems, in which the electromagnetic energy is coupled to th

Calculate the starting torque, A squirrel-cage inductionmotor operates at a...

A squirrel-cage inductionmotor operates at a slip of 0.05 at full load. The rotor current at starting is five times the rotor current at full load. Neglecting stator resistance and

Circuit realization of the srff, Q. You are to construct a modified truth t...

Q. You are to construct a modified truth table for the circuit realization of the SRFF shown in Figure. As indicated in the text, you guess an output and then go back ato check it

Explain basic working of ideal operational amplifier, Q. Explain basic work...

Q. Explain basic working of Ideal operational amplifier? The operational amplifier, known also as op amp, consists of several transistors, diodes, capacitors, and resistors. It

DC motor, why DC motors use field winding instead of armature winding

why DC motors use field winding instead of armature winding

Comparison between motorola processors and intel processors, Differentiate ...

Differentiate between Motorola processors and INTEL processors. Comparison between Motorola processors and INTEL processors: AMD/Intel processors are actually about similar t

Cellular telecommunication sector - software defined radio, Cellular teleco...

Cellular telecommunication sector - Software Defined Radio As of now, every cell phone transmits and receives information through a speci?c standard. If we have to change the s

Working of r digital to analog converter, 2 n -R D/A CONVERTER An n-bit...

2 n -R D/A CONVERTER An n-bit 2 n -R D/A converter needs 2 n resistors of equal value R and (2 n+1 -2) analog switches. A 3-bit 2 n -R D/A converter is shown in Figure, which

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