Gps Based Real Time Vehicle Tracking System
Total Page:16
File Type:pdf, Size:1020Kb
2012 GPS BASED REAL TIME VEHICLE TRACKING SYSTEM Guide: Prof. Sujit Kumar Ghosh Head of Computer Science & Engineering Department STUDENTS: DEBALINA CHATTERJEE (CSE/2008/032) SAURABH KUMAR (CSE/2008/033) NILOTPAL MAHADANI (CSE/2008/035) RCC INSTITUTE OF INFORMATION TECHNOLOGY, KOLKATA GPS BASED REAL TIME VEHICLE TRACKING SYSTEM REPORT OF PROJECT SUBMITTED FOR FULFILLMENT OF THE REQUIREMENT FOR THE DEGREE OF BACHELOR OF TECHNOLOGY In COMPUTER SCIENCE & ENGINEERING By DEBALINA CHATTERJEE [REGISTRATION NO- 081170110018, UNIVERSITY ROLLNO- 08117001016] SAURABH KUMAR [REGISTRATION NO- 081170110044, UNIVERSITY ROLLNO- 08117001038] & NILOTPAL MAHADANI [REGISTRATION NO- 081170110031, UNIVERSITY ROLLNO- 08117001035] UNDER THE SUPERVISION OF PROF. SUJIT KUMAR GHOSH HEAD OF COMPUTER SCIENCE & ENGINEERING DEPARTMENT RCC INSTITUTE OF INFORMATION TECHNOLOGY AT RCC INSTITUTE OF INFORMATION TECHNOLOGY [AFFILIATED TO WEST BENGAL UNIVERSITY OF TECHNOLOGY] CANAL SOUTH ROAD, BELIAGHATA, KOLKATA – 700015 2 | P a g e RCC INSTITUTE OF INFORMATION TECHNOLOGY KOLKATA – 7OOO15, INDIA CERTIFICATE The report of the Project titled ‚GPS BASED REAL TIME VEHICLE TRACKING SYSTEM‛ submitted by Debalina Chatterjee (Roll No.:08117001016 of B.Tech. CSE 8th Semester of 2012), Saurabh Kumar (Roll No.:08117001038 of B.Tech. CSE 8th Semester of 2012),Nilotpal Mahadani (Roll No.:08117001035 of B.Tech. CSE 8th Semester of 2012)has been prepared under my supervision for the fulfillment of the requirements for B.Tech CSE degree in West Bengal University of Technology. The report is hereby forwarded. Prof. Sujit Kumar Ghosh Head of Computer Science & Engineering Department RCC Institute of Information Technology, Kolkata – 700 015. 3 | P a g e ACKNOWLEDGEMENT We express our sincere gratitude to Prof. Sujit Kumar Ghosh of Department of Computer Science & Engineering, RCCIIT and for extending his valuable time for us to take up this problem as a Project.Last but not the least We would like to express our gratitude to all other faculties of our department who helped us in their own way whenever needed. Date: Name of Students Reg.No. RollNo. Debalina Chatterjee 081170110018 08117001016 Saurabh Kumar 081170110044 08117001038 Nilotpal Mahadani 081170110031 08117001035 B. Tech CSE 8th Semester, 2012 RCCIIT,Kolkata. 4 | P a g e RCC INSTITUTE OF INFORMATION TECHNOLOGY KOLKATA – 7OOO15, INDIA CERTIFICATE of ACCEPTANCE The report of the Project titled ‚GPS BASED REAL TIME VEHICLE TRACKING SYSTEM‛ submitted by by Debalina Chatterjee (Roll No.:08117001016 of B.Tech. CSE 8th Semester of 2012), Saurabh Kumar (Roll No.:08117001038 of B.Tech . CSE 8th Semester of 2012), Nilotpal Mahadani (Roll No.:08117001035 of B.Tech. CSE 8th Semester of 2012) is hereby recommended to be accepted for the fulfillment of the requirements for B.Tech CSE degree in West Bengal University of Technology. Name of the Examiner Signature with Date 1. …………………………………… 2. …………………………………… 3. …………………………………… 4. …………………………………… 5 | P a g e TABLE OF CONTENTS Abstract ------------------------------------------------ 7 Purpose ------------------------------------------------- 8 Review of Literature ------------------------------------ 9 Abstract view & Functional Units ------------------------ 10 Technologies Used --------------------------------------- 12 Logical View -------------------------------------------- 13 Implementation Details ---------------------------------- 15 UART Communication & RS232 ------------------------------ 16 Signal Definitions -------------------------------------- 17 Asynchronous Communication ------------------------------ 18 Hardware Requirements ----------------------------------- 19 MAX232 Interfacing with MIC ----------------------------- 20 8051 UART programming ----------------------------------- 21 C Code For UART Programming In 8051 --------------------- 24 Interfacing LCD Module With 8051 ------------------------ 27 Design of LCD circuit with 8051 ------------------------- 28 Code For Controlling LCD Functions ---------------------- 30 Global Positioning System ------------------------------- 33 GPRMC sentence ------------------------------------------ 38 GSM MODEM ----------------------------------------------- 40 Implementing Tracking Server ---------------------------- 42 CODE for Tracking server -------------------------------- 44 Conclusion ---------------------------------------------- 46 Future Scope & Reference -------------------------------- 47 6 | P a g e GPS BASED REAL TIME VEHICLE TRACKING SYSTEM ABSTRACT Many vehicle systems that are in use now days provide some sort of Automatic Vehicle Location (AVL) information. In this project we strived to design and implement Automatic Vehicle Location system that can transmit the location information in real time. The hardware device (In-vehicle unit) runs an embedded program which constantly receives & displays the present geographic location of the vehicle by GPS system installed in it. The information is transmitted to Tracking server using GSM/GPRS modem on GSM network by using SMS or using direct TCP/IP connection with Tracking server through GPRS. Tracking server also has GSM/GPRS modem that receives vehicle location information via GSM network and stores this information in a central database. This information is available to authorized users of the system via website over the internet. INTRODUCTION Vehicle Tracking Systems were used from past as a part of Navigation systems .Ships used to hold a device which recorded a log of all positions and directions the ship moved over the sea. These were called passive vehicle tracking systems. These tracking systems were crude and very less accurate. As communication systems developed day by day, a demand for real time vehicle tracking with advanced communication techniques rose. This need increased as the number of vehicles on road/rail and their safety requirement increased. Hence forth the development of GPS Satellites and its freely available broadcast messages triggered the need to manufacture precision instruments. Thus this project aims at providing a mobile device attached to vehicle's pilot cabin, constantly broadcasting Position, Velocity and Time (Real Time) for live monitoring and logging of these information to nearest Base Station. Keeping in mind the cost of standalone GPS Navigators available in the market, the design of this Vehicle tracker is made in such a way that it can be easily affordable and robust for use by Public Transport Sectors. 7 | P a g e OBJECTIVE i)Exploring the GPS receiver module for study of data formats and configuring it properly. ii)Developing Automatic Vehicle Location system using GPS for positioning information and GSM/GPRS for information transmission with following features: a) Acquisition of vehicle’s location information (latitude & longitude) and speed after specified time interval from a GPS reciever module. b) Transmission of vehicle’s location and other information to the monitoring station/Tracking server after specified interval of time. c) Display of this information to the attached Display unit onboard. iii)Developing a Central Server which will request for positional information of a particular vehicle by sending its unique vehicle identification number and storing that information in their corresponding database. iv)Developing a Web based Graphical User Interface to read real time data arriving at the Base Station and displaying it on a web browser. There will be a provision for fetching past recorded log data for performance monitoring and troubleshooting. PURPOSE OF THE PROJECT This project provides Real time Vehicle tracking solutions to any Transport sytems, Personal vehicles, in a very accurate manner. This will support any mobile platform. Though this Device will be developed as a general purpose GPS Tracking System , but there is a provision made especially for applying it over Railway network for monitoring trains along their routes. Thus it will help the railway to enhance passenger security by trafficking exact location of trains running adjacently. In this way the density of trains per track can be considerably increased serving better extra rush in Urban Areas. This service will provide passengers on station with exact information about the the position of trains route. This project keeps a provision of providing information to passengers on their mobile phones and also on the internet. Their is another provision of controlling the train remotely from a base station in cases of emergency which will provide a platform with almost no chances of accidents . 8 | P a g e REVIEW OF LITERATURE GPS - The Global Positioning System (GPS) is a space-based global navigation satellite system (GNSS) that provides location and time information in all weather, anywhere on or near the Earth, where there is an unobstructed line of sight to four or more GPS satellites. GSM - GSM (Global System for Mobile Communications, originally Groupe Spécial Mobile), is a standard set developed by the European Telecommunications Standards Institute (ETSI) to describe technologies for second generation (or "2G") digital cellular networks. Developed as a replacement for first generation analog cellular networks, the GSM standard originally described a digital, circuit switched network optimized for full duplex voice telephony.It provides moderate-speed data/voice transfer, by using unused time division multiple access (TDMA) channels. GPRS - General packet radio service (GPRS) is a packet oriented mobile data service on the 2G and 3G cellular