You are on page 1of 6

International Journal of Science, Engineering and Technology Research (IJSETR)

Volume 8, Issue 8, August 2019, ISSN: 2278 -7798

Design and Implementation of IOT Based


Vehicle Tracking System

Htun Naing Htwe, Zar Zar Mon, Aye Mya Mya Aung

outside of the vehicle. Thus it is used as a covert unit which


Abstract— Nowadays, security system and navigators have continuously or by any interrupt to the system, sends the
always been a necessity of human’s life. The main aim of vehicle location data to the monitoring unit. In the other end (main
tracking system is to give security to all vehicles. Vehicle vehicle station) on the mobile phone is attached to the
tracking systems are also popular among people as a theft
prevention and retrieval device. This research decribes the IoT
computer with Blynk application. So the GPS system will
based vehicle tracking system. This system includes NODE send the longitudinal and altitude values corresponding to the
MCU EPS8266, GPS module, DHT11, buzzer and power position of vehicle to Node MCU Esp8266. When the device
supply. The proposed system is used for positioning and gets Wi-Fi connection, the data send to the GPS module and
navigating the vehicle with an accuracy of 10 m. The system DHT11 sensor. After that, the data send to the Esp8266 and it
tracks the location of particular vehicle and sends to users manages the data. It calculates latitude and longitude and
mobile in form of data. The arrived data, in the form of latitude
and longitude is used to locate the vehicle on the Google maps
speed of the near vehicle. It also shows the location of the
and also the output can be seen on the android phone by using vehicle on the map. This ressearch has two main aims. When
Blynk App. the vehicle is stolen, the location data from tracking system
can be used to find the location and can be informed to police
Index Terms- GPS, EPS8266, Google Map, Vehicle Tracking for further action. Also when the speed of vehicle is over 80
and Blynk App. km/hr, the speed alert system in it detects the vehicle speed
and the system will alarm to the driver.
1. INTRODUCTION
The new technology, popularly called Vehicle Tracking
Systems which created many wonders in the security of the
vehicle. Vehicle Security is a primary concern for all vehicle
owners. Owners as well as researchers are always looking
for new and upgraded vehicle security systems. For the
modernization of technology it is now possible to track and
closely monitor vehicle in real time as well as to check the
history of vehicles movements. One has to be thankful to
Vehicle Tracking System that has helped enormously to
maintain the security of the vehicle by tracking its activities
at regular time interval. The system uses Global Positioning
System [GPS], to find information about the location of the
vehicle that is to be monitored and then send the latitude and
longitude to the monitoring center through satellite. At the
monitoring center different software is used to display the
vehicle on the Google map. This is how our system tracks Figure 1. Block Diagram of Vehicle Tracking System
automobiles in real time. Due to real-time tracking facility,
vehicle tracking systems have become increasingly popular
2. HARDWARE COMPONENTS
among owners of vehicles as they are able to monitor their
vehicle continuously. The main components for the proposed system are:
Figure 1 shows the block diagram of Vehicle Tracking Node MCU ESP8266
System. This project consists of GPS receiver and Esp8266 Neo-6M Ublox GPS Module
module. The tracking hardwares are fitted on to the vehicle in DHT11 Sensor
such a manner that it is not visible to anyone who is insideor Buzzer
Power Supply
Manuscript received August, 2019.
Htun Naing Htwe, Electronic Engineering Department, Technological 2.1. Node MCU Esp8266
University (Pakokku)., Pakokku, Myanmar, +959400430780 Node MCU is an open source IOT platform. It usesLua
Zar Zar Mon, Electronic Engineering Department, Technological
University (Pakokku)., Pakokku, Myanmar, +95972401574 scripting language. It is based on eLua project, and built on
Aye Mya Mya Aung, Electronic Engineering Department, Technological the ESP 8266 SDK 1.4. It uses many open source projects,
University (Pakokku)., Pakokku, Myanmar, +959420180185

374
All Rights Reserved © 2019 IJSETR
International Journal of Science, Engineering and Technology Research (IJSETR)
Volume 8, Issue 8, August 2019, ISSN: 2278 -7798

