vehicle traking based on gsm/gps using 8051

14
i

Upload: sagar-parmar

Post on 24-Jun-2015

693 views

Category:

Engineering


8 download

DESCRIPTION

simple n easy to understand

TRANSCRIPT

Page 1: vehicle traking based on GSM/GPS using 8051

i

Page 2: vehicle traking based on GSM/GPS using 8051

GSM/GPS Based vehicle Tracking System

A Synopsis on ProjectSubmitted in partial fulfillment of the requirement of

University of Mumbai

For the Degree of

Bachelor of Engineering(Instrumentation Engineering)

by

Pritesh Bharnuke(Roll No.66)Abhishek Kshirsagar(Roll No.29)

Sagar Parmar(Roll No.36)

Under the guidance of

Mrs.Manisha Hatkar

Department of Instrumentation EngineeringSmt.Indira Gandhi College of Engineering,Sector 16, Koparkhairane , Navi Mumbai

(Affiliated to University of Mumbai)November 2014

Page 3: vehicle traking based on GSM/GPS using 8051

Smt.Indira Gandhi College of Engineering(Affiliated to the University of Mumbai)

Sector 16, Koparkhairane, Navi Mumbai 400 709.

CERTIFICATE

This to certify that synopsis on Project entitled“GSM/GPS Based vehicle Tracking System”

submitted by

Pritesh Bharnuke(Roll No.66)Abhishek Kshirsagar(Roll No.29)

Sagar Parmar(Roll No.36)

is approved for the degree ofBachelor of Engineering

inInstrumentation Engineering.

Examiner 1 Examiner 2

Guide Project Coordinator

Head of Department Principal

i

Page 4: vehicle traking based on GSM/GPS using 8051

Abstract

As this projects contains following sections Micro-controller AT89C2051 , is the heart ofthe project. 2 line 16 character lcd for display, RS-232 section, DB9 connector for gsmand gps modem connection, Indication led, Global Positioning System (GPS) modem,Global system for mobile communication (GSM) modem SIM300 or similar, In the saidproject, we can track the location of our Vehicle anywhere in the world. This project giveslocation details about vehicle by sending s.m.s .through GSM modem. This SMS containslongitude and latitude of the location. Microcontroller is the central heart of this projectMicrocontroller gets the coordinates from GPS modem and then it sends this informationto the user in Text format giving direct link on google map on even your mobile phone.You simply click on the link and it will take you to the vehicle location on the Googlemap or even in your browser.

This Project it is designed on an embedded system which is used for tracking andpositioning of any vehicle by using GPS tracking system is required in many situations,when you need to track the vehicle or the convoy of vehicles ,it could be theft or highjackcase. In GPS tracking system the location of vehicle is sent to remote place and it isdone by GSM modem. GPS modem requires minimum 3 satellites to calculate the exactlocation. This modem communicates only in one way with microcontroller. This meansthat it can only transmit data to microcontroller. GPS Modem does not receive any datafrom microcontroller. At the same time GPS modem does not send data to Satellite, itonly receives signal from satellites.

ii

Page 5: vehicle traking based on GSM/GPS using 8051

Contents

Abstract ii

List of Figures iv

1 Literature Survey 1

2 Introduction 32.1 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

3 Circuit Diagram 53.1 Circuit Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Bibliography 7

iii

Page 6: vehicle traking based on GSM/GPS using 8051

List of Figures

2.1 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

3.1 Circuit Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

iv

Page 7: vehicle traking based on GSM/GPS using 8051

Chapter 1

Literature Survey

The papers published in IEEE journals regarding vehicle position tracking system and itsimplementation on Fpga has helped to develop this project by analyzing the defects andusing the effective ways from all resources available. The concept of the reference papersand how it helped in designing this system is described in the following subsections

• This project is referenced to the paper ?Design of vehicle position tracking systemusing short message services and its implementation on fpga ,done by Arias TantiHapsari , Eniman Y Syamsudin and, Imron Pramana. In this reference paper authorused .GPS module to receive the vehicular position and, short messaging service viamobile phone’ to receive user request and to send the vehicle’s position. Thesecomponents are controlled by a system which is designed using VHDL on AlteraMAX plus I1 software, and it is implemented on FPGA chip Altera UPlX demoboard (Altera FLEX 10KEPF). In this way the author gets the position of thevehicle and send it to any user who gives the request for tracking. The objectiveof this project is to achieve a design of such system that can give information ofthe vehicle position every time there’s a request for it. Safety and security is amajor concern for all vehicle owners . This vehicle tracking system ensures safetyand security of vehicle by tracking its position and sending it to owner or anypeople whenever it is requested by them. And also GPS system ensures maximumaccuracy in finding the vehicular position ranging within few feet. Using the mobilephone attached in the system ,the position of the vehicle is sent as short messageservice?(SMS) to the requested people. The designed system is implemented onAltera UPlX demo board. There are two testing and verification procedures of thissystem.[3]

