GSM Security System

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 5

SYNOPSIS

Title: GSM SECURITY SYSTEM


Introduction
Now a day there is a lot of burglary happening across the city, the reason behind that is police
can’t make out the exact location of burglary for example if burglary is happening inside any area in
the city, police will get information after the incident had happened, and then they can’t find out the
way the thieves had went. Now so many alarm system and security systems are emerging in our
markets using high-tech techniques, but in our design we are implementing security systems using
GSM, GSM is one of the latest mobile technology using smart MODEM which can easily interfaced to
embedded microcontrollers. Now everything is going to be automated using this technology, using
these technology we can access the devices remotely. Using GSM and GPS now we can identify the
people, vehicles etc in any where of the world.

In this project there will be sensors inside the home ,if any body comes forcibly to home the
sensors output will give information to the system that somebody had came, then it will send the SMS
to the owners mobile or make a call to police.

PROJECT CYCLE
1. Specification of the Project.
2. PCB Layout.
3. Device Test.
4. Code Implementation.
5. Program Test.
6. Pilot Run.
7. Documentation.

SOFTWARES USED:

 Embedded C.
 Keil uVision
 ATMEL Programmer
BLOCK DIAGRAM
RECEIVER:

Power Supply

Trans Regulator
former (7805)

Rectifier Filter
µ
Buzzer
C
O Buzzer Buzzer
Driver OSC
N
T
R LCD (Display)
O
LCD LCD
L Driver Glass
Sensors L
E
R

Modem RS 232 Memory

TRANSMITTER:

MOBILE

Block Diagram description:

Power supply:
The microcontroller and other devices get power supply from AC to Dc adapter through 7805,
5 volts regulator. The adapter output voltage will be 12V DC non regulated. The 7805/7812 voltage
regulators are used to convert 12 V to 5V/12V DC.

AC/DC Regulator
Filter
AC Power Adapter (7805) DC Output

Vital role of power supply in ‘Home automation and security system using gsm’

The adapter output voltage will be 12V DC non regulated. The 7805/7812 voltage regulators are used
to convert 12 V to 5V/12V DC.
Micro controller-AT89C51

The AT89C51 is a low-power, high-performance CMOS 8-bit microcontroller with 8K bytes of


in-system programmable Flash memory. The device is manufactured using Atmel’s high-density
nonvolatile memory technology and is compatible with the industry- standard 80C51 instruction set
and pinout.
Features:
4K Bytes of Programmable Flash Memory
Endurance: 1000 Write/Erase Cycles
4.0V to 5.5V Operating Range
256 x 8-bit Internal RAM
32 Programmable I/O Lines
Full Duplex UART Serial Channel
Fully Static Operation: 0 Hz to 33 MHz
Vital role of micro controller in ‘security system using gsm’

In the security system the micro controller is programmed in such a way that if somebody had
entered in home with out permission the sensors will detect and give an interrupt to the
microcontroller, if the controller is interrupted it will give commands and user number to the modem to
sent the alert SMS to the owner mobile.
LCD is connected to microcontroller as 4 bit data mode, before displaying anything in LCD
Initialization have to do ,so microcontroller will control the LCD initialization and select the data
register and command register according to the purpose.
Memory is connected to microcontroller using two pins, it is communicating with the
microcontroller through I2C communication.
Relay and buzzer is controlled by the microcontroller using single pins, Ie giving high means
device will switch on and vice versa. Sometimes it may be interchange according to the transistor
used to drive the device.

Buzzer: the buzzer subsystem produces a 2 KHz audible tone when powered. The buzzer
will sound when the signal coming into the driver is high. It must be connected to a transistor,
Darlington or transducer driver subsystem.

The buzzer is connected between the supply rail (+ V) and the input signal. This acts as load
on the driver. When the input signal coming into the buzzer subsystem is low, a potential difference
across the buzzer causes current to flow. It is this flow of current that causes the buzzer to sound.

Vital role of Buzzer in ‘security system using gsm’


Buzzer is connected to microcontroller port pin, so microcontroller will give high or low to
switch on/off buzzer. In this project it is used to define the normal/abnormal/active/deactivate condition
of system/peripherals in sound form.