such as lua-cjson, and spiffs. It includes firmware which runs Equipped with power and signal indicator lights and data
on the ESP8266 Wi-Fi SoC, and hardware which is based on backup battery.
the ESP-12 module. It can be programmed directly through Power supply: 3-5V; Default baud rate: 9600bps.
USB port using LUA programming or Arduino IDE. The Interface: RS232TTL
ESP8266 is the name of a micro controller designed by
Espressif Systems. The ESP8266 advertises itself as a self- 2.3. DHT-11 Sensor
contained WiFi networking solution offering itself as a DHT-11 digital temperature and humidity sensor is a
bridge from existing micro controller to WiFi … and … is calibrated digital signal output of the temperature and
also capable of running self contained applications. humidity combined sensor. Sensor includes a resistive
element and a sense of wet NTC temperature measurement
device and with a high performance 8-bit microcontroller
connected. It is fairly simple to use, but requires careful
timing to grab data. The only real downside of this sensor is
you can only get new data from it once every 2 seconds.

Features are:
Full range temperature compensated
Figure 2. Node MCU Esp8266 Relative humidity and temperature
measurement
The ESP8266 specifications Calibrated digital signal
Voltage 3.3V Outstanding long-term stability
Current consumption 10uA – 170mA Extra components not needed
Flash memory attachable 16MB max (512K Long transmission distance
normal) Low power consumption
Processor Tensilica L106 32 bit 4 pins packaged and fully interchangeable
Processor speed 80-160MHz
RAM 32K + 80K
GPIOs 17 (multiplexed with
other functions)
Analog to Digital 1 input with 1024 step
(10 bit)
resolution
802.11 support b/g/n/d/e/i/k/r
Maximum concurrent TCP 5
connections Figure 4. DHT11 Sensor

2.2. Neo-6M Ublox GPS Module 2.4. Buzzer


A buzzer or beeper is an audio signaling device, which
The Neo-6M GPS module is a well performing complete may be mechanical, electrical, or piezoelectric. Typical uses
GPS receiver with a built-in 25*25*4mm ceramic antenna, of buzzers and beepers include alarm devices, timers, and
which provides a strong satellite search capability. With the confirmation of user input such as a mouse click or keystroke.
power and signal indicators, the status of the module can be
monitored.

Figure 5. Buzzer
Future electronic has a complete selection of buzzers from
several manufacturers that can be used as an electromagnetic
Figure 3. Neo-6M Ublox GPS Module buzzer, piezo buzzer, electro-acoustic transducer, piezo
electric transducers or magnetic buzzer for any electric
Some features are; circuit applications. Simply choose from the buzzer technical
attributes below and your search results will quickly be
A complete GPS module with an active antenna integrated,
and a built-in EEPROM to save configuration parameter narrowed in order to match your specific buzzerr application
data. needs.
Built-in 25*25*4 mm ceramic active antenna provides
strong satellite search capability. 2.5. Power Supply
3.3V DC is required for Esp8266 module. There is no 3.3V
in the market and therefore L7805CV voltage regulator is

375
All Rights Reserved © 2019 IJSETR
International Journal of Science, Engineering and Technology Research (IJSETR)
Volume 8, Issue 8, August 2019, ISSN: 2278 -7798

