Download presentation
Published byBarbra Stanley Modified over 7 years ago
1
MOVEMENT SENSED BURGLAR ALARM SYSTEM Under the Guidance of
Project Title MOVEMENT SENSED BURGLAR ALARM SYSTEM Under the Guidance of Submitted by
2
ABSTRACT The main aim of the project is to design and implement the automatic door opening system. This project describes the design and implementations of a controller for the door. The door opens when any movement is detected near the door. A PIR sensor detects the movement and sends a signal to the microcontroller which opens the door for a particular amount of time according to the program. Interrupt signals are used to stop power to the motor in the event of locked rotor condition.
3
BLOCK DIAGRAM
4
HARDWARE REQUIREMENTS
POWER SUPPLY MICROCONTROLLER (AT89S52/AT89C51) MOTOR DRIVER(L293D) DC MOTOR PUSHBUTTON PIR BC547 LED 1N4007 RESISTORS CAPACITORS
5
POWER SUPPLY Bridge rectifier 5v Regulator 230 V AC 50 Hz 5V DC
Filter(470µf) 12V step down transformer
6
It is a smaller computer Has on-chip RAM, ROM, I/O ports...
MICROCONTROLLER It is a smaller computer Has on-chip RAM, ROM, I/O ports... RAM ROM I/O Port Timer Serial COM Port Microcontroller CPU A single chip
7
INTERNAL STRUCTURE OF A MICRO CONTROLLER-AT89S52/51
CPU On-chip RAM On-chip ROM for program code 4 I/O Ports Timer 0 Serial Port OSC Interrupt Control External interrupts Timer 1 Timer/Counter Bus Control TxD RxD P0 P1 P2 P3 Address/Data Counter Inputs
8
Features of AT89S51/52 Compatible with MCS®-51 Products
8K Bytes of In-System Programmable (ISP) Flash Memory Endurance: 10,000 Write/Erase Cycles 4.0V to 5.5V Operating Range Fully Static Operation: 0 Hz to 33 MHz 256 x 8-bit Internal RAM 32 Programmable I/O Lines Three 16-bit Timer/Counters Eight Interrupt Sources Full Duplex UART Serial Channel Interrupt Recovery from Power-down Mode Watchdog Timer Dual Data Pointer
9
Pin Description
10
MOTOR DRIVER (L293D) Wide supply-voltage range: 4.5V to 36V
Features: Wide supply-voltage range: 4.5V to 36V Separate input- logic supply Internal ESD protection Thermal shutdown High-Noise-Immunity input Functional Replacements for SGS L293 and SGS L293D Output current 1A per channel (600 mA for L293D) Peak output current 2 A per channel (1.2 A for L293D) Output clamp diodes for Inductive Transient suppression(L293D)
11
DESCRIPTION L293D is a dual H-bridge motor driver integrated circuit (IC). In its common mode of operation, two DC motors can be driven simultaneously, both in forward and reverse direction. The motor operations of two motors can be controlled by input logic at pins 2 & 7 and 10 & 15. Input logic 00 or 11 will stop the corresponding motor. Logic 01 and 10 will rotate it in clockwise and anticlockwise directions, respectively. Enable pins 1 and 9 (corresponding to the two motors) must be high for motors to start operating. When an enable input is high, the associated driver gets enabled
12
DC- MOTOR A DC motor is an electric motor that runs on direct current (DC) electricity. In any electric motor, operation is based on simple electromagnetism. A simple 2-pole DC electric motor (here red represents a magnet or winding with a "North" polarization, while green represents a magnet or winding with a "South" polarization). Every DC motor has six basic parts -- axle, rotor (a.k.a., armature), stator, commutator, field magnet(s), and brushes.
13
BC547 (NPN –Transistor) The BC547 transistor is an NPN Epitaxial Silicon Transistor. It is used in general-purpose switching and amplification BC847/BC547 series 45 V, 100 mA NPN general-purpose transistors. The ratio of two currents (Ic/Ib) is called the DC Current Gain of the device and is given the symbol of hfe or nowadays Beta, (β).
14
The current gain from the emitter to the collector terminal, Ic/Ie, is called Alpha, (α), and is a function of the transistor itself
15
PIR SENSORS The PIR (Passive Infra-Red) Sensor is a pyroelectric device that detects motion by measuring changes in the infrared levels emitted by surrounding objects. This motion can be detected by checking for a high signal on a single I/O pin. Apparent motion is detected when an infrared source with one temperature, such as a human, passes in front of an infrared source with another temperature, such as a wall Features:- Single bit output Small size makes it easy to conceal Compatible with all Parallax microcontrollers
16
Working of project The output from the PIR i.e., passive infrared detector is amplified to a transistor BC547, the output of which at the collector is connected to pin 1 of the MC. While any moving object is sensed by the PIR it develops logic high at its output which gets inverted by the transistor used to develop a logic low at pin 1 of MC. The program is so returned that it delivers appropriate input to the driver IC L293D as explained above, to run the motor as it indicate if motor rotates one direction and vice versa indicating door open and close
17
Soft ware Requirements
Keil an ARM Company makes C compilers, macro assemblers, real-time kernels, debuggers, simulators, integrated environments, evaluation boards, and emulators for ARM7/ARM9/Cortex-M3, XC16x/C16x/ST10, 251, and 8051 MCU families. Compilers are programs used to convert a High Level Language to object code. Desktop compilers produce an output object code for the underlying microprocessor, but not for other microprocessors.
18
i.e the programs written in one of the HLL like ‘C’ will compile the code to run on the system for a particular processor like x86 (underlying microprocessor in the computer). For example compilers for Dos platform is different from the Compilers for Unix platform So if one wants to define a compiler then compiler is a program that translates source code into object code.
19
BIBILOGRAPHY “The Microcontroller and Embedded systems” by Muhammad Ali Mazidi and Janice Gillispie Mazidi , Pearson Education. ATMEL 89S52 Data Sheets.
20
THANKYOU
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.