Vehicle tracking system using gps and gsm techniques

  • View
    83.753

  • Download
    36

Embed Size (px)

Text of Vehicle tracking system using gps and gsm techniques

  • A

    Major Project Report

    On

    Vehicle Tracking System using GSM and GPS

    Submitted in partial fulfillment of the requirement for the degree of

    BACHELOR OF TECHNOLOGY In

    ELECTRONICS & COMMUNICATION ENGINEERING Submitted by

    CH. Bharath. 107B1A0435

    P. Vijay Kumar. 107B1A0437

    P. Anil Reddy. 107B1A0449

    B. Abhishek. 107B1A0468

    Under the Esteemed Guidance of

    Mr. B. SRINIVAS M. Tech, MISTE, AMIE, (Ph.D)

    A s s i s t an t P ro f es so r

    DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

    SAGAR INSTITUTE OF TECHNOLOGY (SITECH)

    SAGAR GROUP OF INSTITUTIONS (Affiliated to JNTU Hyderabad and Approved by AICTE, New Delhi)

    Flame of Forest, Urella-Chevella Road, Chevella, RR District

    (2010-2014)

  • Certificate

    This is to certify that this dissertation work entitled Vehicle Tracking System using GSM and GPS is a bonafide work carried out by CH. Bharath (107B1A0435), P. Vijay Kumar (107B1A0437), P. Anil Reddy (107B1A0449) and B. Abhishek (107B1A0468) in partial fulfillment of the requirements for the award of the degree of Bachelor of Technology in Electronics and Communication Engineering, from Sagar Institute of Technology, during the period 2013 under the guidance and supervision.

    Head of the Department Prof. V. Bhagya Raju

    M. Tech, (Ph.D.) Professor & HOD of ECE.

    Internal Guide Mr. B. SRINIVAS

    M. Tech, MISTE, AMIE, (Ph.D.) A s s i s t an t P ro f es so r D ep ar tmen t o f E CE

    External Examiner

    SAGAR GROUP OF INSTITUTINS

    SAGAR INSTITUTE OF TECHNOLOGY (Affiliated to JNTU Hyderabad and Approved by AICTE, New Delhi)

    Flame of Forest, Urella- Chevella Road, Chevella, RR Dist.

  • DECLARATION

    We hereby declare that the project Vehicle Tracking System using GSM and GPS submitted in the partial fulfilment of that requirements for the award of the degree of

    bachelor of technology in electronics and communication engineering from Sagar

    Institute Of Engineering and Technology, Chevella, affiliated to JNTU, Hyderabad is an

    authentic work and has not been submitted to any other university/institute for award of

    degree.

    CH. Bharath (107B1A0435)

    P. Vijay Kumar (107B1A0437)

    P. Anil Reddy (107B1A0449)

    B. Abhishek (107B1A0468)

    i

  • ACKNOWLEDGEMENT

    With great pleasure we want to take this opportunity to express our heartfelt gratitude to all the people who helped in making this Major Project work a grand success.

    We are grateful to Prof.V.Bhagya Raju, Professor & Head of Electronics and Communication Engineering department, Mr. B. Srinivas, Asst. Prof. Dept of ECE and P. Tejaswi Project Assistant at ECIL for their valuable suggestions and guidance during the execution of this project and also for giving us moral support throughout the period of our study in SITECH.

    We are also highly indebted to our principal Dr. V.V. Satyanarayana, for giving us the permission to carry out this Major Project.

    We would like to thank the teaching and non-teaching staff of ECE Department for sharing their knowledge with us.

    Last but not the least we express our sincere thanks to Dr.W.R.Reddy and all the founders of Sagar Institute of Technology for their continuous care towards our achievements.

    ii

  • Index

    Declaration i

    Acknowledgement ii

    Index iii

    List of Figures viii

    List of Tables ix

    Abbreviations x

    Chapter 1: Introduction To VTS 1

    1.1 Introduction 1

    1.2 Vehicle Security using VTS 2

    1.3 Active versus Passive Tracking 4

    1.4 Types of GPS Vehicle Tracking 5

    1.5 Typical Architecture 6

    1.6 History of Vehicle Tracking 7

    1.6.1 Early Technology 8

    1.6.2 New development in technology 9

    1.7 Vehicle Tracking System Features 9

    1.7.1 Vehicle Tracking Benefits 10

    1.8 Vehicle Tracing in India 10

    Chapter 2: Block Diagram of VTS 12

    2.1 Block Diagram of Vehicle Tracing Using GSM and GPS Modem

    2.2 Hardware Components

    2.2.1 GPS 13

    iii

  • 2.2.1.1 Working of GPS 13

    2.2.1.2 Triangulation 14

    2.2.1.3 Augmentation 14

    2.2.2 GSM 15

    2.2.3 RS232 Interface 16

    2.2.3.1 The scope of the standard 16

    2.2.3.2 History of RS 232 17

    2.2.3.3 Limitation of Standard 18

    2.2.3.4 Standard details 19

    2.2.3.5 Connectors 21

    2.2.3.6 Cables 24

    2.2.3.7 Conventions 24

    2.2.3.8 RTS/CTS handshaking 25

    2.2.3.9 3-wire and 5-wire RS-232 26

    2.2.3.10 Seldom used features 26

    2.2.3.11 Timing Signals 27

    2.2.3.12 Other Serial interfaces similar to RS-232 27

    2.2.4 MAX232 IC 28

    2.2.4.1 Voltage Levels 29

    2.2.4.2 Pin Diagram 30

    2.2.4.3 Pin Description 31

    2.2.5 Relay 31

    2.2.5.1 History of a Relay 32

    2.2.5.2 Basic Design and Operation of a Relay 33

    iv

  • 2.2.5.3 Pole and Throw 34

    2.2.5.4 Uses of Relays 35

    2.2.6 LCD 35

    2.2.6.1 Advantages and Disadvantages 36

    Chapter 3: Working of VTS 37

    3.1 Schematic Diagram of VTS 37

    3.2 Circuit Description 37

    3.3 Circuit Operation 38

    3.3.1 Power 38

    3.3.2 Serial Ports 38

    3.4 Operating procedure 38

    Chapter 4: Microcontroller AT 89S52 40 4.1 Features 40

    4.2 The Pin Configuration 41

    4.2.1 Special Function Registers (SFR) 42

    4.3 Memory Organization 43

    4.4 Watch Dog Timer 43

    4.4.1 Watchdog Timer for both modes of operation 44

    Chapter 5: GSM Module 46 5.1 GSM History 46

    5.2 Services Provided by GSM 47

    5.3 Mobile Station 48

    5.4 Base Station Subsystem 50

    5.4.1 Base Station Controller 51

    v

  • 5.5 Architecture of the GSM Network 52

    5.6 Radio Link Aspects 53

    5.7 Multiple Access and Channel Structure 54

    5.8 Frequency Hopping 54

    5.9 Discontinuous Reception 55

    5.10 Power Control 55

    5.11 Network Aspects 56

    5.12 Radio Resources Management 57

    5.13 Handover 57

    5.14 Mobility Management 59

    5.15 Location Updating 59

    5.16 Authentication and Security 60

    5.17 Communication Management 61

    5.18 Call Routing 61

    Chapter 6: GPS Receiver 63

    6.1 GPS History 63

    6.1.1 Working and Operation 64

    6.2 GPS Data Decoding 65

    Chapter 7: KEIL Software 67

    7.1 Introduction 67

    7.2 KEIL uVision2 66

    7.3 KEIL Software Programing Procedure 67

    7.3.1 Procedure Steps 67

    7.4 Applications of KEIL Software 69

    vi

  • Chapter 8: Applications 70

    8.1 Applications 71

    8.2 Limitations 72

    Chapter 9: Result Analysis 73

    Chapter 10: Conclusion and Future Scope 75

    References 76

    vii

  • List of Figures

    Figure 1.1 Vehicle tracking system 2

    Figure 2.1 Block diagram 12

    Figure 2.2 A 25 pin connector as described in the RS-232 standard 16

    Figure 2.3 Trace of voltage levels for uppercase ASCII "K" character 19

    Figure 2.4 Upper Picture: RS232 signaling as seen when probed by an actual

    oscilloscope

    20

    Figure 2.5 MAX232 chip 28

    Figure 2.6 Pin diagram of MAX232 30

    Figure 2.7 UK Q-style signaling relay and base. 32

    Figure 2.8 Automotive-style miniature relay, dust cover is taken off 32

    Figure 2.9 Circuit symbols of relays. 34

    Figure 2.10 A general purpose alphanumeric LCD, with two lines of 16

    characters.

    35

    Figure 3.1 Schematic diagram of vehicle tracing using GSM and GPS 37

    Figure 5.1 Mobile station SIM port 49

    Figure 5.2 Baste Station Subsystem. 50

    Figure 5.3 Siemens BSC 51

    Figure 5.4 Siemens TRAU 52

    Figure 5.5 General architecture of a GSM network 53

    Figure 5.6 Signaling protocol structure in GSM 57

    Figure 5.7 Call routing for a mobile terminating call 61

    Figure 6.1 G.P.S receiver communicating with the satellite 65

    Figure 9.1 Picture of final VTS kit 73

    Figure 9.2 Message received from the VTS kit 74

    viii

  • List of Tables

    Table 2.1 Commonly used RS-232 signals and pin assignments 22

    Table 2.2 Pin assignments 23

    Table 2.3 RS-232 Voltage Levels 29

    Table 2.4 TX and RX pin connection 30

    Table 2.5 Pins assignment of MAX232 30

    ix

  • Abbreviations

    VTS Vehicle Tracking System

    GSM Global System for Mobile Communication

    GPS Global Positioning System

    RI Ring Indicator

    Tx Transmitter

    Rx Receiver

    SFR Special Function Register

    LCD Liquid Crystal Display

    RAM Random Access Memory

    ROM Read Only Memory

    RS-232 Recommended Standard

    TTL Transistor Transistor Logic

    CMOS Complementary Metal Oxide Semi-Conductor

    UART Universal Asynchronous Receiver Transmitter

    RST Reset

    ALE Address Latch Enable

    PSEN Program Store Enable

    WDT Watch Dog Timer

    x

  • Chapter 1

    Introduction to VTS 1.1 Introduction

    Vehicle 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 traveled etc. can

    be viewed on a digital mapping with the help of a software via Internet. Even data can be

    stored and d

Recommended

View more >