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

Why digital signal processing require specialized hardware, Why does digita...

Why does digital signal processing require specialized hardware? A) It needs to perform analog as well as digital functions. B) General-purpose microprocessors cannot perfor

Explain basic principle of linear sweep voltage generator, Q. Explain the b...

Q. Explain the basic principle of linear sweep voltage generator A linear time base generator or sweep generator is one that provides an output waveform, a portion of which exh

Find the output voltage in terms of the input voltage, Q. Find the output v...

Q. Find the output voltage in terms of the input voltage? In order to illustrate the insensitivity of feedback circuits to variations of the op-amp parameters, let us consider

Calculate the minimum sampling frequency, Three sine waves along with frequ...

Three sine waves along with frequencies 100Hz, 200Hz and 350Hz and with amplitudes of 1V, 2V and 1.5V correspondingly, are added together to make a single waveform. What is the min

Dpr preparation, DPR PREPARATION: 1.  Asset Management 2.  System O...

DPR PREPARATION: 1.  Asset Management 2.  System Operations and Despatch 3.  Field Operations 4.  Customer Processes 5.  Corporate Processes The details covered

Digital communication , Classify the following signals as energy signals or...

Classify the following signals as energy signals or power signals. Find the normalized energy or normalized power of each. a. ? ? , 0, 0 0, at Ae t a x t elsewhere

Performance equations of three phase induction motor , Performance Equation...

Performance Equations of Three Phase Induction Motor When balanced 3-? voltages are applied to the  stator  winding  a rotating magnetic field  of constant amplitude is produc

Branch operations , Branch Operations Normally  the program  executes ...

Branch Operations Normally  the program  executes in  a sequence. The contents of the program counter register are incremented by  one during  the execution  of current  instr

Rst restart instructions , RST Restart Instructions Restart instructio...

RST Restart Instructions Restart instructions  are one byte call instructions. Called location for each restart instruction is  predefined on page 0 ( read only memory). They

Explain industry standard architecture bus, Explain the term Industry Stand...

Explain the term Industry Standard Architecture Bus. The Industry Standard Architecture, bus has been approximately since the very start of the IBM-compatible personal computer

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