LCD (LIQUID CRYSTAL DISPLAY)


LCD’s can add a lot to your application in terms of providing an useful interface for the user,
debugging an application or just giving it a "professional" look. The most common type of LCD
controller is the Hitachi 44780 which provides a relatively simple interface between a processor and
an LCD. Using this interface is often not attempted by inexperienced designers and programmers
because it is difficult to find good documentation on the interface, initializing the interface can be a
problem and the displays themselves are expensive.
LCD has single line display, Two-line display, four line display. Every line has 16 characters.

Vital role of LCD in this project ‘security system using gsm’


LCD is connected to microcontroller as 4 pins for data and a single pin for register select and
enable, LCD initialization is done by using microcontroller, before initialization the LCD have to wait
for 30 ms delay.
The main application of LCD in this project is to display the status of MODEM, status of
sensor etc.for example if the microcontroller is initializing the MODEM, if any case MODEM failed to
initialize the user don’t know what is happening in the system, so we are using the LCD to display the
status.

RS 232 CONVERTER (MAX 232N)

This is the device, which is used to convert TTL/RS232 vice versa.

RS232Protocol

RS-232 was created for one purpose, to interface between Data Terminal Equipment (DTE) and Data
Communications Equipment (DCE) employing serial binary data interchange. So as stated the DTE is
the terminal or computer and the DCE is the modem or other communications device. RS-232 pin-
outs for IBM compatible computers are shown below. There are two configurations that are typically
used: one for a 9-pin connector and the other for a 25-pin connector.

External EEPROM memory (2Kbytes)


These memory devices are used to store the data for off line process. The AT24C02A
provides 2048bits of serial electrically erasable and programmable read only memory (EEPROM)
organized as 256words of 8 bits each. The device is optimized for use in many industrial and
commercial applications where low power and low voltage operation are essential. The AT24C02Ais
available in space saving 8-pin PDIP.
Vital role of memory in security system using gsm’
EEPROM memory is electrically erasable programmable memory, it is communicating with the
microcontroller using 12C communication.ie it contains one data pin and clock pin, these device is
connected as slave to the microcontroller. the main application of memory in these project is to store
the telephone numbers of user /police, in case if somebody had entered into the home microcontroller
will send the commands to the modem with the user phone number, the number is read from the
memory by the microcontroller.

PIR Sensors
Pir sensor (Passive infra red sensor) is used to detect the movement.
Vital role of PIR sensor in ‘security system using gsm’
Sensor is used to detect the movement, if any body open door forcibly the sensor will give
output to microcontroller.

GSM modem (900/1800 MHz)


Semen’s GSM/GPRS Smart Modem is a multi-functional, ready to use, rugged unit that can be
embedded or plugged into any application. The Smart Modem can be controlled and customized to
various levels by using the standard AT commands. The modem is fully type-approved, it can speed
up the operational time with full range of Voice, Data, Fax and Short Messages (Point to Point and
Cell Broadcast), the modem also supports GPRS (Class 2*) for spontaneous data transfer.
Vital role of GSM modem in ‘security system using gsm’
GSM is one of the latest mobile technologies using smart MODEM which can easily
interfaced to embedded microcontrollers. Now everything is going to be automated using this
technology, using these technology we can access the devices remotely. Using GSM and GPS now
we can identify the people, vehicles etc in any where of the world.

Working principle In the security systems the device is connected to sensors like PIR sensors,
smoke sensors etc. when some body had entered home forcibly for ex the PIR sensor connected to
the door will detect the presence of person, and it will give an interrupt to the microcontroller. then
according to the program load in flash the controller will find out from which sensor the interrupt had
came, then it will sent SMS to the owners mobile or police by retrieving the phone numbers from
memory.(the owners mobile number and police number is stored in memory)

APPLICATIONS OF THIS PROJECT:

 Home automation
 Office automation.

FUTURE ENHANCEMENT: In this project in future we can add a multimedia camera to see what
is going inside the home by sitting in office or some where.

You might also like