• Another paper referenced is? GPS-based Vehicle Tracking System-on-Chip. Mod-ern powerful reconfigurable systems are suited in the implementation of variousdata-stream, data parallel,and other applications . An application that needs real-time, fast, and reliable data processing is the GPS-based vehicle tracking system(VTS). This system is designed using a system-on-chip (SOC) replacement of thecurrent microcontroller(8051)-based implementation. The proposed SOC is builton a field programmable gate array (FPGA) promising a cheaper design, a morecohesive architecture, a faster processing time and an enhanced system interaction.Reconfigurable systems enable extensive exploitation of computing resources. Thereconfiguration of resources in different parallel topologies allows for a good match-ing with the inherent intrinsic parallelism of an algorithm or a specific operation.

1

Page 8: vehicle traking based on GSM/GPS using 8051

The introduction of a new paradigm in hardware design called Reconfigurable Com-puting (RC) offers to solve any problem by changing the hardware configurationsto offer the performance of dedicated circuits. Reconfigurable computing enablesmapping software into hardware with the ability to reconfigure its connections toreflect thesoftware being run. The ability to completely reprogram the computer’shardware implies that this new architecture provides immense scope for emulatingdifferent computer architectures. As the complexity of FPGA-based designs grow,a need for a more efficient and flexible design methodology is required. One of themodern tools is Quartus II. It is a compiler, simulator, analyzer and synthesizerwith a great capability of verification and is chosen to be used for this implemen-tation. It consists of two main parts, the Base Station (BS) and the Mobile Unit(MU). The BS consists of a PIC Microcontroller based hardware connected to theserial port of a computer. The MU is a self-contained PIC Microcontroller basedhardware and a GPS module. 4 The latter would keep track of all the positionstraversed by the vehicle and records them in its memory. The system has a greatstorage capacity, and could perform a significant recording with a considerable sam-pling rate. The mobile unit (MU) of the addressed Aram Locator consists of twocommunicating microcontrollers interfaced with memory. There is also a GPS unitand RF transceiver.[1]

• Proposed Method:-

All these mentioned technology are cotly and take much more space compare toour project. With the help of advancement in technology we are use the the Atmel89c2051microcontroller to controlled system we can easily track any object or vehiclewhich ensures safety for vehicle owners and also lots of uses for public transportsystem..

2

Page 9: vehicle traking based on GSM/GPS using 8051

Chapter 2

Introduction

There is a drastic increase in the number of vehicles in these days which also cause a steeprise in the number of theft. with a lot of people losing their personal asset . According tothe World Organization, an estimated 1.2 million people lose their asset every year dueto theft. This project is mainly used to track the position of the Vehicle by the owner orcan also be used in the public transportation system by the people to know the locationof the buses or trains. In case of any theft the system sends automated messages to thepre-programmed numbers. We can send messages to any number of mobiles. The ownerof the vehicle, keep track of its vehicle This uses a GPS (Global Positioning System) toknow the exact position of the vehicle with an accuracy of a few feet. GSM is used toreceive SMS from the user and reply the position of the vehicle through a SMS. Thiscan also be used for other purposes such as asset tracking, Stolen Vehicle recovery, Fleetmanagement, Field Service Management, Field Sales etc. Industries not traditionallyknown to use vehicle tracking systems have started to use it in creative ways to improvetheir processes or businesses. The hospitality industry has caught on to this technologytwelcomeo improve customer service. For example, a luxury hotel in Singapore has beenknown to install tracking system in their limousines to ensure they can their VIPS whenthey reach the hotel. Vehicle tracking systems have also been used in food delivery andcar rental companies.

2.1 Block Diagram

As this projects contains following sections

1. Micro-controller AT89C2051 , is the heart of the project.

2. 2 line 16 character lcd for display

3. RS-232 section

4. DB9 connector for gsm and gps modem connection

5. Indication led

6. GPS modem

7. GSM modem SIM300 or similar

3

Page 10: vehicle traking based on GSM/GPS using 8051

Figure 2.1: Block Diagram

In the said project, we can track the location of our Vehicle anywhere in the world. Thisproject gives location details about vehicle by sending s.m.s .through GSM modem. ThisSMS contains longitude and latitude of the location. Microcontroller is the central heartof this project Microcontroller gets the coordinates from GPS modem and then it sendsthis information to the user in Text format giving direct link on google map on even yourmobile phone. You simply click on the link and it will take you to the vehicle location onthe Google map or even in your browser it will be something like this

http://maps.google.com/maps?q=19+10.8328,072+58.4268.

