Vehicle tracking Using GPS,GSM & ARM7

  • View

  • Download

Embed Size (px)

Text of Vehicle tracking Using GPS,GSM & ARM7


Submitted in partial fulfilment of the requirement for the award of the Degree OfBachelor of Technology from

Guru Gobind Singh Indraprastha UniversityInElectronic & Communication

Under the guidance of: Submitted by: ASHUTOSH UPADHAYAYMr. Jagrit : SAMIR BOTHRAAsst. Prof., ECE Department: RASHMI SINGH : SHIVANSHU GUPTA

HMR Institute of Technology & ManagementDelhi-1100362011-2015


This is to certify that ASHUTOSH UPADHAYAY, SAMIR BOTHRA, RASHMI SINGH, SHIVANSHU GUPTA have carried out the project work presented in this report entitled TRACKING SYSTEM USING GSM, GPS & ARM7 for award of Bachelor of Technology (E.C.E) from GGSIPU, Delhi under my guidance and supervision. The report embodies the result of original work and studies are carried out by the students themselves and the contents of the report do not form basis for award of any other degree to the candidates or anybody else.

Prof. A. K. Shrivastva Asst. Prof. JagritHead of Department Project GuideECEECE

ACKNOWLEDGEMENTWith due respect and gratitude we would like to thank our supervisorAsst. Prof. Jagrit for his constant support, able guidance and ever following stream of encouragement throughout this work.

We would also like to thank Ms Yukti who helped us in our endeavour and all the staff of the Department of Electronics and Communication Engineering of HMRITM who made working on this project and completing it an enjoyable job for us.

Date:ASHUTOSH UPADHAYAY (08213302811)SAMIR BOTHRA (06113302811) RASHMI SINGH (09913302811)SHIVANSHU GUPTA (05096504911)


TABLE OF CONTENTSCertificateAcknowledgementTable of ContentsList of FiguresList of TablesAbbreviationsChapter 1: Introduction to VTS1.1Introduction1.2Vehicle Security using VTS1.3Active versus Passive Tracking1.4Types of GPS Vehicle Tracking1.5Typical Architecture1.6History of Vehicle Tracking1.6.1 Early Technology1.6.2 New development in technology1.7Vehicle Tracking System Features1.7.1 Vehicle Tracking Benefits1.8Vehicle Tracing in IndiaChapter 2: Block Diagram of VTS2.1Block Diagram of Vehicle Tracing Using GSM and GPS Modem 2.2Hardware Components 2.2.1 GPS2.2.1.1 Working of GPS2.2.1.2 Triangulation2.2.1.3 Augmentation2.2.2 GSM2.2.3 RS232 Interface2.2.3.1 The scope of the standard2.2.3.2 History of RS 2322.2.3.3 Limitation of Standard2.2.3.4 Standard details2.2.3.5 Connectors2.2.3.6 Cables2.2.3.7 Conventions2.2.3.8 RTS/CTS handshaking2.2.3.9 3-wire and 5-wire RS-2322.2.3.10 Seldom used features2.2.3.11 Timing Signals2.2.3.12 Other Serial interfaces similar to RS-2322.2.4 LCD2.2.4.1 Advantages and Disadvantages

Chapter 3:Working of VTS3.1Schematic Diagram of VTS3.2Circuit Description3.3Circuit Operation3.3.1 Power3.3.2 Serial Ports3.4Operating procedureChapter 4:Microcontroller ARM74.1Features4.2The Pin Configuration4.2.1 Special Function Registers (SFR)4.3Memory Organization4.4TimersChapter 5:GSM Module5.1GSM History5.2Services Provided by GSM5.3Mobile Station5.4Base Station Subsystem5.4.1 Base Station Controller5.5 Architecture of the GSM Network5.6 Radio Link Aspects5.7 Multiple Access and Channel Structure5.8 Frequency Hopping5.9 Discontinuous Reception5.10Power Control5.11Network Aspects5.12Radio Resources Management5.13Handover5.14Mobility Management5.15Location Updating5.16Authentication and Security5.17Communication Management5.18Call RoutingChapter 6:GPS Receiver6.1GPS History6.1.1 Working and Operation6.2GPS Data DecodingChapter 7:KEIL Software7.1 Introduction7.2 KEIL uVision47.3 KEIL Software Programing Procedure7.3.1 Procedure Steps7.4 Applications of KEIL SoftwareChapter 8:Applications8.1 Applications8.2 LimitationsChapter 9:Result AnalysisChapter 10:Conclusion and Future ScopeReferences


