Advanced Car Security System Using GSM

Published on January 2017 | Categories: Documents | Downloads: 49 | Comments: 0 | Views: 575
of 5
Download PDF   Embed   Report

Comments

Content

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

1

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
advanced car security system using GSM. It uses the GSM
mobile communication networks to transmit alarm signal and
control instruction. The control and communication between the
user and the proposed system are achieved through a short
message services (SMS) protocol available in the mobile phone.
If the car door is illegally opened or the car is vibrated, an alarm
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
system consists both hardware and software parts. The hardware
components include vibration sensors, a PIC microcontroller, a
GSM modem, LCD and buzzer. The software part includes a
program controller interface. PIC MikroC programming
language is used for this control system. The control system is
based on the PIC16F877A microcontroller and AT COMMAND.
Index Terms- GSM Modem, Microcontroller, Vibration sensors,
LCD, Buzzer.

I. INTRODUCTION

output signal arrive at the PIC microcontroller. PIC acts as
electric brain or message sending controller that control all of the
functionality and interfaced circuit attach to the system. It sends
SMS message to the mobile phone via GSM modem. GSM
modem sends the signal (SMS) to the user’s mobile phone when
receive signal from the PIC microcontroller. In this way, the
users can protect from being stolen.

II. PROPOSED SYSTEM
The developed system makes use of an embedded system
based on GSM technology. When an unauthorized person
tampers with a vehicle in which an antitheft system is settled up
then the microcontroller commands the GSM modem to send a
text alert to the vehicle owner. In this system we interfaced
PIC16F877A microcontroller with SIM-com 900 modem to
decode the received message and do the required action. The
protocol used for the communication between the two is AT
command. The commands are standard AT. The PIC
communicates with the modem and a further piece of equipment
using serial protocol.

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
are;
 Distance- Cover Area, the siren cannot be heard over a
long
 distance
 Same sound (siren) for most of the cars
 False Alarm
 Not 100% secure
 Cannot be heard in buildings
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.
When the car is vibrated, the system will produces an alarm
signal and immediately send a SMS to car owner’s mobile
phone. The user could easily supervise, protect and control their
car anywhere at any time. The system is divided into three
sections and it was designed using MikroC language. Serial
communication is used for data communication between GSM
modem and PIC16F877A. In this system, firstly, vibration
sensors sense the instruction and produce output signal and these

GSM
Modem
Vibration
Seneors

PIC
Microcontroller

Buzzer

LCD

Fig 1: Block Diagram of the Advanced Car Security System
using GSM
The figure shows that the GSM modem is controlled by the
microcontroller that sends signals to the GSM to receive and
transmit messages.The system is divided into three sections and
it was designed using MikroC language. Serial communication is
used for data communication between GSM modem and
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
ISSN 2250-3153

2

out to the owner’s mobile phone immediately and automatically
via GSM modem. When receiving a predefined message, the car
owner can know that their car is in a danger condition and take
an immediate action. The proposed system has the following
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.
A. Vibration Sensor
Piezoelectric sensor is used in this security system. It is
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
sensor is modeled as a charge source with a shunt capacitor and
resistor, or as a voltage source with a series capacitor and
resistor.

Start

Checking
Modem

Vibration Detect
First Time

No

Yes
Alarm ON

No

<30sec
Second Detect
Yes
Alarm+SMS

B. Microcontroller
PIC16F877A microcontroller is used here to which are
attached an LCD, Buzzer, Vibration sensors and GSM modem.
C. LCD
A 4x20 LCD is used for displaying the message when the car
is vibrated.
D. Buzzer
It sounds when the vibration sensor detect the vibrate signal
on the car.

>30sec
Third Detect

No

Yes
SMS
“Alert,Motion Detect”

Alarm always Turn ON

Reset

E. GSM modem
A GSM modem is a specialized type of modem which
accepts a subscriber identity module (SIM) card and operates
over a subscription to a mobile operator just like a mobile phone.
The working of GSM modem is based on commands, the
commands always start with AT (which means ATtention) and
finish with a <CR> character. . In this system, IcomSat v1.1
SIM900 GSM modem is used. The GSM module is communicate
the microcontroller with mobile phones through UART.
F. GSM Technology
it is stands for global system for mobile communication
(GSM). It is widely used mobile communication system in the
world. GSM is an open and digital cellular technology used for
transmitting mobile voice and data services operates at the
850MHz, 900MHz, 1800MHz and 1900MHz frequency bands.

