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

Calculate the resistance of the coil of a transistor, A 6 V / 2.5 mA relay ...

A 6 V / 2.5 mA relay is connected in the output stage of a transistor.  The coil is made of aluminium having α = 0.004. The resistance of the coil is 600 ? at 32 o C. Calculate th

Define the dma controller interface, Define the DMA controller interface. ...

Define the DMA controller interface. A DMA controller interfaces along with a few peripherals which may request DMA. The controller chooses the priority of simultaneous DMA req

Industrial approach of speed control dc series motor, industrial approach o...

industrial approach of speed control of dc series motor

Characteristics of common drain amplifier, Normal 0 false fal...

Normal 0 false false false EN-IN X-NONE X-NONE

Determine the stator current and power factor, A ¼-hp, 230-V, 60-Hz, four-p...

A ¼-hp, 230-V, 60-Hz, four-pole, single-phase inductionmotor has the following parameters and losses: R 1 = 10 , X l1 = X l2 = 12.5 ,R 2 = 11.5 , and X m = 250 . The core

What is extended memory system, What is XMS? XMS: The memory system is ...

What is XMS? XMS: The memory system is splits in three major parts as: system area, XMS (extended memory system) and TPA (transient program area). The kind of microprocessor in

Find transmission bandwidth required of telemetry system, Find the transmis...

Find the transmission bandwidth required of a data telemetry system that is to handle three different signals with bandwidths W 1 = 1 kHz, W 2 = 2 kHz, and W 3 = 3 kHz, by emplo

Low investments in transmission and distribution system, Low Investments in...

Low Investments in Transmission and Distribution System The investment on T&D system in our country has commonly been lower than that on generation. It is hugely believed in

How you can convert a galvanometer to a voltmeter, To convert a galvanomete...

To convert a galvanometer to a voltmeter, you should add a: a) High resistance in series b) High resistance in parallel c) Low resistance in series d) Low resis

Working of a negative clamping circuit, Q. Draw and explain the working of ...

Q. Draw and explain the working of a negative clamping circuit. The clamping network shown above is a negative clamping circuit that will clamp the input signal to a negative d

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