SlideShare a Scribd company logo
International Journal of Trend in Scientific Research and Development (IJTSRD)
Volume 3 Issue 5, August 2019 Available Online: www.ijtsrd.com e-ISSN: 2456 – 6470
@ IJTSRD | Unique Paper ID – IJTSRD25214 | Volume – 3 | Issue – 5 | July - August 2019 Page 65
Design and Construction of Navigation Based Auto
Self-Driving Vehicle using Google Map API with GPS
May Thet Htar Nyo1, Win Zaw Hein2
1Student, 2Associate Professor
1,2Department of Electronic Engineering, Mandalay Technological University, Mandalay, Myanmar
How to cite this paper: May Thet Htar
Nyo | Win Zaw Hein "Design and
Construction of Navigation Based Auto
Self-Driving Vehicle using GoogleMapAPI
with GPS" Published
in International
Journal of Trend in
Scientific Research
and Development
(ijtsrd), ISSN: 2456-
6470, Volume-3 |
Issue-5, August
2019, pp.65-68,
https://doi.org/10.31142/ijtsrd25214
Copyright © 2019 by author(s) and
International Journalof Trendin Scientific
Research and Development Journal. This
is an Open Access
article distributed
under the terms of
the CreativeCommonsAttributionLicense
(CC BY 4.0)
(http://creativecommons.org/licenses/by
/4.0)
ABSTRACT
Self-driving vehicles are one of the most useful technologies in many
applications such as bomb disposal, underwater exploration, industrial
transport; etc. Control and guidance are important aspects of research and
many techniques have been proposed in literature which range from fully
autonomous and intelligent systems to laser and radar guided systems and
line followers. This paper presents a technique for guiding and controlling
autonomous vehicles by using the Google Map API (Application Program
Interface). GPS (Global Positioning System) was fitted to this system for
localization of the vehicle on Google map application via Wi-Fi module.
KEYWORDS: GPS, Google Map (API), Wi-Fi module (ESP8266.
I. INTRODUCTION
Self-driving vehicle is a vehicle that can drive from start point to destination
without a driver. The development of self-driving vehicle has progressed at an
unanticipated pace in recent years. This vehicle used GPS to navigate from
current location to desired destination. Therefore, it can be used in industrial
site to carry the product from one place to another without being human input.
The vehicle can be easily transported on a trailer to the testing area. The main
purpose of this system was to control a movement of a vehicle based on the
Google map Application Program Interface (API)usingGPSlocation serviceand
displayed the route information on Google map and to know the travel time
between each node.
The location of the vehicle was determined byusingGPSand
it was transmitted to the web via Wi-Fi. A wireless
communication system was used for transmission purpose.
The system consists of GPS and Wi-Fi module installed on
the vehicle. Wi-Fi module was used not only for operationas
a controller and also gets the internet access. The vehicle
location information from GPS was informed current
position to the controller. User had to assign the route of the
vehicle from Google map application that is user had to
select and put the designation of the route. After identifying
the destination by user, the system read the direction of the
route from API and sent that information to the DC motors
for movement of the vehicle and sent to the servo motor for
direction control of the vehicle. Recently, localmap was used
from database of the web to test the dataof thevehicleroute.
There are two tables in database;theuser recommendstable
and route information table.
A. Literature Review
Dhanasingaraja R., Kalaimagal S., Muralidharan G., in March
2014, proposed Autonomous Vehicle Navigation and
Mapping System. It was interfaced with OSRM open
sourcemap through internet. This system used GPS, GPRS,
compass, inertial sensor and laser. This system was not only
relay on GPS. To improve the efficiency, it used location
information from inertial sensors too. This system took the
current position as source and gets the destination point
from user. User had to specify the destination in the map.
System found the shortest path to the destination and
extracts the latitude and longitude coordinates from the
graph and sends to the vehicle. Vehicle followed the
coordinate using GPS and compass. If GPS signal was not
received, inertial navigation system was used to obtain
current coordinate. Obstacles around the vehicle were
sensed by rotatable laser range finder. Current location of
the vehicle was uploaded to the server through GPRS. At the
server, coordinates were obtained and displayed in the
Google map for monitoring purpose. Therefore, the vehicle
could be monitored from anywhere in the world. [2]
Tanveer Hossen Sakkhor, et.al proposed Autonomous Car
Using Full Mapping GPS System. It was based on a Laptop
computer to generate the path coordinates and an Android
phone to obtain the GPS data and used the mobile camera as
the obstacle detection image processing unit. This system
had two parts: Electrical and Mechanical. The whole process
of this system was controlled by linking Arduino with a
Smartphone and laptop. The GPS from smart phone was
used to locate the current location of the car and Google
Earth Pro from laptop was used to create the path of desired
destination. Google Earth Pro chose the shortest path and
the user saved the KMP file and extracted the KMP file into
XML, and the converting processwasdonebytheArduino.In
mechanical parts, it was included a digital potentiometer, a
motor controller, steering motor and another motor. The
signal from Arduino came intothedigitalpotentiometer,and
IJTSRD25214
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
@ IJTSRD | Unique Paper ID – IJTSRD25214 | Volume – 3 | Issue – 5 | July - August 2019 Page 66
it controlled the voltage to change the speed of the car. The
digital potentiometersentrequired instructionstothe motor
controller. Motor controller controlled the whole process of
the motor of the car as rpm, turning, speed etc. Another
motor controller was used for the steering movement. This
motor controller controlled the steering movement and it’s
directly linked with the Arduino. Gyro sensor was used for
the direction purpose. It worked as a compass to control the
desired direction of vehicle. Other sensor includedIRsensor
and Sonar sensor for obstacle detection [1].
B. Appliances of Web Technology
Web is the most critical technology tocarrydataviainternet.
The primary function of a web server is to store,processand
deliver web pages to clients. Generally, most of the web
servers support server-side scripting using Active Server
Pages (ASP), PHP or other scripting languages. Web servers
are not only used for serving the World Wide Web but also
found embedded in devices such as printers, routers, and
webcam. No additional software has to be installed on the
client computer because only a web browser is required.
There are three main parts in this technology. They are
hypertext document, web server and web browser.
The communication between client and server takes place
using the Hypertext Transfer Protocol (HTTP). Pages
delivered are most frequently Hypertext Mark-up Language
(HTML) documents, which may include images, style sheets
and scripts in addition to text content. Hypertext document
also called web document is a text document including
HTML element.
The basic function of web browser is to carry the data from
user to web server and vice versa. The most popular web
browsers are Microsoft Internet Explorer, Mozilla Firefox,
Google Chrome, Apple Safari and Opera.
II. SYSTEM BLOCK DIAGRAM
Basically, the proposed system was included DC motor for
vehicle movement, servo motor for lane control, Node MCU
for control program, GPS for localization, userguidancemap
for direction finding as shown in figure 1.
Figure1 Overall System Block Diagram
This system was based on web technology, GPS technology
and Application Program Interface (API). The functional
block diagram is shown in figure 1. In this figure, GPS
supported only current position of vehicle as longitude and
latitude. Google map was used to assign the map from start
point to destination. The direction of vehicle was measured
by servo motor to follow the direction of navigation. The
control program was installed in Node MCU: ESP8266
module. This module supports Wi-Fi access for web
development. Motor driver L298N was used to control the
movement of vehicle and the magnetometer was used to
justify the heading of the vehicle.
The flow chart of main control program was shown in figure
2. In this flowchart, the system was initialized firstly. And
then loading the map and localize the current position. After
the user was identified the destination, the vehicle is started
to drive. The path from start to destination is actuallyasetof
coordinates that form a line. These coordinates could be
considered nodes. The vehicle can reach its destination by
going again and again through each node, eventuallyleading
to the destination.
Figure2 Overall System Flow Chart
III. METHODOLOGY
There were two main parts in this system: direction finding
using user instruction (guided map/ local map) and apply
route (such as degree angle) control tothe vehicledriving.In
direction finding process, paths were calculated in control
program that included in ESP8266 Wi-Fi module. A route
planner offered directions from one specific location to
another. There was an angle between twocoordinates called
vehicle’s heading. The vehicle heading also had to be
calculated in this case to justify the direction. The goal of the
vehicle was to try and maintain the heading between the
current position and the next node. Each node could be
considered a current goal. By reaching the current goal, the
next node became the goal, therefore recursively the vehicle
iterated again through each current goal to the final goal.
The controller drives the DC motor by L298N motor driver
for continuous movement. There are three methods in
controlling the speed of DC motor: Flux Control, Armature
Voltage Control, and Supply Voltage Control (PWM). Both
flux control and armature voltage control cannot provide
speed control in the desirable range. Whereas the armature
voltage control method involves huge power loss due to its
usage of resistors in series with the armature. Therefore,
Pulse Width Modulation (PWM) method was usedtocontrol
the DC motor. Pulse Width Modulation (PWM) is a method
for binary signals generation. It has two signal periods (high
and low). The width (W) of each pulse varies between 0 and
the period (T) as shown in figure 3. The main principle is
control of power by varying the duty cycle.
Figure 3 Pulse Width Modulation (PWM) of DC motor
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
@ IJTSRD | Unique Paper ID – IJTSRD25214 | Volume – 3 | Issue – 5 | July - August 2019 Page 67
In this figure, where T=Ton+Toff, T=time period, Ton=ON
time and Toff=OFF time.
Distance between a pair of latitude and longitude was
calculated using Haversine formula because it provides
greater accuracy. Haversine formula gives the shortest
distance over the surface of the earth. It is shown as follows;
Distance=R c (1)
(2)
(3)
Where,
R=radius of earth, 6371km,
= difference in latitude (lat2-lat1),
= difference in longitude (lon2-lon1),
= the angular distance,
= the square of half the chord length between the points.
IV. EXPERIMENTAL SETUP
There were hardware and software parts in this system. In
hardware part, GPS module (Neo 7N), Wi-Fi module
(ESP8266), Motor Driver (L298N), and CA 1253 voltage
conversion module were installed on the car kit. In GPS
module, Rx and Tx were connectedtomicrocontroller digital
pins 3 and 4. In this system, Wi-Fi module operated as a
microcontroller and it was also used to get the internet
access. In Wi-Fi module, digital pins 9 and 10 operated as Rx
and Tx. GPS receiver was required to getthe currentlocation
of the vehicle. Once the Wi-Fi module and GPS module have
assembled, the GPS module was almost ready to get the
location information of the vehicles. In software part,
Arduino IDE, xampp, HTML, Java script, PHP languageswere
used to complete the system.
In this work, there were two parts of the whole system;
vehicle part and direction control part. The movement and
direction control were examined by Arduino Uno and the
desired route control were examined by Google map API.
The movement of desired vehicle was controlled by DC
motor driver and the direction angle of vehicle heading was
controlled by servo motor. The control program was
developed by Arduino IDE and it was installed in Arduino
UNO. The movement accuracy was measured and analyzed
practically. Figure 4 shows complete hardware design
representation of the system.
Figure.4 Complete Hardware Design of Vehicle
In this figure, DC motor was set up on rare wheels and servo
motor was fitted up on front wheels. L298N motor driver
was used for DC motor driving. 5V, 3A voltage regulator was
used for stable power supply and it was desired to protect
battery power un-stabilization. Sometime, battery power is
in constant and the current of battery would be down when
battery has been using for long time.
Figure 5 shows measurement plans for angle accuracy of
servo motor driving unit of thevehicle. In thisplans,example
measurement of angle driving was shown in figure 6.
According to this figure, the degrees were measured as 30,
60, 90, and 120 degree respectively.
Figure5 – Preparing to Measure the Turning Angle
Figure 6 shows comparison of settingtimein controlprocess
and angle degree movement of the vehicle. In this figure, the
first column was shown PWM value and it was 200 for all
angle control, the second column was represented as timein
millisecond and the third column was angle degree
movement. Before practical test for servo motor control, the
PWM waveform was simulatedinproteussoftware asshown
in figure 7 and 8.
Figure6 Measuring Turning Angle
In the figure 7, the PWM is for 90 degree movement of servo
motor and in the figure 8, 145 degree movement of servo
motor. From these two figures; the PWM is wider for larger
degree control of vehicle.
Figure7 Example representing of 90° Pulse Width of Servo
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
@ IJTSRD | Unique Paper ID – IJTSRD25214 | Volume – 3 | Issue – 5 | July - August 2019 Page 68
Figure8 Example representing of 145° Pulse Width of
Servo
The location of the vehicle was uploaded in web application
such as Google map. The data uploading to the web server
was shown in figure 9. In this case, the free web application
was used in this system.
Figure9 Creation of data uploading in free web application
When data was successfully uploaded in the web, it was
shown as “A record has been inserted” asshown infigure10.
Create free web and file is uploaded to getthe locationand to
map the vehicle current position.
Figure10 Notification of Upload Data Done
The direction control part of the vehicle was completed by
Google map API and current location of the vehicle was
supported by GPS. The figure 11 shows the example
direction control of the vehicle.
(A)
(B)
Figure11 Example route information show on serial
monitor
Figure 11 shows the example route information that was
assembled in serial monitor. In the figure 11 (B), there were
five nodes to assign for one complete route from start point
to destination. In each node; distance (meter), acceleration,
current latitude and longitude were measured and
represented and then, next node latitude and longitude,
heading information and address from node to node were
also included. From that information, the vehicle was
controlled to move according to this direction from the start
point to the destination as shown in figure 12.
Figure12. Route showing on Google map
Figure 12 shows the route on Google map. In figure, the first
part was represented as latitude and longitude value of
current location and then, the next line was the latitude and
longitude value of the destination that was assigned byuser.
The blue line was the desired route of the vehicle. From this,
the vehicle was driven by Google map API easily and the
current location of the vehicle was shown as a blink point
using GPS navigation.
V. CONCLUSION
This system depending on the web application, the whole
information of the vehicle is stored to the server. The
accuracy of the system depends on the internet speed of the
Wi-Fi network. In this system, the major problem was the
accuracy of DC motor in this vehicle kit because the
efficiency of each motor which is available in commercial
market is not same. Sometime, the left motor is faster than
the right motor even in one kit set. Therefore, the vehicle
cannot drive straight forward with the same PWM value.
This vehicle can go only 12 inches in 857ms. The maximum
turning angle of servo must be different in another carkit. In
this vehicle, servo motor can turn 0° to 145°. This research
tends to drive, without human supervision, within limited
and carefully mapped area and to be used more easily in the
industrial area. This system can reduce risky and dangerous
driver behavior.
Acknowledgment
Author thanks to Dr.Win Zaw Hein, Associate Professor,
Department of Electronic and Communication Engineering
for kind permission to prepare for this paper, for his close
supervision, helpful advice, encouragement and numerous
invaluable guidance. The author would also thank to all
teachers and friends who willingly helped the author
throughout the preparation of the paper.
REFERENCE
[1] Tanveer Hossen Sakkhor 12121181Samin Saksiat
Zaman-11221003 Md. Arafat Al Sadi-11121098
Abdullah Al Nayeem Mahmud-11121049,“Autonomous
Car Using Full Mapping GPS System”
[2] Dhanasingaraja R, Kalaimagal S, Muralidharan G
“Autonomous Vehicle Navigation and Mapping System”
March 2014
[3] Arvind “Optimizing the turning radius of a vehicle using
symmetric four wheel steering system” December-2013
[4] Onishim Hasdak (09201003) , “Programming a Self-
Driving Car” August 2015

More Related Content

PDF
Design and Implementation for Trucks Tracking System Using GPS Based on Seman...
PDF
Minimum cost implementation of autonomous vehicle
PDF
IRJET- Public Bus Transport Location Monitoring System
PDF
SENSPEED: Sensing Driving Conditions to Estimate Vehicle Speed in Urban Envir...
PPT
Bus Tracking Application in Android
PDF
Novel based Approach Schema for Processing Vehicle Tracking System through GP...
PDF
IRJET- Real Time Fuel Estimation using Micro Controller and Android App
PDF
IRJET- College Bus Tracking and Notification System
Design and Implementation for Trucks Tracking System Using GPS Based on Seman...
Minimum cost implementation of autonomous vehicle
IRJET- Public Bus Transport Location Monitoring System
SENSPEED: Sensing Driving Conditions to Estimate Vehicle Speed in Urban Envir...
Bus Tracking Application in Android
Novel based Approach Schema for Processing Vehicle Tracking System through GP...
IRJET- Real Time Fuel Estimation using Micro Controller and Android App
IRJET- College Bus Tracking and Notification System

What's hot (20)

PDF
Intelligent Bus Tracking System Using Android
PDF
Online/Offline Lane Change Events Detection Algorithms
PDF
Multi tracking system for vehicle using gps and gsm
PDF
Multi tracking system for vehicle using gps and gsm
PDF
GPRS Based Bus Monitoring System
PPTX
Bus Fleet Management and Tracking System
PDF
IRJET- GPS Based Vehicle Tracking and Monitoring System - A Solution for Tran...
PDF
50120140504010
PDF
Design of automatic navigation control system for agricultural vehicle
PPTX
Predicting bus arrival time based on participatory mobile phone sensing
PPTX
Real time bus information system
DOCX
GPS based Bus management system
DOCX
Vehicle tracking system
DOCX
Final_report
PDF
IRJET- Sentimental Analysis on Product using Statistical Measures
PDF
A survey on real time bus monitoring system
PPTX
How Long to Wait? Predicting Bus Arrival Time With Mobile Phone Based Partici...
PPTX
Bus tracking application in Android
PPTX
SEMINAR REPORT
PPT
How long to wait predicting bus arrival time with mobile phone based particip...
Intelligent Bus Tracking System Using Android
Online/Offline Lane Change Events Detection Algorithms
Multi tracking system for vehicle using gps and gsm
Multi tracking system for vehicle using gps and gsm
GPRS Based Bus Monitoring System
Bus Fleet Management and Tracking System
IRJET- GPS Based Vehicle Tracking and Monitoring System - A Solution for Tran...
50120140504010
Design of automatic navigation control system for agricultural vehicle
Predicting bus arrival time based on participatory mobile phone sensing
Real time bus information system
GPS based Bus management system
Vehicle tracking system
Final_report
IRJET- Sentimental Analysis on Product using Statistical Measures
A survey on real time bus monitoring system
How Long to Wait? Predicting Bus Arrival Time With Mobile Phone Based Partici...
Bus tracking application in Android
SEMINAR REPORT
How long to wait predicting bus arrival time with mobile phone based particip...
Ad

Similar to Design and Construction of Navigation Based Auto Self Driving Vehicle using Google Map API with GPS (20)

PDF
Vehicle Tracking System For Commercial Vehicles
PDF
An android based advisor system for efficient vehicle driving directions
PDF
IRJET-0 Bus Tracker Via GPS using Andriod Application
PDF
IJRET-V1I1P4 - Vehicle Tracking System Using GPS Tracking Method
PDF
BUS TRACKING SYSTEM
PDF
IRJET- IoT System for Monitoring and Diagnostics of Engine
PDF
IRJET- IoT based School Bus Tracking System
PDF
IRJET- Reducing Transportation Cost by Managing Rides using an Android Applic...
PDF
IRJET-V7I61054.pdf
PDF
IRJET- Vehicle Monitoring System using Internet of Things
PDF
IRJET- Bus Monitoring System using Android Application
PDF
IRJET- Vehicle Detection and Tracking System IoT based: A Review
PDF
IRJET- A Survey on Various Location Tracking Systems
PDF
GPS and GSM Based Vehicle Tracking System
PDF
Vehicle Tracking System for School Bus by Arduino
PDF
IRJET- Smart Bus Ticket System using QR Code in Android App
PDF
IRJET- IoT based Motion Control System of a Robotic car
PDF
IRJET- City Tour Traveller: Based on FourSquare API
PDF
IRJET- IoT based Smart Ambulance System
Vehicle Tracking System For Commercial Vehicles
An android based advisor system for efficient vehicle driving directions
IRJET-0 Bus Tracker Via GPS using Andriod Application
IJRET-V1I1P4 - Vehicle Tracking System Using GPS Tracking Method
BUS TRACKING SYSTEM
IRJET- IoT System for Monitoring and Diagnostics of Engine
IRJET- IoT based School Bus Tracking System
IRJET- Reducing Transportation Cost by Managing Rides using an Android Applic...
IRJET-V7I61054.pdf
IRJET- Vehicle Monitoring System using Internet of Things
IRJET- Bus Monitoring System using Android Application
IRJET- Vehicle Detection and Tracking System IoT based: A Review
IRJET- A Survey on Various Location Tracking Systems
GPS and GSM Based Vehicle Tracking System
Vehicle Tracking System for School Bus by Arduino
IRJET- Smart Bus Ticket System using QR Code in Android App
IRJET- IoT based Motion Control System of a Robotic car
IRJET- City Tour Traveller: Based on FourSquare API
IRJET- IoT based Smart Ambulance System
Ad

More from ijtsrd (20)

PDF
A Study of School Dropout in Rural Districts of Darjeeling and Its Causes
PDF
Pre extension Demonstration and Evaluation of Soybean Technologies in Fedis D...
PDF
Pre extension Demonstration and Evaluation of Potato Technologies in Selected...
PDF
Pre extension Demonstration and Evaluation of Animal Drawn Potato Digger in S...
PDF
Pre extension Demonstration and Evaluation of Drought Tolerant and Early Matu...
PDF
Pre extension Demonstration and Evaluation of Double Cropping Practice Legume...
PDF
Pre extension Demonstration and Evaluation of Common Bean Technology in Low L...
PDF
Enhancing Image Quality in Compression and Fading Channels A Wavelet Based Ap...
PDF
Manpower Training and Employee Performance in Mellienium Ltdawka, Anambra State
PDF
A Statistical Analysis on the Growth Rate of Selected Sectors of Nigerian Eco...
PDF
Automatic Accident Detection and Emergency Alert System using IoT
PDF
Corporate Social Responsibility Dimensions and Corporate Image of Selected Up...
PDF
The Role of Media in Tribal Health and Educational Progress of Odisha
PDF
Advancements and Future Trends in Advanced Quantum Algorithms A Prompt Scienc...
PDF
A Study on Seismic Analysis of High Rise Building with Mass Irregularities, T...
PDF
Descriptive Study to Assess the Knowledge of B.Sc. Interns Regarding Biomedic...
PDF
Performance of Grid Connected Solar PV Power Plant at Clear Sky Day
PDF
Vitiligo Treated Homoeopathically A Case Report
PDF
Vitiligo Treated Homoeopathically A Case Report
PDF
Uterine Fibroids Homoeopathic Perspectives
A Study of School Dropout in Rural Districts of Darjeeling and Its Causes
Pre extension Demonstration and Evaluation of Soybean Technologies in Fedis D...
Pre extension Demonstration and Evaluation of Potato Technologies in Selected...
Pre extension Demonstration and Evaluation of Animal Drawn Potato Digger in S...
Pre extension Demonstration and Evaluation of Drought Tolerant and Early Matu...
Pre extension Demonstration and Evaluation of Double Cropping Practice Legume...
Pre extension Demonstration and Evaluation of Common Bean Technology in Low L...
Enhancing Image Quality in Compression and Fading Channels A Wavelet Based Ap...
Manpower Training and Employee Performance in Mellienium Ltdawka, Anambra State
A Statistical Analysis on the Growth Rate of Selected Sectors of Nigerian Eco...
Automatic Accident Detection and Emergency Alert System using IoT
Corporate Social Responsibility Dimensions and Corporate Image of Selected Up...
The Role of Media in Tribal Health and Educational Progress of Odisha
Advancements and Future Trends in Advanced Quantum Algorithms A Prompt Scienc...
A Study on Seismic Analysis of High Rise Building with Mass Irregularities, T...
Descriptive Study to Assess the Knowledge of B.Sc. Interns Regarding Biomedic...
Performance of Grid Connected Solar PV Power Plant at Clear Sky Day
Vitiligo Treated Homoeopathically A Case Report
Vitiligo Treated Homoeopathically A Case Report
Uterine Fibroids Homoeopathic Perspectives

Recently uploaded (20)

PPTX
Institutional Correction lecture only . . .
PPTX
master seminar digital applications in india
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Cell Types and Its function , kingdom of life
PPTX
Pharma ospi slides which help in ospi learning
PDF
Basic Mud Logging Guide for educational purpose
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Insiders guide to clinical Medicine.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Pre independence Education in Inndia.pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Sports Quiz easy sports quiz sports quiz
Institutional Correction lecture only . . .
master seminar digital applications in india
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Microbial diseases, their pathogenesis and prophylaxis
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Cell Types and Its function , kingdom of life
Pharma ospi slides which help in ospi learning
Basic Mud Logging Guide for educational purpose
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
human mycosis Human fungal infections are called human mycosis..pptx
Insiders guide to clinical Medicine.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Pre independence Education in Inndia.pdf
Cell Structure & Organelles in detailed.
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Renaissance Architecture: A Journey from Faith to Humanism
Abdominal Access Techniques with Prof. Dr. R K Mishra
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Sports Quiz easy sports quiz sports quiz

Design and Construction of Navigation Based Auto Self Driving Vehicle using Google Map API with GPS

  • 1. International Journal of Trend in Scientific Research and Development (IJTSRD) Volume 3 Issue 5, August 2019 Available Online: www.ijtsrd.com e-ISSN: 2456 – 6470 @ IJTSRD | Unique Paper ID – IJTSRD25214 | Volume – 3 | Issue – 5 | July - August 2019 Page 65 Design and Construction of Navigation Based Auto Self-Driving Vehicle using Google Map API with GPS May Thet Htar Nyo1, Win Zaw Hein2 1Student, 2Associate Professor 1,2Department of Electronic Engineering, Mandalay Technological University, Mandalay, Myanmar How to cite this paper: May Thet Htar Nyo | Win Zaw Hein "Design and Construction of Navigation Based Auto Self-Driving Vehicle using GoogleMapAPI with GPS" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456- 6470, Volume-3 | Issue-5, August 2019, pp.65-68, https://doi.org/10.31142/ijtsrd25214 Copyright © 2019 by author(s) and International Journalof Trendin Scientific Research and Development Journal. This is an Open Access article distributed under the terms of the CreativeCommonsAttributionLicense (CC BY 4.0) (http://creativecommons.org/licenses/by /4.0) ABSTRACT Self-driving vehicles are one of the most useful technologies in many applications such as bomb disposal, underwater exploration, industrial transport; etc. Control and guidance are important aspects of research and many techniques have been proposed in literature which range from fully autonomous and intelligent systems to laser and radar guided systems and line followers. This paper presents a technique for guiding and controlling autonomous vehicles by using the Google Map API (Application Program Interface). GPS (Global Positioning System) was fitted to this system for localization of the vehicle on Google map application via Wi-Fi module. KEYWORDS: GPS, Google Map (API), Wi-Fi module (ESP8266. I. INTRODUCTION Self-driving vehicle is a vehicle that can drive from start point to destination without a driver. The development of self-driving vehicle has progressed at an unanticipated pace in recent years. This vehicle used GPS to navigate from current location to desired destination. Therefore, it can be used in industrial site to carry the product from one place to another without being human input. The vehicle can be easily transported on a trailer to the testing area. The main purpose of this system was to control a movement of a vehicle based on the Google map Application Program Interface (API)usingGPSlocation serviceand displayed the route information on Google map and to know the travel time between each node. The location of the vehicle was determined byusingGPSand it was transmitted to the web via Wi-Fi. A wireless communication system was used for transmission purpose. The system consists of GPS and Wi-Fi module installed on the vehicle. Wi-Fi module was used not only for operationas a controller and also gets the internet access. The vehicle location information from GPS was informed current position to the controller. User had to assign the route of the vehicle from Google map application that is user had to select and put the designation of the route. After identifying the destination by user, the system read the direction of the route from API and sent that information to the DC motors for movement of the vehicle and sent to the servo motor for direction control of the vehicle. Recently, localmap was used from database of the web to test the dataof thevehicleroute. There are two tables in database;theuser recommendstable and route information table. A. Literature Review Dhanasingaraja R., Kalaimagal S., Muralidharan G., in March 2014, proposed Autonomous Vehicle Navigation and Mapping System. It was interfaced with OSRM open sourcemap through internet. This system used GPS, GPRS, compass, inertial sensor and laser. This system was not only relay on GPS. To improve the efficiency, it used location information from inertial sensors too. This system took the current position as source and gets the destination point from user. User had to specify the destination in the map. System found the shortest path to the destination and extracts the latitude and longitude coordinates from the graph and sends to the vehicle. Vehicle followed the coordinate using GPS and compass. If GPS signal was not received, inertial navigation system was used to obtain current coordinate. Obstacles around the vehicle were sensed by rotatable laser range finder. Current location of the vehicle was uploaded to the server through GPRS. At the server, coordinates were obtained and displayed in the Google map for monitoring purpose. Therefore, the vehicle could be monitored from anywhere in the world. [2] Tanveer Hossen Sakkhor, et.al proposed Autonomous Car Using Full Mapping GPS System. It was based on a Laptop computer to generate the path coordinates and an Android phone to obtain the GPS data and used the mobile camera as the obstacle detection image processing unit. This system had two parts: Electrical and Mechanical. The whole process of this system was controlled by linking Arduino with a Smartphone and laptop. The GPS from smart phone was used to locate the current location of the car and Google Earth Pro from laptop was used to create the path of desired destination. Google Earth Pro chose the shortest path and the user saved the KMP file and extracted the KMP file into XML, and the converting processwasdonebytheArduino.In mechanical parts, it was included a digital potentiometer, a motor controller, steering motor and another motor. The signal from Arduino came intothedigitalpotentiometer,and IJTSRD25214
  • 2. International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470 @ IJTSRD | Unique Paper ID – IJTSRD25214 | Volume – 3 | Issue – 5 | July - August 2019 Page 66 it controlled the voltage to change the speed of the car. The digital potentiometersentrequired instructionstothe motor controller. Motor controller controlled the whole process of the motor of the car as rpm, turning, speed etc. Another motor controller was used for the steering movement. This motor controller controlled the steering movement and it’s directly linked with the Arduino. Gyro sensor was used for the direction purpose. It worked as a compass to control the desired direction of vehicle. Other sensor includedIRsensor and Sonar sensor for obstacle detection [1]. B. Appliances of Web Technology Web is the most critical technology tocarrydataviainternet. The primary function of a web server is to store,processand deliver web pages to clients. Generally, most of the web servers support server-side scripting using Active Server Pages (ASP), PHP or other scripting languages. Web servers are not only used for serving the World Wide Web but also found embedded in devices such as printers, routers, and webcam. No additional software has to be installed on the client computer because only a web browser is required. There are three main parts in this technology. They are hypertext document, web server and web browser. The communication between client and server takes place using the Hypertext Transfer Protocol (HTTP). Pages delivered are most frequently Hypertext Mark-up Language (HTML) documents, which may include images, style sheets and scripts in addition to text content. Hypertext document also called web document is a text document including HTML element. The basic function of web browser is to carry the data from user to web server and vice versa. The most popular web browsers are Microsoft Internet Explorer, Mozilla Firefox, Google Chrome, Apple Safari and Opera. II. SYSTEM BLOCK DIAGRAM Basically, the proposed system was included DC motor for vehicle movement, servo motor for lane control, Node MCU for control program, GPS for localization, userguidancemap for direction finding as shown in figure 1. Figure1 Overall System Block Diagram This system was based on web technology, GPS technology and Application Program Interface (API). The functional block diagram is shown in figure 1. In this figure, GPS supported only current position of vehicle as longitude and latitude. Google map was used to assign the map from start point to destination. The direction of vehicle was measured by servo motor to follow the direction of navigation. The control program was installed in Node MCU: ESP8266 module. This module supports Wi-Fi access for web development. Motor driver L298N was used to control the movement of vehicle and the magnetometer was used to justify the heading of the vehicle. The flow chart of main control program was shown in figure 2. In this flowchart, the system was initialized firstly. And then loading the map and localize the current position. After the user was identified the destination, the vehicle is started to drive. The path from start to destination is actuallyasetof coordinates that form a line. These coordinates could be considered nodes. The vehicle can reach its destination by going again and again through each node, eventuallyleading to the destination. Figure2 Overall System Flow Chart III. METHODOLOGY There were two main parts in this system: direction finding using user instruction (guided map/ local map) and apply route (such as degree angle) control tothe vehicledriving.In direction finding process, paths were calculated in control program that included in ESP8266 Wi-Fi module. A route planner offered directions from one specific location to another. There was an angle between twocoordinates called vehicle’s heading. The vehicle heading also had to be calculated in this case to justify the direction. The goal of the vehicle was to try and maintain the heading between the current position and the next node. Each node could be considered a current goal. By reaching the current goal, the next node became the goal, therefore recursively the vehicle iterated again through each current goal to the final goal. The controller drives the DC motor by L298N motor driver for continuous movement. There are three methods in controlling the speed of DC motor: Flux Control, Armature Voltage Control, and Supply Voltage Control (PWM). Both flux control and armature voltage control cannot provide speed control in the desirable range. Whereas the armature voltage control method involves huge power loss due to its usage of resistors in series with the armature. Therefore, Pulse Width Modulation (PWM) method was usedtocontrol the DC motor. Pulse Width Modulation (PWM) is a method for binary signals generation. It has two signal periods (high and low). The width (W) of each pulse varies between 0 and the period (T) as shown in figure 3. The main principle is control of power by varying the duty cycle. Figure 3 Pulse Width Modulation (PWM) of DC motor
  • 3. International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470 @ IJTSRD | Unique Paper ID – IJTSRD25214 | Volume – 3 | Issue – 5 | July - August 2019 Page 67 In this figure, where T=Ton+Toff, T=time period, Ton=ON time and Toff=OFF time. Distance between a pair of latitude and longitude was calculated using Haversine formula because it provides greater accuracy. Haversine formula gives the shortest distance over the surface of the earth. It is shown as follows; Distance=R c (1) (2) (3) Where, R=radius of earth, 6371km, = difference in latitude (lat2-lat1), = difference in longitude (lon2-lon1), = the angular distance, = the square of half the chord length between the points. IV. EXPERIMENTAL SETUP There were hardware and software parts in this system. In hardware part, GPS module (Neo 7N), Wi-Fi module (ESP8266), Motor Driver (L298N), and CA 1253 voltage conversion module were installed on the car kit. In GPS module, Rx and Tx were connectedtomicrocontroller digital pins 3 and 4. In this system, Wi-Fi module operated as a microcontroller and it was also used to get the internet access. In Wi-Fi module, digital pins 9 and 10 operated as Rx and Tx. GPS receiver was required to getthe currentlocation of the vehicle. Once the Wi-Fi module and GPS module have assembled, the GPS module was almost ready to get the location information of the vehicles. In software part, Arduino IDE, xampp, HTML, Java script, PHP languageswere used to complete the system. In this work, there were two parts of the whole system; vehicle part and direction control part. The movement and direction control were examined by Arduino Uno and the desired route control were examined by Google map API. The movement of desired vehicle was controlled by DC motor driver and the direction angle of vehicle heading was controlled by servo motor. The control program was developed by Arduino IDE and it was installed in Arduino UNO. The movement accuracy was measured and analyzed practically. Figure 4 shows complete hardware design representation of the system. Figure.4 Complete Hardware Design of Vehicle In this figure, DC motor was set up on rare wheels and servo motor was fitted up on front wheels. L298N motor driver was used for DC motor driving. 5V, 3A voltage regulator was used for stable power supply and it was desired to protect battery power un-stabilization. Sometime, battery power is in constant and the current of battery would be down when battery has been using for long time. Figure 5 shows measurement plans for angle accuracy of servo motor driving unit of thevehicle. In thisplans,example measurement of angle driving was shown in figure 6. According to this figure, the degrees were measured as 30, 60, 90, and 120 degree respectively. Figure5 – Preparing to Measure the Turning Angle Figure 6 shows comparison of settingtimein controlprocess and angle degree movement of the vehicle. In this figure, the first column was shown PWM value and it was 200 for all angle control, the second column was represented as timein millisecond and the third column was angle degree movement. Before practical test for servo motor control, the PWM waveform was simulatedinproteussoftware asshown in figure 7 and 8. Figure6 Measuring Turning Angle In the figure 7, the PWM is for 90 degree movement of servo motor and in the figure 8, 145 degree movement of servo motor. From these two figures; the PWM is wider for larger degree control of vehicle. Figure7 Example representing of 90° Pulse Width of Servo
  • 4. International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470 @ IJTSRD | Unique Paper ID – IJTSRD25214 | Volume – 3 | Issue – 5 | July - August 2019 Page 68 Figure8 Example representing of 145° Pulse Width of Servo The location of the vehicle was uploaded in web application such as Google map. The data uploading to the web server was shown in figure 9. In this case, the free web application was used in this system. Figure9 Creation of data uploading in free web application When data was successfully uploaded in the web, it was shown as “A record has been inserted” asshown infigure10. Create free web and file is uploaded to getthe locationand to map the vehicle current position. Figure10 Notification of Upload Data Done The direction control part of the vehicle was completed by Google map API and current location of the vehicle was supported by GPS. The figure 11 shows the example direction control of the vehicle. (A) (B) Figure11 Example route information show on serial monitor Figure 11 shows the example route information that was assembled in serial monitor. In the figure 11 (B), there were five nodes to assign for one complete route from start point to destination. In each node; distance (meter), acceleration, current latitude and longitude were measured and represented and then, next node latitude and longitude, heading information and address from node to node were also included. From that information, the vehicle was controlled to move according to this direction from the start point to the destination as shown in figure 12. Figure12. Route showing on Google map Figure 12 shows the route on Google map. In figure, the first part was represented as latitude and longitude value of current location and then, the next line was the latitude and longitude value of the destination that was assigned byuser. The blue line was the desired route of the vehicle. From this, the vehicle was driven by Google map API easily and the current location of the vehicle was shown as a blink point using GPS navigation. V. CONCLUSION This system depending on the web application, the whole information of the vehicle is stored to the server. The accuracy of the system depends on the internet speed of the Wi-Fi network. In this system, the major problem was the accuracy of DC motor in this vehicle kit because the efficiency of each motor which is available in commercial market is not same. Sometime, the left motor is faster than the right motor even in one kit set. Therefore, the vehicle cannot drive straight forward with the same PWM value. This vehicle can go only 12 inches in 857ms. The maximum turning angle of servo must be different in another carkit. In this vehicle, servo motor can turn 0° to 145°. This research tends to drive, without human supervision, within limited and carefully mapped area and to be used more easily in the industrial area. This system can reduce risky and dangerous driver behavior. Acknowledgment Author thanks to Dr.Win Zaw Hein, Associate Professor, Department of Electronic and Communication Engineering for kind permission to prepare for this paper, for his close supervision, helpful advice, encouragement and numerous invaluable guidance. The author would also thank to all teachers and friends who willingly helped the author throughout the preparation of the paper. REFERENCE [1] Tanveer Hossen Sakkhor 12121181Samin Saksiat Zaman-11221003 Md. Arafat Al Sadi-11121098 Abdullah Al Nayeem Mahmud-11121049,“Autonomous Car Using Full Mapping GPS System” [2] Dhanasingaraja R, Kalaimagal S, Muralidharan G “Autonomous Vehicle Navigation and Mapping System” March 2014 [3] Arvind “Optimizing the turning radius of a vehicle using symmetric four wheel steering system” December-2013 [4] Onishim Hasdak (09201003) , “Programming a Self- Driving Car” August 2015