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

Read-and-write memory, Q. Read-and-write memory? Writing is the same as...

Q. Read-and-write memory? Writing is the same as storing data intomemory and reading is the same as retrieving the data later. RAM is said to be volatile because its contents a

For the given circuit determine voltage, Q. For the circuit shown in Figure...

Q. For the circuit shown in Figure, determine v out (t).

Avalanche breakdown region, Avalanche breakdown region: Even though th...

Avalanche breakdown region: Even though these regions are well described for sufficiently large applied voltage, they overlap somewhat for small (less than a few hundred milli

Cmos integrated circuit design, design using softwares (LEdit7, LTspice) t...

design using softwares (LEdit7, LTspice) the project has many aspects and I would like you to check them on the website with my personal password. in the project specifications (d

Find the new operating point in transistor, Q. A transistor in a fixed bias...

Q. A transistor in a fixed bias amplifier circuit was replaced by another transistor of beta equaling 150 instead of 60.if IB of transistor is equal to 100 microampere and collecto

Designated consumers - features of energy conservation, Designated Consumer...

Designated Consumers - Features of Energy Conservation The Act gives the list of designated consumers, which involves the energy intensive industries, Railways, Port Trust, Tr

Explain the ascii character set - microprocessor, Explain the ASCII Charact...

Explain the ASCII Character Set? Most programming languages have a means of defining a character as a numeric code and, conversely, converting the code back to the character. ASC

Balanced budget laws, Balanced Budget Laws: Laws (usually passed by right-w...

Balanced Budget Laws: Laws (usually passed by right-wing governments) that require governments to run balanced budgets regardless of state of the overall economy. These lawshave th

Hybrid parameters, Hybrid parameters (or) h - parameters:- If the ...

Hybrid parameters (or) h - parameters:- If the input current that is denoted as i 1 and output Voltage that is denoted as V 2 are takes as independent variables, input v

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