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

Find the phasor values with peak magnitude, Q. For the circuit shown in Fig...

Q. For the circuit shown in Figure, find the phasor values (with peak magnitudes) of ¯I, ¯V R , ¯V L , and ¯V C by using PSpice.

Determine l and c of the band pass filter circuit, Q. Determine L and C of ...

Q. Determine L and C of the band pass filter circuit of Figure to have a center frequency of 1 MHz and a bandwidth of 10 kHz. Also find the Q of the filter.

Explain magnetostriction, Explain Magnetostriction. Magnetostriction: I...

Explain Magnetostriction. Magnetostriction: If ferromagnetic materials are magnetized a small change of dimensions of the material obtains place. There is a small extension alo

Calculate the induced voltage at full load, A 100-kW, 230-V shunt generator...

A 100-kW, 230-V shunt generator has R a = 0.05  and R f = 57.5 . If the generator operates at rated voltage, calculate the induced voltage at (a) full load, and (b) one-half fu

Explain daa instruction, Explain DAA instruction. DAA: The DAA instruct...

Explain DAA instruction. DAA: The DAA instruction follows the instruction ADC or ADD to adjust the result in a BCD result. The DAA instruction performs only with the AL registe

Explain thermosetting plastic materials, Explain Thermosetting Plastic Ma...

Explain Thermosetting Plastic Materials. Thermosetting Plastic Materials: They undergo huge changes while subjected to high temperatures for rather sometimes. They are call

Explain the term- electronic mail, Explain the term- Electronic Mail (email...

Explain the term- Electronic Mail (email) Another form of communication is through email. This has the below advantages over video conferencing: -  There are no language pro

Show the r’s complement, Q. Show the r’s Complement? Step1- get the (r-...

Q. Show the r’s Complement? Step1- get the (r-1)'s complement Step 2- add 1 to the result ex.            935 10                                     9 9 9

Determine the voltage gain , (a) A second order Sallen and Key Low Pass Act...

(a) A second order Sallen and Key Low Pass Active Filter has these component values R 1 =R 2 =15 kΩ, C 1 =C 2 =1 nF and the feedback resistors are R 3 =3.9 kΩ and R 4 =2.3 kΩ

Cpld design project, 1) Study the CPLD Design Project Brief to gain an unde...

1) Study the CPLD Design Project Brief to gain an understanding of the project, and the System Specification, Circuit Description, Pre-processing and Post-processing Requirements f

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