Professional Documents
Culture Documents
BY
PATEL MAUSAM BHARATKUMAR (126140311046)
DARJI HINAL DINESHBHAI (126140311050)
UNDER THE GUIDENCE OF
INTERNAL GUIDE
Mrs.M.S.PRAJAPATI
D.E.C.E, GPG.
EXTERNALGUIDE&ADDRES
MR.ONKAR DAN
B-101 NIRMAN RESIDENCY,
REMEDIAL TECHNOLOGY,
GANDHINAGAR.
CERTIFICATE
SECURITY SYSTEM
She has undergone the process of shodh yatra, survey & problem identification.
She has carried out project work under the guidance of REMEDIAL
TECHNOLOGY.
Internal Guide:
Head of Department:
Mrs. M.S.PRAJAPATI.
Lecturer,
EC department,
GPG, A bad
ii
CERTIFICATE
Internal Guide:
Head of Department:
Mrs. M.S.PRAJAPATI.
Lecturer,
EC department,
GPG, A bad
iii
ACKNOWLEDGEMENT
Our thanks goes to this college to give us extreme chance to represent ourselves with better prospects
and better idea and we are very grateful to our HOD Mrs. B.C. PATEL and internal guide Mrs. M.S.
PRAJAPATI to give us good idea & advice in making our project.
And specially thanks to our College in which we worked very efficiently in our lab time. We
are very much thankful to our external guide MR. ONKAR DAN to give us fantastic idea to make
our project how to manage it and how to design it properly.
Again thanks to our internal guide MRS. M.S. PRAJAPATI who advice our project flow.
Our lovely and gracious bride stands by our side day and night, at last again thanks to you and
also our friends.
iv
ABSTRACT
This project will focus on the developing an enhancement of vehicle security of system via SMS
(Short Message System).Security of our vehicle is major concern to us. Aim of this project is to save
the vehicle.
In this project, the technology of telecommunication, to be specific; SMS, is integrated or improvised
to the present vehicle security system. Instead of human to human telecommunication .This system
creates new entity which is machine to human telecommunication. This is wireless security system
which implement mobile communication protocol is proposed.
The vehicle send message is automatically sends to the owner of vehicle through GSM
modem.Here,the password like SMS(Short Message System) is sent by the owner is automatically
stop the vehicle. To avoid this kind of steals we are going to implement this system it provides more
security of vehicles.
INDEX
INDEX OF CONTENT
CONTENS
PAGE NO
TITLE PAGE
CERTIFICATE
ACKNOWLEDGEMENT
TABLE OF CONTENT
ABSTACT
CHAPTER-1 INTRODUCTION
1.1 INDUSTRY INTRODCTION
1.2 INDUSTRIAL SURVEY
1.3 UTILITY OF PROJECT
CHAPTER-2 IDENTIFICATION OF PROBLEM
2.1 IDENTIFICATION OF PROBLEM &
DEFINATION
2.2 LITRATURE REVIEW
CHAPTER-3 BLOCK DIAGRAM OF PROJECT
3.1 BLOCK DIAGRAM
3.2 DISCRIPTION OF BLOCK DIAGRAM
INDEX OF FIGURE
FIG. NO.
CONTENT
3.1
BLOCK DAIGRAM
3.2.1
3.2.2
ARDUINO
3.2.3
IC-L293D
3.2.4
RELAY
3.2.5
4.1
CIRCUIT DAIGRAM
4.4.1
4.4.2
4.4.3
4.4.4
RESISTER
4.4.5
CAPACITOR
4.4.6
DC MOTOER
4.4.7
LCD
4.4.8
CRYSTAL OCILLATOR
4.4.9
IC-MAX232
4.4.10
PAGE NO.
CHAPTER:-1
INTRODUCTION
10
INDUSTRY INTRODUCTION:-
11
Industry Survey :According to the guideline of the GTU, for the the final year student, they have industry defined
project, so we are many industries during the survey, we go to two to three industries to find
problem which occur in industries or in our day to day life.
Initially I searched of all the components on internet at Ahmadabad, Gandhinagar and
other places, made a list of all and triad fir the references there at the companies because without
references they dont allow students to visit companies like this I went at two or three companies
where they dont allocate any problems or project work to student and were not also ready to
give this thing in written.
(1) UNIQUE TECHNOLOGY
(2) NEXFY EMBEDDED TECHNOLOGY
(3) SIGMA
(4) SINCENCE & TECHNOLOGY
(5) REMEDIAL TECNOLOGY
In the visit of these industries we have show that show that how to work in these
industries. Finally none our seniors suggestion we all went to REMEDIAL TECNOLOGY
where we met MR. ONKAR DAN the owner of the company. We discussed our project plan to
him in detail and then he reviewed our project and agreed to help and guide us in our project.
Patel Mausam B.
126140311046
Darji Hinal D.
126140311050
GPG, AHMEDABAD
12
1.3 UTILITY OF PROJECT:This project brings technology effectively in security and surveillance segment of
industry. In industry we can use security for industry; smart industry etc.The device implemented
to the vehicle will reduce the threat of theft and mischievous activity to the vehicle.
Vehicle used in house hold could be secure by implementing the device to it which
will reduce the threat of theft. In house hold application in use to smart home like we can control
the every equipment like light, fridge, fan, AC etc.
Beside this the feedback provided to the user will let know it about the current status
of the components of vehicle such as engine, lights, door lock etc.
Hence this project will lead forward effective security system.
13
CHAPTER:-2
IDENTIFICATION OF PROBLEM
14
15
16
CHAPTER:-3
BLOCK DIAGRAM
17
18
2) GSM Module(SIM 900):A GSM modem is a specialized type of modem which accepts
a SIM card, and operates over a subscriptions to a mobile operator, just like a
mobile phone GSM modem can be a dedicated modem device with a serial, USB or
Bluetooth connection, or it may be a mobile phone that provides GSM modem
capabilities. A GSM modem could also be a standard GSM mobile phone with the
appropriate cable and software driver to connect to a serial port or USB port on your
computer.
A GSM modem is very compact in size and easy to use as directly interface with PC
serial port.When GSM module is connected with Arduino it required MAX232 IC.It
converts the signal in from of RS232 serial port.
Features:
The Arduino board is very easy to use as the user simply need to connect it
to a computer with USB cable. The Arduino board can take power from the USB
connector or DC plug. Micro-controller is called decision making device that is
programmed with higher level c language.
Arduino software runs on windows and linux operating system where the
other micro-controller are limited to windows. Arduino supports higher level C,C++
language.The main advantage of Arduino is easy to use compare to other controller.
The micro-controller Arduino analyse the command and perform the action
as per the programming we had done in Arduino. programming is simple. Arduino is
latest version of micro-controller. Arduino control the circuit through programming.
Features:
Clock speed-16MHZ
32Kbyte memory
21
4)IC-L293D:The commands further passed to the motor driver IC-L293D which will regulate the
value of voltage and control the equipment.
Motor driver IC regulate the voltage as per circuit requirement.In our project
we use 16 pin L293D IC is used.L293D is used to interfacing with motor. Generally,
two motors are connected with L293D.It allows to connect four motors.When microcontroller gets input from sensor it gives some output to motor driver L293D.
Features:-
22
3) Hall effect current sensor:The feedback element of the circuit is Hall effect current sensor which
will detect the current in circuit.In our project we use Hall effect current
sensor A1302. It is three pin IC.
23
Features:
Finally, the message is send and received through all the components and
display in the LCD and the whole process is done. The devices are car, scooter,
active, truck, bike, etc.This system improving the security of vehicles.
25
CHAPTER:-4
CIRCUIT DIAGRAM
26
4.2DISCRIPTION OF CIRCUIT DIAGRAM:This project mainly use GSM Module and Arduino.When GSM
module is connect to Arduino it required MAX 232.In GSM module main
pin are TXD, RXD, GND, VCC.
TXD: Transmit data
RXD: Receive data
GND: connect with Ground
VCC: power supply
MAX232 IC is 16 pin IC that is converts signal from an RS232
serial port to signals suitable for use in TTL compatible digital logic circuit.
It use RS 232 port is a driver IC to convert the AT command TTL logic to
the RS 232 logic. Much device today work on RS 232 logic such as, GSM
modem. So, in order to communicate with such devices we have to bring the
logic levels to the 232 logic.
Arduino micro-controller is 32 pin IC. Where 6 pin is analog and
12 pin is digital. Digital pin is used in our project is connect the LCD and
L293D. The Arduino works on TTL logic .So to convert the TTL logic to RS
232 logic we use the 4 capacitors connected to the RS232 IC. These Here in
our project we have One RS232 through which we can connect of serial
Devices .So in our project we have Devices that work on serial GSM
modem.
We connect the Arduino pin TXD is connected to RS232 IC pin
R2OUT pin .TXD is transmit the data and pin R2out receive the data.
Arduino pin RXD is connected to RS232 IC pin T2IN pin .RXD is the
receive data and T2IN pin transmit the data to the RXD pin of RS 232 as
shown and the GSM to the TXD pin of RS 232 .
28
29
30
4.4 DISCRIPTION
OF COMPONENT LIST:-
4.4.1. Arduino
Pin Descriptions
VCC: Digital supply voltage.
GND: Ground.
31
If the RSTDISBL Fuse is programmed, PC6 is used as an I/O pin. Note that
the electrical characteristics of PC6 differ from those of the other pins of Port C.
If the RSTDISBL Fuse is unprogrammed, PC6 is used as a Reset input. A low
level onthis pin for longer than the minimum pulse length will generate a Reset,
even if the clock is not running.
Port D (PD7:0)
Port D is an 8-bit bi-directional I/O port with internal pull-up resistors (selected
for each bit). The Port D output buffers have symmetrical drive characteristics with
both high sink and source capability. As inputs, Port D pins that are externally
pulled low will source current if the pull-up resistors are activated. The Port D pins
32
are tri-stated when a reset condition becomes active, even if the clock is not
running.
VCC
AVCC is the supply voltage pin for the A/D Converter, PC3:0, and
ADC7:6. It should be externally connected to VCC, even if the ADC is not used. If
the ADC is used, it should be connected to VCC through a low-pass filter. Note
that PC6...4 use digital supply voltage, VCC.
AREF
33
Pin 4 ,Pin 5,Pin 12 and Pin 13 from L293D Chip Connect to Ground
(Negative On Breadboard)
Pin 1,Pin 9 and Pin 16 from L293D Chip Connect to 5 Volts (Positive On
Breadboard)
Pin 1,Pin 9 and Pin 16 from L293D Chip Connect to 5 Volts (Positive On
Breadboard)
35
36
GPRS coding schemes CS-1, CS-2, CS-3 and CS-4. With a tiny configuration of
24mm x 24mm x 3mm, SIM900 can meet almost all the space requirements in
Users applications, such as M2M, smart phone, PDA and other mobile devices.
MAX232 IC:
The MAX232 is an integrated circuit that converts signals from an RS-232 serial
port to signals suitable for use in TTL compatible digital logic circuits, so that
devices works on TTL logic can share the data with devices connected through
Serial port (DB9 Connector).
Serial port / DB9 connector:
User just needs to attach RS232 cable here so that it can be connected to devices
which has Serial port / DB9 Connector.
OFF so that after making Power supply ON it will be easy to reinitialize with SIM
for this module.
Indicator LEDs:
Indicator LEDs just used to indicate status accordingly. These are three LEDs
represents Power On/Off Status, Network Status and Module On/Off Status
respectively. Power LED will keep on until the power supply is enable to this
board by using push-on push-off switch.
Network Status LED will show whether inserted SIM card successfully connected
to service providers Network or not, in short signal strength. Module On/Off
indicator LED will show status of GSM modules power on/off.
RXD, TXD and GND pins (JP2):
These pins are used to connect devices which need to be connected to GSM
module through USART (Universal Synchronous Asynchronous Receiver and
Transmitter) communication. Devices may be like Desktop or Laptop Computer
System, Microcontrollers, etc. RXD (Receive Data) should be connected to TXD
(Transmit Data) of other device and vice versa, whereas GND (Ground) should be
connected to other devices GND pin to make ground common for both systems.
Audio Connectors:
Audio Connectors deals with Audio related operations. These pins already shown
in Hardware description diagram. These are eight pins in a group of two each
denoted by SV4. GND (0V Supply) and VCC (+5V Supply) are used to have
source for external device. MIC+ and MICused to connect Microphone (abbr. as
Mic) through which user can give audio input while calling. SP- and SP+ used to
connect Speaker (can be connected to amplifier circuit if necessary) through which
User can hear audio output. LN-L and LN-R used to connect Line in to GSM
module.
Debugger (DBG-R and DBG-T) Connectors (J2):
These connectors are 2-wire null modem interface DBG_TXD and DBG_RXD.
These pins can be used for debugging and upgrading firmware. User generally no
need to deal withthes pins.
39
4.4 RESISTER
Circuit.
A resistor is a device found in circuits that has a certain amount of resistance.
4.5 CAPACITOR:-
41
4.6 DC MOTOR
FIG.4.4.6 DC MOTOR
A DC motor relies on the fact that like magnet poles repels and unlike magnetic
poles attracts each other. A coil of wire with a current running through it generates
an electromagnetic field aligned with the center of the coil. By switching the
current on or off in a coil its magnetic field can be switched on or off or by
switching the direction of the current in the coil the direction of the generated
magnetic field can be switched 180.
A simple DC motor typically has a stationary set of magnets in the stator and an
armature with a series of two or more windings of wire wrapped in insulated stack
slots around iron pole pieces (called stack teeth) with the ends of the wires
terminating on a commentator Workings of a brushed electric motor with a twopole rotor (armature) and permanent magnet stator. "N" and "S" designate
polarities on the inside faces of the magnet the outside faces have opposite
polarities. The + and - signs show where the DC current is applied to the
commutator which supplies current to the armature coil.
42
4.7 LCD:-
Short for liquid crystal display, a type of display used in digital watches and
many portable computer.LCD displays utilize two sheets of polarizing
material with a liquid crystal solution between them.
An electric current passed through the liquid causes the crystals to align so
that light cannot pass through them. Each crystal, therefore, is like a shutter,
either allowing light to pass through or blocking the light.
FIG.4.4.7 LCD
LCD (Liquid Crystal Display) screen is an electronic display module and find a
wide range of applications. A 16x2 LCD display is very basic module and is very
commonly used in various devices and circuits. These modules are preferred over
seven segments and other multi segment LEDs.
A 16x2 LCD means it can display 16 characters per line and there are 2 such
lines. In this LCD each character is displayed in 5x7 pixel matrix. This LCD has
two registers, namely, Command and Data. The command register stores the
command instructions given to the LCD.
43
44
9 IC .MAX232
FIG.4.4.9 MAX232
The MAX232 is an IC, first created in 1987 by Maxim Integrated Products, that
converts signals from an RS-232 serial port to signals suitable for use in TTL
compatible digital logic circuits. The MAX232 is a dual driver/receiver and
typically converts the RX, TX, CTS and RTS signals.
The drivers provide RS-232 voltage level outputs (approx. 7.5 V) from a single +
5 V supply via on-chip charge pumps and external capacitors. This makes it useful
for implementing RS-232 in devices that otherwise do not need any voltages
outside the 0 V to + 5 V range, as power supply design does not need to be made
more complicated just for driving the RS-232 in this case.
The receivers reduce RS-232 inputs (which may be as high as 25 V), to standard
5 V TTL levels. These receivers have a typical threshold of 1.3 V, and a typical
hysteresis of 0.5 V
Application
Portable Computers
Low-Power Modems
Interface Translation
Battery-Powered RS-232 Systems
Multidrop RS-232 Networks
45
Hall effect current sensor is a micro-power Omni polar Hall-Effect switch designed
for portable and battery powered equipment such cellular phones, PDAs and
portable PCs. Based on two Hall Effect plates and a chopper stabilized
Architecture the Hall effect current sensor Provides reliable Solution Over the
whole Operating range. To support portable and battery Powered Equipment. The
Design Has Been optimized to operate over the supply range Of 2.5V to 5.5V and
consumes. Only 24uW with a supply Of 3V.
46
CHAPTER:-5
FLOW CHART
47
48
5.2 PROGRAMMING
#include<LiquidCrystal.h>
#define motor1 10
#define light2 11
int temp4=0;
LiquidCrystal lcd(7,6,5,4,3,2);
int lenth,lenth1,i=0,temp=0;
String str="";
String name="";
String number="";
void setup()
{
49
lcd.begin(16,2);
Serial.begin(9600);
pinMode(13, OUTPUT);
pinMode(MOTOR1, OUTPUT);
pinMode(light2, OUTPUT);
lcd.setCursor(0,0);
lcd.print("GSM Based security/ ");
lcd.setCursor(0,1);
lcd.print("Vehichle motor");
delay(2000);
lcd.clear();
lcd.setCursor(0,0);
lcd.print("
Control
");
delay(2000);
lcd.setCursor(0,0);
lcd.print("By Hinal ");
lcd.setCursor(0,1);
lcd.print("RemedialEng");
delay(1000);
Serial.println("AT+CNMI=2,2,0,0,0");
Serial.println("AT+CMGF=1");
delay(1000);
lcd.clear();
}
50
void loop()
{
while(temp!=0)
{
i=0;
while(i<lenth)
{
if(str[i]=='"')
{
temp4++;
}
if(temp4==1)
{
for(int j=0;j<15;j++)
{
number+=str[i];
i++;
}
temp4=2;
}
if(str[i]=='*')
51
{
i++;
while(str[i]!='#')
{
name+=str[i];
i++;
}
}
i++;
}
chack();
// lcd.setCursor(13,0);
// lcd.print(name);
// lcd.setCursor(0,1);
// Serial.println(name);
// Serial.println(number);
//Serial.print("AT+CMGS=");
// Serial.println(number);
delay(2000);
temp=0;
temp4=0;
name="";
lenth=0;
52
str="";
number="";
delay(1000);
}
lcd.setCursor(0,1);
lcd.print("System Ready");
delay(400);
}
void serialEvent()
{
while (Serial.available())
{
char inChar = (char)Serial.read();
str+=inChar;
lenth++;
if (inChar == '\n')
{
temp=1;
inChar=0;
}
}
}
void chack()
{
if(name == MOTOR_ON)
53
{
digitalWrite(MOTOR, HIGH);
Serial.println("AT+CMGF=1");
delay(1);
Serial.print("AT+CMGS=");
Serial.println(number);
delay(1);
Serial.print("MOTOR ON");
Serial.write(26);
lcd.clear();
lcd.setCursor(0,0);
lcd.print("MOTOR ON");
delay(2000);
}
if (name == MOTOR_OFF)
{
digitalWrite(MOTOR,LOW);
Serial.println("AT+CMGF=1");
delay(1);
Serial.print("AT+CMGS=");
Serial.println(number);
delay(1);
Serial.print("MOTOR OFF");
Serial.write(26);
lcd.clear();
54
lcd.setCursor(0,0);
lcd.print("MOTOR OFF");
delay(2000);
if (name == LIGHT2_ON)
{
digitalWrite(light2,HIGH);
Serial.println("AT+CMGF=1");
delay(1);
Serial.print("AT+CMGS=");
Serial.println(number);
delay(1);
Serial.print("LIGHT 2 ON");
Serial.write(26);
lcd.clear();
lcd.setCursor(0,0);
lcd.print("LIGHT 2ON");
delay(2000);
if (name == LIGHT2_OFF)
{
digitalWrite(light2,LOW);
55
Serial.println("AT+CMGF=1");
delay(1);
Serial.print("AT+CMGS=");
Serial.println(number);
delay(1);
Serial.print("LIGHT 2 OFF");
Serial.write(26);
lcd.clear();
lcd.setCursor(0,0);
lcd.print("LIGHT 2 OFF");
delay(2000);
}
56
CHAPTER: - 6
CONCLUSION
57
CONCLUSION
In this project, the method of Vehicle security systems used to secure the theft
vehicle by using GSM technology. This system puts into the sleeping mode vehicle
handled by the owner or authorized persons; otherwise goes to active mode. The
mode of operations changed by persons or remotely. When the theft identified, the
responsible people send SMS to the micro controller, then issue the control signals
to stop the engine motor. After that all the doors locked. To open the doors or to
restart the engine authorized person needs to enter the passwords. In this method,
easily track the vehicle place and doors locked.
58
Future work:Our project is provide more security of vehicle. This project brings technology
effectively in security and surveillance segment of industry.
This device is implemented to the vehicle will reduced the theft .
In this project we can control the engine, light, door lock etc through SMS. In
future we use the eye lock and finger print system and give the more security for
vehicle.
In future we can add the GPS module. It provides more security and exact location
for the vehicle. Same as small change in program and hard ware and it is use in
house hold application as well as industry; bank, etc control the system and
provide more security.
It can be used as home automation substituted in house hold application. This
project itself can be modified to achieve a complete home automation
system .Which will then create a plat from for user to interface with the hose hold.
59
7.2 REFERENCES
[1] Mrs.RamyaKulandaivel1, P.Ponmalar2, and B.Geetha3, G.Saranya4 GPS and
GSM based vehicle information system International Journal of Communications
and Engineering Volume 01 No.1, Issue: 01 March2012
[2] Deepak Mishra, Apurv Vas, Puneet Tandon A novel and cost effective
approach to public vehicle tracking system International Journal of UbiComp
(IJU), Vol.3, No.1, January 2012
[3] Ruchika Gupta and BVR Reddy GPS and GPRS Based Cost Effective Human
Tracking System Using Mobile Phones Volume 2 No. 1 January-June 2011
[4] Mohammad A. Al-Khedher Hybrid GPS-GSM Localization of Automobile
Tracking System International Journal of Computer Science & Information
Technology (IJCSIT) Vol 3, No 6, Dec 2011
[5] Francis Enejo Idachaba Design of a GPS/GSM based tracker for the location
of stolen items and kidnapped or missing persons in NIGERIAARPN Journal of
Engineering and Applied Sciences VOL. 6, NO. 10, OCTOBER 2011
[6] Adnan I. Yaqzan, Issam W. Damaj, and Rached N. Zantout GPS-based
Vehicle Tracking System-on-Chip Proceedings of the World Congress on
Engineering 2008 Vol I WCE 2008, July 2 - 4, 2008, London, U.K.
[7] T. Krishna Kishore, T.Sasi Vardhan, N.Lakshmi Narayana Vehicle Tracking
Using a Reliable Embedded Data Acquisition Sytem With GPS and GSM IJCSNS
International Journal of Computer Science and Network Security, VOL.10 No.2,
February 2010
.
60
61