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

What does the eu do, Execution Unit receives program instruction codes and ...

Execution Unit receives program instruction codes and data from BIU, implements these instructions and store the result in general registers.

Binary multiplication, Q. What do you mean by Binary Multiplication? Th...

Q. What do you mean by Binary Multiplication? The Rules of Binary Multiplication 0 x 0 = 0 0 x 1 = 0 1 x 0 = 0 1 x 1 = 1 , and no carry or borrow

Explain the parallel in - parallel out shift registers, Explain the Paralle...

Explain the Parallel In - Parallel Out Shift Registers? For "parallel in - parallel out" shift registers all data bits show on the parallel outputs immediately following the si

Determine the performance of the circuits, Many circuits, particularly ampl...

Many circuits, particularly amplifiers, use negative feedback (nfb) in order to function reliably. The nfb changes the performance of the circuit to which it is applied, in most ca

Machine-tool process to drill or punch holes, Q. Explain Machine-tool proce...

Q. Explain Machine-tool process to drill or punch holes? Figure depicts an elementary system, including the input, digital processor, drill-positioning mechanism, and sampled-d

Embedded system, 10. List the three ways in which an RTOS handles ISRs in a...

10. List the three ways in which an RTOS handles ISRs in a multitasking environment

Unit impulse response of a linear system, Q. The unit impulse response h(t)...

Q. The unit impulse response h(t) of a linear system is h(t) = 5e -t cos(2t - 30°). Determine H(s).

Identify the processes involved in fabrication, The first three elements of...

The first three elements of the task are: 1. To critically examine a selection of the components used on this design 2. To recommend materials to be used in making the board

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