Figure 1.1Vehicle tracking systemFigure 2.1Block diagramFigure 2.2A 25 pin connector as described in the RS-232 standardFigure 2.3Trace of voltage levels for uppercase ASCII "K" characterFigure 2.4Upper Picture: RS232 signalling as seen when probed by an actual oscilloscopeFigure 2.5A general purpose alphanumeric LCD, with two lines of characters.Figure 3.1Schematic diagram of vehicle tracing using GSM and GPSFigure 5.1Mobile station SIM portFigure 5.2Baste Station Subsystem.Figure 5.3Siemens BSCFigure 5.4Siemens TRAUFigure 5.5General architecture of a GSM networkFigure 5.6Signalling protocol structure in GSMFigure 5.7Call routing for a mobile terminating callFigure 6.1G.P.S receivers communicating with the satelliteFigure 9.1Picture of final VTS kitFigure 9.2Message received from the VTS kit


Table 2.1Commonly used RS-232 signals and pin assignmentsTable 2.2Pin assignmentsTable 2.3RS-232 Voltage LevelsTable 2.4TX and RX pin connection

ABBREVIATIONSVTSVehicle Tracking SystemGSMGlobal System for Mobile CommunicationGPSGlobal Positioning SystemRIRing IndicatorTxTransmitterRxReceiverSFRSpecial Function RegisterLCDLiquid Crystal DisplayRAMRandom Access MemoryROMRead Only MemoryRS-232 Recommended StandardTTLTransistor Transistor LogicCMOS Complementary Metal Oxide Semi-ConductorUART Universal Asynchronous Receiver TransmitterRSTResetALEAddress Latch EnablePSENProgram Store Enable


1.1 IntroductionVehicle Tracking System (VTS) is the technology used to determine the location of a vehicle using different methods like GPS and other radio navigation systems operating through satellites and ground based stations. By following triangulation or trilateration methods the tracking system enables to calculate easy and accurate location of the vehicle. Vehicle information like location details, speed, distance travelled etc. can be viewed on a digital mapping with the help of a software via Internet. Even data can be stored and downloaded to a computer from the GPS unit at a base station and that can later be used for analysis. This system is an important tool for tracking each vehicle at a given period of time and now it is becoming increasingly popular for people having expensive cars and hence as a theft prevention and retrieval device.1. The system consists of modern hardware and software components enabling one to track their vehicle online or offline. Any vehicle tracking system consists of mainly three parts mobile vehicle unit, fixed based station and, database and software system. 2. Vehicle Unit: It is the hardware component attached to the vehicle having either a GPS/GSM modem. The unit is configured around a primary modem that functions with the tracking software by receiving signals from GPS satellites or radio station points with the help of antenna. The controller modem converts the data and sends the vehicle location data to the server. 3. Fixed Based Station: Consists of a wireless network to receive and forward the data to the data centre. Base stations are equipped with tracking software and geographic map useful for determining the vehicle location. Maps of every city and landmarks are available in the based station that has an in-built Web Server. 4. Database and Software: The position information or the coordinates of each visiting points are stored in a database, which later can be viewed in a display screen using digital maps. However, the users have to connect themselves to the web server with the respective vehicle ID stored in the database and only then s/he can view the location of vehicle travelled.

1.2 Vehicle Security using VTSVehicle Security is a primary concern for all vehicle owners. Owners as well as researchers are always on the lookout for new and improved security systems for their vehicles. One has to be thankful for the upcoming technologies, like GPS systems, which enables the owner to closely monitor and track his vehicle in real-time and also check the history of vehicles movements. This new technology, popularly called Vehicle Tracking Systems has done wonders in maintaining the security of the vehicle tracking system is one of the biggest technological advancements to track the activities of the vehicle. The security system uses Global Positioning System GPS, to find the location of the monitored or tracked vehicle and then uses satellite or radio systems to send to send the coordinates and the location data to the monitoring centre. At monitoring centrevarious softwares are used to plot the Vehicle on a map. In this way the Vehicle owners are able to track their vehicle on a real-time basis. Due to real-time tracking facility, vehicle tracking systems are becoming increasingly popular among owners of expensive vehicles.The vehicle tracking hardware is fitted on to the vehicle. It is fitted in such a manner that it is not visible to anyone who is outside the vehicle. Thus it operates as a covert unit which continuously sends the location data to the monitoring unit.When the vehicle is stolen, the location data sent by tracking unit can be used to find the location and coordinates can be sent to police for further action. Some Vehicle tracking System can even detect unauthorized movements of the vehicle and then alert the owner. This gives an edge over other pieces of technology for the same purposeMonitoring centre Software helps the vehicle owner with a view of the location at which the vehicle stands. Browsing is easy and the owners can make use of any browser and connect to the monitoring centre software, to find and track his vehicle. This in turn saves a lot of effort to find the vehicle's position by replacing the manual call to the driver.As we have seen the vehicle tracking system is an exciting piece of technology for vehicle security. It enables the owner to virtually keep an eye on his vehicle any time and from anywhere in the world.A vehicle tracking system combines the installation of an electronic device in a vehicle, or fleet of