Home/Office Security System
Home/Office Security System
Home/Office Security System
FEATURES OF PROJECT
SECURITY AGAINST: INTRUDER GAS LEAK FIRE WATER SPILLAGE /OVERFLOW
Now out of four security breach ,considering the first one i.e. security against intruder. To Protect our family and valuables with this microcontroller based security system knowing that anyone trying to break into our home, an alarm will go ON and the police or the user will be alerted immediately.
THE MICROCONTROLLER BASED SECURITY SYSTEM CONSISTS OF TRANSMITTER, RECEIVER, PHASE LOCKED LOOP AND PROCESSING SECTION.
TRANSMITTER SIDE
In the transmitter section, NE555(ICI) is wired as an actable multivibrator whose oscillating freq is decided by resistors R1 and R2, preset VR1 and capacitor c1, C3 bypasses the noise to ground, preventing any change in calculated pulse-width. The out put of ICI is fed to the base of the transistor t1, which drives an IR LED to transmit the modulated IR signal. R4 limits the current flowing through the IR LED.
RECEIVER SIDE
WORKING OF CIRCUITS:
The transmitting IR LED1 and phototransistor T2 of the receiver are fitted to the gate such the IR rays emitted by the LED directly fall on the phototransistor. The IR LED transmits a train of IR pulses. These pulses are received by the receiver and amplified by IC2. Output pin 8 of the PLL (IC3) is low when the PLL network is locked to the transmitter frequency and relay RL5 energies to make PA line of IC7 low. When someone walks through the gate to enter your home, the transmitted signal is interrupted. Output pin 8 of the PLL network goes high and relay RL5 deenergies to make PA0 line of IC7 high. Now the microprocessor starts working as per the program loaded in the EPROM.
Relay RL4 energies to activate the siren. At the same time, relay RL3 energizes to emulate lifting the telephone handset off the cradle to provide the dial tone. After a few seconds, relay RL2 energies to short the redial button contacts. After the loaded number is dialed, it switches off relay RL2. Then relay RL1 turns on the audio player. Here we have provided the same polarityreversal detection facility so that the audio player turns on only when polarity-reversal is detected.
SOFTWARE PROGRAM
The flow-chart of the Assembly language program is shown. The device interface IC (IC7) is initialized with control word 99H. Ports A and C of IC7 act as input ports, while port B becomes the output port. After initialization, the AT89C51 microcontroller reads the status of port A. If port A is high, siren is activated. The telephone goes in off-hook condition and the emergency number is dialed through the redial button. Redial button gets switched off after the number is dialed. Now the microprocessor reads the status of port C and checks for the polarity reversal of the telephone line. When polarity reversal is detected, the audio player turns on to play the message. Otherwise, the process repeats from activation of the siren followed by emergency number dialing and so on. After delivering the message, the player automatically gets turned off. The siren sounds until the reset switch is pressed.
AT89C2051 NE555 uA741 Operational Amplifier MCT2E Optocoupler Regulator (7805,7809) BC 548 NPN Transistor L14G1 Photo Transistor 1N4148 Switching Diode LEDs ( Red, IR) Resistors Capacitors Relays Batterys
AT89C51
Features Compatible with MCS-51 Products 4K Bytes of In-System Reprogrammable Flash Memory Endurance: 1,000 Write/Erase Cycles Fully Static Operation: 0 Hz to 24 MHz Three-level Program Memory Lock 128 x 8-bit Internal RAM 32 Programmable I/O Lines Two 16-bit Timer/Counters Six Interrupt Sources Programmable Serial Channel Low-power Idle and Power-down Modes
DESCRIPTION
The AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with 4Kbytes of Flash programmable and erasable read only memory (PEROM). The devices manufactured using Atmel's high-density nonvolatile memory technology and incompatible with the industry standardMCS-51 instruction set and pin out. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmen AT89C51 is a powerful microcomputer which provides a highlyflexible and cost-effective solution to many embedded control applications.
PIN DIAGRAM
NE555 IC
Features: High Current Drive Capability (200mA) Adjustable Duty Cycle Temperature Stability of 0.005%/C Timing from Sec to Hours. Turn off Time Less than 2Sec Applications: Precision Timing Pulse Generation Time Delay Generation Sequential Timing
DESCRIPTION
The LM555/NE555/SA555 is a highly stable controller capable of producing accurate timing pulses. With monostable operation, the time delay is controlled by one external resistor and one capacitor. With astable operation, the frequency and duty cycle are accurately controlled with two external resistors and one capacitor.
MCT2E OPTOCOUPLOER
Output Current up to 1A Output Voltages of 5, 6, 8, 9, 10, 12, 15, 18, 24V Thermal Overload Protection Short Circuit Protection Output Transistor Safe Operating Area Protection
A relay is an electrical switch that opens and closes under control of another electrical circuit. In the original form, the switch is operated by an electromagnet to open or close one or many sets of contacts. It was invented by Joseph Henry in 1835. Because a relay is able to control an output circuit of higher power than the input circuit, it can be considered, in a broad sense, to be a form of electrical amplifier.