Fig 2: Flowchart of Advanced Car Security System using
GSM
In this security system, when the car door is locked, the
security system is automatically turned ON. Firstly, the system is
checking the modem and starting the vibration sensor detect the
vibration when the GSM modem response OK. If the sensor is
first detect, the system activate alarm only. When the system
occur second detection during 30 seconds, the system will be
activated alarm and send SMS message to the owner’s GSM.
And a next detection occurs over 30 seconds, the alarm always
turn ON and then it send SMS to the user. In the security system,
it is needed to ground the reset pin for the alarm turn OFF.

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
ISSN 2250-3153

3

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
ISSN 2250-3153

4

Fig 7: Simulation Result when Second Vibration Detect
during 30sec

Fig 10:

C1

LCD1
LMD 16L

22pF

IV. HARDWARE DESIGN

C2

R10
PIEZO TRANSDUCER

1M
3

+
_

U1

1

13 OSC1/CLKIN
14 OSC2/CLKOUT

4

2

GND

D4
LED-YELLOW

LM358

R3

2
3
4
5
6
7

1M

R1
10K

VCC

Reset

33
RB0/INT
34
RB1
35
RA0/AN0
RB2
36
RA1/AN1
RB3/PGM
37
RA2/AN2/VREF-/CVREF RB4
38
RA3/AN3/VREF+
RB5
39
RA4/TOCK1/C1OUT RB6/PGC
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
RC2/CCP1
1
18
MCLR/Vpp/THV RC3/SCK/SCL
23
RC4/SD1/SDA
24
RC5/SD0
25
RC6/TX/CK
26
RC7/RX/DT
19
RD0/PSP0
20
RD1/PSP1
21
RD2/PSP2
22
RD3/PSP3
27
RD4/PSP4
28
RD5/PSP5
29
RD6/PSP6
30
RD7/PSP7

R9
PIEZO TRANSDUCER
LS2

Sensor-1

RV2

10K
LED-YELLOW

U2:B
8

1M

7
8
9
10
11
12
13
14

U2:A

Do
D1
D2
D3
D4
D5
D6
D7

22pF

10K

4
RS
5
RW
6 E

RV1

LS1

8

In this section we are interfacing microcontroller and GSM
modem.

X1
CRYSTAL

1
Vss
2
VDD
3 VEE

Fig 8: Simulation Result when Third Vibration Detect over
30sec

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,
the alarm of this security system always turn ON and send SMS
(“Alert, Motion Detected”).Power supply is interfaced to provide
5V supply to PIC16F877A and to other modules in the system.

D5

D2
R4

NORMAL

330
D1
R5

ALERT
BUZ1

330

BUZZER

5

+
_

7

PIC16F877A

4

6

R2
1M

Sensor-2

LM358

Q1
R6

NPN

GSM MODEM
1K
RXD
TXD
RTS
CTS

Fig 9: Advanced Car Security System

R7
10K

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
ISSN 2250-3153
[2]

V. CONCLUSION
Advanced Car Security System implemented on PIC
16F877A microcontroller and is very commonly used in homes,
offices, vehicles, bank and so on. This system is becoming
increasingly important in large cities and it is more secured than
other systems.

REFERENCES
[1]

SMS
Send/Receive
At
Command
Set.
http://www.cellular.co.za/sms_at_commands.htm

Available

at:

[3]

[4]

5

MarkoWolf, AndreWeimerskirch, and ThomasWollinger, “State of the Art:
Embedding security in vehicles”, Journal on Embedded Systems, Volume
2007, Article ID 74706.
http://www.idconline.com/technical_references/pdfs/mechanical_engineering/GPS%20Ve
hicle.pdf
http://www.seminarpaper.com/2011/12/gsm-based-vehicle-theft-controlsystem.html

AUTHORS
First Author – Hnin Pwint Han
Second Author – Hla Myo Tun

www.ijsrp.org

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close