0% found this document useful (0 votes)
11 views

Advanced Car Security System Using GSM

Uploaded by

Aman Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Advanced Car Security System Using GSM

Uploaded by

Aman Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

International Journal of Scientific and Research Publications, Volume 4, Issue 5, May 2014 1

ISSN 2250-3153

Advanced Car Security System Using GSM


Hnin Pwint Han, Hla Myo Tun

Email: [email protected]

Abstract- This system proposes the design and construction of an output signal arrive at the PIC microcontroller. PIC acts as
advanced car security system using GSM. It uses the GSM electric brain or message sending controller that control all of the
mobile communication networks to transmit alarm signal and functionality and interfaced circuit attach to the system. It sends
control instruction. The control and communication between the SMS message to the mobile phone via GSM modem. GSM
user and the proposed system are achieved through a short modem sends the signal (SMS) to the user’s mobile phone when
message services (SMS) protocol available in the mobile phone. receive signal from the PIC microcontroller. In this way, the
If the car door is illegally opened or the car is vibrated, an alarm users can protect from being stolen.
will be activated and it send SMS message to the owner’s mobile
phone immediately and automatically. The user could easily
protect and control their car anywhere at any time. The proposed II. PROPOSED SYSTEM
system consists both hardware and software parts. The hardware The developed system makes use of an embedded system
components include vibration sensors, a PIC microcontroller, a based on GSM technology. When an unauthorized person
GSM modem, LCD and buzzer. The software part includes a tampers with a vehicle in which an antitheft system is settled up
program controller interface. PIC MikroC programming then the microcontroller commands the GSM modem to send a
language is used for this control system. The control system is text alert to the vehicle owner. In this system we interfaced
based on the PIC16F877A microcontroller and AT COMMAND. PIC16F877A microcontroller with SIM-com 900 modem to
decode the received message and do the required action. The
Index Terms- GSM Modem, Microcontroller, Vibration sensors, protocol used for the communication between the two is AT
LCD, Buzzer. command. The commands are standard AT. The PIC
communicates with the modem and a further piece of equipment
using serial protocol.
I. INTRODUCTION

N owadays, automobile thefts are increasing as well as


production of cars in yearly world. So, vehicle theft is a
universal problem. To solve this problem, most of the vehicle
owners have started using the theft protection systems. A
wireless vehicle security system which implements mobile
communication protocol is proposed. The most popular existing
car security system is car alarm and has a lot disadvantages. They
GSM
 Distance- Cover Area, the siren cannot be heard over a
are;
Modem

 distance
long

 Same sound (siren) for most of the cars


Vibration PIC
 False Alarm Seneors Microcontroller Buzzer
 Not 100% secure
 Cannot be heard in buildings
LCD
This type of security system is less effective if the car is far
away from the owner as the alarm cannot be heard by the owner.
So, this paper proposes a car security system using GSM. This
GSM based car security system is an advanced security system. Fig 1: Block Diagram of the Advanced Car Security System
When the car is vibrated, the system will produces an alarm using GSM
signal and immediately send a SMS to car owner’s mobile
phone. The user could easily supervise, protect and control their The figure shows that the GSM modem is controlled by the
car anywhere at any time. The system is divided into three microcontroller that sends signals to the GSM to receive and
sections and it was designed using MikroC language. Serial transmit messages.The system is divided into three sections and
communication is used for data communication between GSM it was designed using MikroC language. Serial communication is
modem and PIC16F877A. In this system, firstly, vibration used for data communication between GSM modem and
sensors sense the instruction and produce output signal and these PIC16F877A. In this system, if the car door is illegally opened or
the car is vibrated, an alarm signal and SMS message will be sent

www.ijsrp.org
International Journal of Scientific and Research Publications, Volume 4, Issue 5, May 2014 2
ISSN 2250-3153

out to the owner’s mobile phone immediately and automatically Start


via GSM modem. When receiving a predefined message, the car
owner can know that their car is in a danger condition and take Checking
an immediate action. The proposed system has the following Modem

advantages: low cost, high performance, high security, easy to


implement, and strong security control pattern. In this case, the
driver can leave the car safely. Vibration Detect No
First Time

A. Vibration Sensor Yes


Piezoelectric sensor is used in this security system. It is
Alarm ON
generated by pressure on certain crystals which will develop a
potential difference or voltage on the crystal face. When crystal
flexes or vibrates, an AC voltage is produced. A piezoelectric
No <30sec
sensor is modeled as a charge source with a shunt capacitor and Second Detect
resistor, or as a voltage source with a series capacitor and Yes
resistor.
Alarm+SMS
B. Microcontroller
PIC16F877A microcontroller is used here to which are
No
attached an LCD, Buzzer, Vibration sensors and GSM modem. >30sec
Third Detect

C. LCD Yes

A 4x20 LCD is used for displaying the message when the car SMS
is vibrated. “Alert,Motion Detect”

D. Buzzer
Alarm always Turn ON
It sounds when the vibration sensor detect the vibrate signal
on the car.
Reset

