Advanced Car Security System Using GSM
Advanced Car Security System Using GSM
ISSN 2250-3153
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
distance
long
www.ijsrp.org
International Journal of Scientific and Research Publications, Volume 4, Issue 5, May 2014 2
ISSN 2250-3153
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 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 10:
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
www.ijsrp.org
International Journal of Scientific and Research Publications, Volume 4, Issue 5, May 2014 5
ISSN 2250-3153
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