This Project it is designed on an embedded system which is used for tracking andpositioning of any vehicle by using GPS and GSM. GPS based Vehicle tracking system isrequired in many situations, when you need to track the vehicle or the convoy of vehicles,it could be theft or highjack case.In GPS tracking system the location of vehicle is sent to remote place and it is done byGSM modem. GPS modem requires minimum 3 satellites to calculate the exact location.This modem communicates only in one way with microcontroller. This means that itcan only transmit data to microcontroller. GPS Modem does not receive any data frommicrocontroller. At the same time GPS modem does not send data to Satellite, it onlyreceives signal from satellites..

4

Page 11: vehicle traking based on GSM/GPS using 8051

Chapter 3

Circuit Diagram

3.1 Circuit Diagram

In the power supply section IC1 is 7805 , 5v regulator . 9 to 12 v one ampere dc isinput to the power supply .Capacitor c1 and c2 forms the filter circuit. LD1 is a powersupply indication led. Restance R1 is a voltage dropping resistance since the output ofthe regulator is 5v and led works on 3vdc. Our entire circuit works on 5v dc supply.

On the microprocessor AT 89C2051 CRYSTAL X1 is 11.059mhz crystal connectedto pin 2 and pin 3 of the microcontroller along with the capacitor c3 and capacitor c4forms the clock frequency input to microcontroller.

These value is the recommendation of the microcontroller manufactures. Capacitorc5 and resistor r2 forms the reset circuit of the microcontroller. We used at89c2051 mi-crocontroller in our project since it is from the 8051 family of microcontroller .This issmall in size and only 20 pin package. It’s current consumption is quite low comparedto it’s big brother AT89c51 which has 4 ports with 40 pin package.AT89C2051 is 20 pinpackage with only two ports port 1 and port3.

For other details on the microcontroller please refer accompanied data sheet. RS- 232is max 232 ic with dual transreceiver, is used for level conversion Rs-232 was designed towork on the pc so it’s logic is at +12 and -12 v level It should be converted to TTL level tobe connected to microcontroller which works only on 5vdc. Capacitor C6,C7,C8,C8,C10.Are associated components And are part of rs-232 conversion as given in manufacturer’sdata sheet.

Both GPS and GSM modems are connected to this ic through 9pin DB9 connec-tor .This microcontroller has only one serial port. Additional serial port is created bysoftware. Data from GPS is received through software serial port and data to gsm istransmitted through the onboard hardware serial port. P3.0 is RX pin and P3.1 is TXpin similarly P1.0 and P1.1 are RX and TX pins for software serial port.

On the display we have used 16 character , 2 line(16x2) text lcd.data from microcon-troller is sent through its pins p1.4 to pin p1.7. Data is sent in nibble mode. Pin P1.2 isconnected to RS pin on the lcd and Pin P1.3 is connected to EN pin on to lcd. Variableresistance V1 is contrast control resistance.

5

Page 12: vehicle traking based on GSM/GPS using 8051

Figure 3.1: Circuit Diagram

GPS receiver works on 9600 baud rate is used to receive the data from space Seg-ment (from Satellites), the GPS values of different Satellites are sent to microcontrollerAT89c2051, where these are processed and forwarded to GSM. At the time of processingGPS receives only GPGGA values . From these values microcontroller takes only latitudeand longitude values excluding time, altitude, name of the satellite, authentication etc.Global system for mobile communication (GSM) works on 9600 baud rate.

The power is supplied to components like GSM, GPS and Micro control circuitryusing a 12V/3.2A battery .GSM requires 12v,GPS and microcontroller requires 5v .withthe help of regulators we regulate the power between three components..

6

Page 13: vehicle traking based on GSM/GPS using 8051

Bibliography

[1] Issam W. Damaj Adnan I. Yaqzan and Rached N. Zantout. Gpsbased vehicle trackingsystem-on-chip. 2008.

[2] Peter J. Ashenden. The designer’s guide to vhdl. 1995.

[3] Arias Tanti Hapsari Eniman Y Syamsudin Imron Pramana. Design of vehicle positiontracking system using short message services and its implementation on fpga. Asia,2005.

[4] Theodore S. Rappaport. Wireless communication. pages 3182–3187, Minnesota, USA,2008.

[5] Joseph E. Wilkes Vijay Kumar Garg. Principles and Applications of GSM. 1998.

7

Page 14: vehicle traking based on GSM/GPS using 8051

Acknowledgments

I thank the many people who have done lots of nice things for me. It is indeed a mat-

ter of great pleasure and proud previlege to be able to present this project report on

”GSM/GPS Based vehicle Tracking System”. We are highly indebted to the project

incharge Mrs.Aasha Kantekar and Guidence Mrs. Manisha Hatkar for her valueable guid-

ance and appreciation for giving form and substance to this seminar. It is due to her

enduring efforts, patience and enthusiasm which has given a sense of direction and pur-

posefulness to this project and ultimately made it a success. We would like to express our

deep regards an gratitude to the Principle Dr.S.S.Chavhan. We would like to tender our

sincere thanks to the staff members (teaching and non-teaching staff) and our friends for

their co-ordination.