E. GSM modem
A GSM modem is a specialized type of modem which Fig 2: Flowchart of Advanced Car Security System using
accepts a subscriber identity module (SIM) card and operates GSM
over a subscription to a mobile operator just like a mobile phone.
The working of GSM modem is based on commands, the In this security system, when the car door is locked, the
commands always start with AT (which means ATtention) and security system is automatically turned ON. Firstly, the system is
finish with a <CR> character. . In this system, IcomSat v1.1 checking the modem and starting the vibration sensor detect the
SIM900 GSM modem is used. The GSM module is communicate vibration when the GSM modem response OK. If the sensor is
the microcontroller with mobile phones through UART. first detect, the system activate alarm only. When the system
occur second detection during 30 seconds, the system will be
F. GSM Technology activated alarm and send SMS message to the owner’s GSM.
it is stands for global system for mobile communication And a next detection occurs over 30 seconds, the alarm always
(GSM). It is widely used mobile communication system in the turn ON and then it send SMS to the user. In the security system,
world. GSM is an open and digital cellular technology used for it is needed to ground the reset pin for the alarm turn OFF.
transmitting mobile voice and data services operates at the
850MHz, 900MHz, 1800MHz and 1900MHz frequency bands.
III. SIMULATION RESULT
Advanced Car Security System is simulated using PROTEUS
SOFTWARE and their results are presented here. The circuit
model of the above system is shown and sensors are connected to
measure output result.

www.ijsrp.org
International Journal of Scientific and Research Publications, Volume 4, Issue 5, May 2014 3
ISSN 2250-3153

Fig 5: Simulation Result when Normal Modem OK


Fig 3: Simulation Result when Power Up Modem

Fig 4: Simulation Result when Checking Modem Fig 6: Simulation Result when First Vibration Detect

www.ijsrp.org
International Journal of Scientific and Research Publications, Volume 4, Issue 5, May 2014 4
ISSN 2250-3153

Fig 7: Simulation Result when Second Vibration Detect


during 30sec

Fig 10:

The system consists of three conditions to be working. If


vibration sensor is first detect, the buzzer of this system activate
alarm only. If the second detection during 30 seconds, the system
will be activated alarm and automatically send SMS to the
owner’s phone. When a next detection occurs over a 30 seconds,
Fig 8: Simulation Result when Third Vibration Detect over the alarm of this security system always turn ON and send SMS
30sec (“Alert, Motion Detected”).Power supply is interfaced to provide
5V supply to PIC16F877A and to other modules in the system.
C1
LCD1
22pF LMD 16L

IV. HARDWARE DESIGN X1


CRYSTAL
R10 C2

In this section we are interfacing microcontroller and GSM PIEZO TRANSDUCER


LS1
RV1 10K
22pF
GND

VDD
3 VEE
Vss

RW
modem.

D6
D7
D3

D5
RS

D1
D2
Do

D4
6 E
U2:A
D4

10
11
12
13
14
1
2

4
5

7
8
9
8

1M LED-YELLOW
3
+ 1
U1
2 _
13 OSC1/CLKIN
14 OSC2/CLKOUT 33
4

RB0/INT
34
LM358 RB1
R3 2 RA0/AN0 35
RB2
3 RA1/AN1 36
1M RB3/PGM
4 37
RA2/AN2/VREF-/CVREF RB4
5 38
RA3/AN3/VREF+ RB5
6 39
RA4/TOCK1/C1OUT RB6/PGC
7 40
RA6/AN4/SS/C2OUT RB7/PGD
8
RE0/AN5/RD
9 15
RE1/AN6/WR RC0/T1OS0/T1CK1
10 16
RE2/AN7/CS RC1/T1OS1/CCP2
17
R1 RC2/CCP1
1 18
MCLR/Vpp/THV RC3/SCK/SCL
10K 23
RC4/SD1/SDA
24
RC5/SD0
25 D2
RC6/TX/CK
26 R4
VCC RC7/RX/DT NORMAL
Reset
19 330
RD0/PSP0
20 D1
RD1/PSP1
R9 21 R5
RD2/PSP2 ALERT
PIEZO TRANSDUCER 22
10K RD3/PSP3 BUZ1
Sensor-1 27 330
LS2 RV2 RD4/PSP4
28
RD5/PSP5
LED-YELLOW 29
RD6/PSP6
U2:B 30 BUZZER
1M D5 RD7/PSP7
8

5
+ 7
PIC16F877A
6 _
4

LM358 Q1
R2 Sensor-2
R6
NPN
1M GSM MODEM
1K
RXD
R7
TXD
RTS 10K
CTS

Fig 9: Advanced Car Security System Fig 11: Overall circuit diagram

Text message may be sent through the modem by interfacing


only three signals of the serial interface of modem with
microcontroller i.e.,TxD,RxD and GND. In this scheme RTS and
CTS signals of serial port interface of GSM Modem are
connected with each other. The transmit signal of serial port of
microcontroller is connected with transmit signal (TxD) of the
serial interface of GSM Modem while receive signal of
microcontroller serial port is connected with receive signal
(RxD) of serial interface of GSM Modem.

www.ijsrp.org
International Journal of Scientific and Research Publications, Volume 4, Issue 5, May 2014 5
ISSN 2250-3153

V. CONCLUSION [2] MarkoWolf, AndreWeimerskirch, and ThomasWollinger, “State of the Art:


Embedding security in vehicles”, Journal on Embedded Systems, Volume
Advanced Car Security System implemented on PIC 2007, Article ID 74706.
16F877A microcontroller and is very commonly used in homes, [3] http://www.idc-
offices, vehicles, bank and so on. This system is becoming online.com/technical_references/pdfs/mechanical_engineering/GPS%20Ve
hicle.pdf
increasingly important in large cities and it is more secured than
[4] http://www.seminarpaper.com/2011/12/gsm-based-vehicle-theft-control-
other systems. system.html

REFERENCES
AUTHORS
[1] SMS Send/Receive At Command Set. Available at:
http://www.cellular.co.za/sms_at_commands.htm First Author – Hnin Pwint Han
Second Author – Hla Myo Tun

www.ijsrp.org

You might also like