have used to convert 9V-3.3V. It can also connect by power source, could easily handle thousands of devices and can
bank. even be launched on a Raspberry Pi.
Blynk Libraries – for all the popular hardware platforms
3. SOFTWARE REQUIREMENT AND IMPLEMENTATION enable communication with the server and process all the
3.1. Arduino Compiler IDE incoming and out coming commands. Hardware used An
The Arduino IDE is a cross-platform application written Arduino, Raspberry Pi, or a similar development kit. Blynk
in Java, and is derived from the IDE for the Processing works over the internet.
programming language and the Wiring project. It is designed This means that the hardware should be able to connect to
to introduce programming to artists and other newcomers the internet. Some of the boards, like Arduino Uno will need
unfamiliar with software development. It includes a code and Ethernet or Wi Fi Shield to communicate, others are
editor with features such as syntax highlighting, brace already. Getting Started with the BLYNK APP
matching, and automatic indentation, and is also capable of (A) Create a Blynk Account
compiling and uploading programs to the board with a single
click. There is typically no need to edit make files or run After downloading the BLYNK APP, a new BLYNK
programs on a command-line interface. Although building account will be needed to creat. This account is separate from
on command-line is possible if required with some third- the accounts used for the BLYNK Forums.
party tools such aIno. A real email address is recommended because it will
The Arduino IDE comes with a C/C++ library called simplify things later.
"Wiring", which makes many common input/output
operations much easier. Arduino programs are written in
C/C++.

3.2. Google Map


Google Maps is a desktop and mobileweb mapping service
application and technology provided by Google, offering
satellite imagery, street maps, and Street View perspectives,
as well as functions such as aroute planner for traveling by
foot, car, bicycle (beta test), or with public transportation.
Also supported are maps embedded on third-party websites
via the Google Maps API, and a locator for urban businesses
and other organizations in numerous countries around the
world. Google Maps satellite images are not updated in real
time; however, Google adds data to their Primary Database
on a regular basis. Google Earth support states that most of
the images are no more than 3 years old.

3.3. Blynk Software Figure 6. Illustration of create new account


Internet is enabled; like the ESP8266, Raspberry pi with Why do I need to create an account?
Wi- Fi dongle, particle photon or Spark Fun Blynk Board. An account is needed to save the projects and have access
The Blynk App is a well-designed interface builder. It to them from anywhere. It is also a security measure. Own
works on both IOS and Android. Blynk is a Platform with Ios Private Blynk Server can be set up and have full control.
and Android apps to control Arduino, Raspberry Pi and the
(B) Create a new project
likes over the Interne. It is a digital dashboard where a
graphic interface can be built for the project by simply After you have successfully logged into your account, start
dragging and dropping widgets. by creating a new project.
Blynk is a team of professionals that can assist with the
IOT strategy and its delivery.

3.4. How Blynk Works


Blynk was designed for the internet of Things. It can
control hardware remotely, it can display sensor data, it can
store data, visualize it and do many other cool things.
There are three major components in the platform;
Blynk App: Which allows to create amazing interfaces for the
projects using various widgets we provide.
Blynk Server: This is responsible for all the communications
between the smartphone and hardware. Blynk cloud can be
used or private Blynk server is runned locally. It is open

376
All Rights Reserved © 2019 IJSETR
International Journal of Science, Engineering and Technology Research (IJSETR)
Volume 8, Issue 8, August 2019, ISSN: 2278 -7798

Figure 7. Creation of new project with Blynk account


Figure 10. Illustration of using energy
(C) Choosing Hardware
The project canvas is empty, let's add a bottom to control
Select the hardware model to use. Check out the list of our LED. Tap anywhere on the canvas to open the widget
supported hardware. box. All the available widgets are located here. Now pick a
button.

Widget Setting – Each widget has it's own settings. Tap on


the widget to get to them.

Figure 8. Arduino UNO


(D) Auth Token
Auth Token is a unique identifier which is needed to
connect your hardware to your smartphone. Every new
project you create will have its own Auth Token. You will get
Auth Token automatically on your email after project
creation. You can also copy it manually. Click on devices
section and selected required device,

Figure 11. Button Creation

(F) Run The Project


When pressing the play button, this will switch from
EDIT mode to PLAY mode. While in play mode, new
widgets won't be able to drag or set up. When pressing STOP
and get back to EDIT mode, a message saying" Arduino
UNO is Offline" will be got.

Figure 9. Connecting Blynk APP with ESP 8266


(E) Add a Widget

377
All Rights Reserved © 2019 IJSETR
International Journal of Science, Engineering and Technology Research (IJSETR)
Volume 8, Issue 8, August 2019, ISSN: 2278 -7798

