Real-Time Vehicle Tracking System Using Arduino GPS
Real-Time Vehicle Tracking System Using Arduino GPS
Abstract: Vehicle tracking system is a well-established technology in this era which is used by fleet system and owner of vehicle all
over the world. It is a very safe and reliable technology. In this paper a real time tracking system is proposed. It is going to design a
system which is used for tracking and positioning of any vehicle by using Global Positioning System (GPS) and Global System for
Mobile Communication (GSM). The design is an embedded application, which will continuously monitor a moving vehicle and report
the status of vehicle on demand. Tracking device used in real time vehicle location tracking is made up with Arduino Uno R3,
SIM800A module and NEO 6M GPS module. For doing so the Arduino Uno R3 is interfaced serially to a GSM module and GPS
module. The GSM module is used to continuously send the position of the vehicle from remote place. The GPS module that uses
satellite technology for its navigation system will continuously give data like longitude, latitude, speed, distance travelled etc. Google
map is used to view the position of vehicle on a digital mapping. For this work the software XAMPP and Google Map API are used.
XAMPP is a free and open source cross-platform web server solution stack package consisting mainly of the Apache HTTP Server,
MySQL database and interpreters for scripts is written in PHP and Perl programming languages. The Google Maps API allow for the
embedding of Google Maps onto web pages using a JavaScript interface which is designed to work on desktop browser application.
The MySQL database is used to store all the data of the GPS and Google Map API is used to display the location information through
a Google Map.
Keywords: Vehicle Tracking System, GPS, GSM/GPRS Technologies, HTTP Service, Google Map
www.ijsea.com 433
International Journal of Science and Engineering Applications
Volume 7–Issue 11,433-436, 2018, ISSN:-2319–7560
device used in real time vehicle location tracking is made up consumer GPS devices [5]. In Fig.3, arduino IDE sketch of
with Arduino Uno R3, SIM800A module and NEO 6M GPS coding for the proposed real time tracking system is
module. The core part of vehicle tracking is microcontroller described.
Arduino Uno. The geo location of vehicle can be captured
through GPS module and that data is transmitted to the web
server by using GSM technology. The implementation of the
tracking unit is shown in Fig.2
www.ijsea.com 434
International Journal of Science and Engineering Applications
Volume 7–Issue 11,433-436, 2018, ISSN:-2319–7560
5) sending “AT+SAPBR=1,1” and receiving response The web page shown in Fig.5, user can get vehicle
“OK” information such as latitude, longitude, satellites, speed and
6) sending “AT+HTTPINIT” and receiving response course and vehicle’s current location is pointed in Google
“OK” map with maker.
7) sending “AT+HTTPPARA= \”URL\”, \”\” ” and
receiving response “OK”
8) sending “AT+HTTPACTION=0” and receiving
response “OK”
In Fig.4 shows serial monitor of the Arduino IDE when
running the proposed tracking system.
Figure 5. Web Page for the Proposed Real Time Vehicle Tracking
System
5. CONCLUSION
This paper presents an efficient real time a vehicle
tracking system that is flexible, customizable and accurate
using GPS and GPRS of GSM network, suitable for wide
range of applications all over the world. The combination of
the GPS and GPRS provides continuous and real time
Figure 4. Serial Monitor of the Arduino IDE during Running the tracking. To display the position on Google map Google map
Tracking System API is used. The Arduino is the brain of the system and the
After the activation of the GPRS service, the HTTP GSM module which is controlled by AT commands that
protocol starts work directly [2]. This is used to send the enable data transmission over GSM network while the GPS
vehicle’s position to a web server. A free web hosting service provide the location data. Whenever the GPS receives a new
is used for a web server construction. In this system, the data it is updated in the database and hence it is able to see the
000webhost.com is used as an unlimited free web hosting and location on the Google map [3]. In the case of vehicle
an account is created for website of real time vehicle tracking tracking, the proposed system gives the vehicle location
system. The FileZilla client software is used for connecting to information include latitude, longitude, altitude, date,
an FTP or SFTP server. The required files for website is satellites, speed OTG and course. The outcomes of the system
uploaded or downloaded by using it. To implement the are good like the results of the industrial devices. For the
website for the proposed vehicle tracking system, PHP with future work, a variety of services can be added to this system
MySQL has been integrated together with Apache web server by using sensors or actuators.
is used.
6. ACKNOWLEDGMENT
4. SIMULATION AND RESULTS The author is deeply grateful to Dr. Nyein Nyein Oo, her
dissertation supervisor in Department of Computer
For visualization of the location of vehicle into the Engineering and Information Technology at Yangon
Google map, HTML is written in web application which is Technological University and all who provided her with
developed with PHP script to show the web page into the necessary assistance for this paper. The author wishes to
browser [1]. In this script Google Map API is embedded. express her guidance to all persons who helped directly or
MySQL database is used for storing the data into database. indirectly towards the successful completion of paper. Finally,
By using GET and POST function in the PHP script, GPS data the author wishes to express her special thanks to her parents
which is transmitted by GPS module through HTTP for their support and encouragement to attain her destination
connection are stored in database and fetched into the Google without any trouble.
map to show the location of bus.
The API automatically handles access to Google Maps servers
and display map [7]. API calls also are used to add markers.
7. REFERENCES
For setting the center location of map google.maps.LatLng ( ) [1] S.Bharthepudi, Dr.S.Umar, S.Sanakkayala and
method is used. As Google Maps API provides different kind S.Nismitha, “A Review of Low Cost Object Tracking
of maps view, ROADMAP is used for this web application. System”,International Journal of Computer Science
For fetching the data into the Google Map, getElementByID ( Engineering and Technology, Vol.3, Issue 11, November
) method is used. JQuery and Google Map API are embedded 2013, 423-426.
into the script which helps to show the location of the vehicle [2] O .A. Mohamad and R. T. Hameed, “Design and
into the Google Map in real time. Implementation of Real Time Tracking System Based on
Arduino Intel Galileo”, International Conference and
Artifical Intelligence, 30 June-02 July,2016.
www.ijsea.com 435
International Journal of Science and Engineering Applications
Volume 7–Issue 11,433-436, 2018, ISSN:-2319–7560
www.ijsea.com 436