GSM Based Security
GSM Based Security
GSM Based Security
CHAPTER 1
INTRODUCTION
manually or the pizeo sensor, senses vibration of high intensity, the system automatically sends a
message to those particular mobile numbers which are previously fed by the user, indicating the
position of the vehicle in terms of latitude and longitude. When the receiver enters that latitude
and longitude on Google Map, the exact location of the vehicle can be determined and also the
path to reach there.
PowerMap
Supply
latitude and longitude is copied on Google
the location of the vehicle and path is obtained.
Switch
GPS
Micro controller
GSM
Vibration
Sensor
3
CHAPTER 2
Literature Survey and Problem Formulation
Once when the microcontroller comes to know about an emergency either through vibration
sensor or from the switch, it takes information from the GPS receiver, which is used to trace the
vehicle anywhere on the globe. Now when the location is identified, then it is sent to our remote
devices (mobile phones) using GSM modem. The information which is sent to the remote
devices (mobile phones) is in the form of latitude and longitude, now when the receiver copies
that value of latitude and longitude on the Google Map the exact location is obtained. [2][3]
of
L5 (1176.45 MHz)-: Proposed for use as a civilian safety-of-life (SoL) signal. This
frequency falls into an internationally protected range for aeronautical navigation,
promising little or no interference under all circumstances. The first Block IIF satellite
that would provide this signal is set to be launched in 2008. [4][5]
10
CHAPTER 3
Relevant to Project
11
Often the terms microcontroller and microprocessor are confusing. A microcontroller is actually
has more features than microprocessors. Besides the processor it also has I/O ports, internal
timers/counters, internal RAM and ROM. Microcontrollers are programmed using assembly and
high level languages. Assembly languages are controller specific and machine friendly but the
program written in assembly languages are quite lengthy. At the same time, high level languages
such as C and Java are also being used to program microcontrollers. High level languages are
user friendly and eliminate redundancy from the programs written in assembly languages.
Despite its relatively old age, the 8051 is one of the most popular microcontrollers in use today.
Many derivative microcontrollers have since been developed that are based on--and compatible
with--the 8051. Thus, the ability to program an 8051 is an important skill for anyone who plans
to develop products that will take advantage of microcontrollers. The 8051 has three very general
types of memory. To effectively program the 8051 it is necessary to have a basic understanding
of these memory types.
3.1.1 Properties of the embedded system:
1) Event driven system
2) Microcontroller/ microprocessor based
3) Application specific
4) Closed system
5) Battery operated
6) Portable
12
13
Feature
Benefit
The Code Coverage feature of the Vision3 Safety-critical systems can be thoroughly tested and
Simulator provides statistical analysis of
validated. Execution analysis reports can be viewed
your programs execution.
and printed for certification requirements.
The Vision3 Device Database
automatically configures the development
tools for the target microcontroller.
14
15
AC Power
AC/DC
Adapter
Regulator
(7805)
Filter
DC Output
16
17
18
19
20
LCDs come in many shapes and sizes but the most common is the 16 character x 2 line display
with no back light. It requires only 11 connections eight bits for data (which can be reduced to
four if necessary) and three control lines (we have only used two here). It runs off a 5V DC
supply and only needs about 1mA of current. The display contrast can be varied by changing the
voltage into pin 3 of the display, usually with a trimpot.
3.5.1 Vital role of LCD in GPS-GSM based security alert system for vehicle:
It is used to display the corresponding action in written form.
21
2) ON
3) Flashing Slowly
4) Flashing rapidly
response to
22
POSSIBLE RESPONSES
OK
OK
23
POSSIBLE RESPONSES
+CMGS: <mr>
OK
Note: Successful transmission
The message reference, <mr>, which is returned to the application is allocated by the product.
This number begins with 0 and is incremented by one for each outgoing message(successful and
failure cases); it is cyclic on one byte (0 follows 255).
3.6.6 Vital role of GSM MODEM in GPS-GSM based security alert system for vehicle:
It is used to transmit SMS containing information i.e. latitude and longitude of the location.
24
25
26
$PFST,STOP,<1|0>
NMEA MESSAGES:
27
28
3.7.5 Vital role of GPS RECEIVER in GPS-GSM based security alert system for vehicle:
It is used for finding the longitude and latitude values.
3.8.1 Specification:
1) Power supply: 5V
2) Interface: Analog
29
3.8.2 Vital role of Vibration sensor in GPS-GSM based security alert system for vehicle:
It detects that an accident had taken place by sensing vibrations, and then sends signal to the
microcontroller.
30
CHAPTER 4
Simulation, Result and Discussion
4.1 Coding:
#include<reg51.h>
31
32
33
if(s1==1)
{
r1=1;
for(z=0;z<2;z++)
{
SBUF=da6[z];
while(TI==0);
34
SBUF=0x22;
while(TI==0);
TI=0;
35
for(z=0;z<9;z++)
{
SBUF=da7[z];
while(TI==0);
TI=0;
36
37
38
4.2 Result:
Whenever the switch is pressed or the vibration sensor senses vibration then signal is sent to the
microcontroller. Then the microcontroller takes data coming from GPS receiver, and from those
data filter out the data containing latitude and longitude. This data is displayed on LCD and
given to GSM module from which it is sent to the remote location (mobile number). The receiver
gets the value of latitude and longitude,, when this value is copied on Google map the location of
vehicle is determined with the accuracy of 10-15m.
39
CHAPTER 5
Conclusion and Future Scope
5.1 CONCLUSION:
The Project titled GPS-GSM based security alert system for vehicle is a model for
determining the location of Vehicle with the help of Google maps and also with the help of GPS
receivers and GSM modem.
40
41
References:
1) Vehicle Accident Alert and Locator (VAAL) Department of Electrical & Information
Engineering, College of Science and Technology, Covenant University,Ota, Nigeria.
2) Application Notes[Online], Available:
http://www.maximic.com/an1490
42
Enhanced
Observed
Time
Difference[Online],
Available:
http://www.phonescoop.com/glossary/term.php?gid=188
4) Wang Wei, Fan Hanbo Traffic Accident Automatic Detection And Remote Alarm
Device 978-1-4244-8039-5/11/2011 IEEE.
5) The 8051 Microcontroller and Embedded Systems by Muhammad Ali Mazidi and Janice
Gillispie Mazidi, Pearson Education.
43