Figure 12. Complete APP

3.5. Algorithm
At first, Wi-Fi connected. Then GPS and DHTII initialize.
And then read the Latitude and Longitude from GPS. When
the vehicle of speed is over 80 km/hr, Buzzer ON and go to Figure 14. Overall Circuit Diagram
initialize.
The flowchart of vehicle tracking system coding is given 4. SYSTEM TEST AND RESULTS
below.
Vehicle tracking device is configured with NODE MCU
EPS8266, GPS module and DHT11. The core part of tracking
system is ESP8266. The geo location of a vehicle can be
captured through GPS receiver and that data system will be
transmitted by using GSM technology. For monitoring the
location of the vehicle on the map, a web application has been
developed. A mobile application had been developed to view
the location of vehicle in a mobile device by using Android
Phone. . The device gets Wi-Fi connection, the data send to
the GPS module and DHT11 sensor. After that, the data send
to the Esp8266 and it manages the data. It calculates latitude
and longitude and speed of the near vehicle. It also shows the
location of the vehicle on the map.

Figure 15. Testing the Proposed System

Figure 13. Flow Chart of Vehicle Tracking System

Figure 14 shows the over all circuit diagram of Vehicle


Tracking System. This project consists of GPS receiver and
Esp8266 module

378
All Rights Reserved © 2019 IJSETR
International Journal of Science, Engineering and Technology Research (IJSETR)
Volume 8, Issue 8, August 2019, ISSN: 2278 -7798

[11] A Review on GSM and GPS Based Vehicle Tracking System by


Dinesh Suresh Bhadane, PritamB.Bharati, Sanjeev A.Shukla,
MonaliD.Wani, KishorK.Ambekar.
[13] https://en.wikipedia.org/wiki/GoogleMaps#Google_Maps_API.

Figure 16. View of Location on Mobile Blynk Application

5. CONCLUSION
In this research a vehicle tracking system has been
developed that is flexible, customizable and accurate. This
tracking system can monitor the vehicle’s location via mobile
apk and online on Google map. To display the position on
Google map, Google Map API has been used. We thought of
designing a real time vehicle tracking system in our research
keeping the scenario of Myanmar in mind where vehicle theft
is rapidly increasing. Our device can provide good control on
car jacking.
The system provides accurate data in real time that makes
it possible for the user to track the vehicle and it also enable
an early retrieval if the vehicle is stolen. Implementation of
GPS tracker in vehicle can certainly bring revolutionary
change in developing country like Myanmar where there is
very high urban as well as rural vehicular transition every
day. This paper has widely increased our knowledge of GPS
and also improved our programming skills.

REFERENCES
[1] Prof. Baburaokodavati (Asst. Prof In Ece Dept); ‘Gsm And Gps
Based Vehicle Location And Tracking System’.
[2] Mr. Nileshmanganakar (Be-It); ‘Real Time Tracking Of
Complete Transport System Using Gps’.
[3] Mr. Pankajverma;‘Design And Development Of Gps-Gsm Based
Tracking System With Google Map Based Monitoring’.
[4] Mr. Kunalmaurya;‘Real Time Vehicle Tracking System Using
Gsm And Gps Technology- An Anti-Theft TrackingSystem’.
[5] The forum of the esp 8266module
http://www. esp 8266.com/viewtopic? F= 5&t=4326
[6] “Live GPS Vehicle Tracking System,” YouTube, November
2007 https://www.youtube.com/watch?v=t6FrVBol9cU
[7] I. Jaguar, “Car Navigation System Wiki” December 2002
http://car-navigation- system.software.informer.com/wiki
[8] “TRACKING SYSTEM USING GSM, GPS & ARM7” by
ASHUTOSH UPADHAYA ,SAMIR BOTHRA, RASHMI
SINGH, SHIVANSHU GUPTA
[9] http://www.teletrac.com/fleet-management/topics/history-
gps-tracking
[10] http://www.fleetistics.com/history-gps-satellites.php

379
All Rights Reserved © 2019 IJSETR

You might also like