DTL ReportFinal
DTL ReportFinal
CERTIFICATE
Certified that the Design Thinking Lab project titled Bus Tracking System is carried out by
Shubhika Verma(1RV20EC153), Suresh (1RV20EC165),Tabrez Ahmed (1RV20EC167)
and Yashvantha T S (1RV20EC190) who are the bonafide students of RV College of
Engineering, Bengaluru, in partial fulfillment of the requirements for the degree of Bachelor
of Engineering in Electronics and Communication Engineering of the Visvesvaraya
Technological University, Belagavi during the year 2021-2022. It is certified that all
corrections/suggestions indicated for the Internal Assessment have been incorporated in the
Design Thinking Lab report deposited in the departmental library. The Design Thinking Lab
report has been approved as it satisfies the academic requirements in respect of Design
Thinking Lab work prescribed by the institution for the said degree.
Signature of the Mentor Signature of the Mentor Signature of Head of the Department
External Viva
1.
2.
DECLARATION
We, Shubhika Verma, Suresh, Tabrez Ahmed, Yashvanth, students of fourth semester B.E.,
Department of Electronics and Communication Engineering, RV College of Engineering,
Bengaluru, hereby declare that the Design Thinking Lab project titled ‘Bus Tracking System’
has been carried out by us and submitted in partial fulfilment for the award of degree of
Bachelor of Engineering in Electronics and Communication Engineering during the year
2021-2022.
Further, we declare that the content of the report has not been submitted previously by anybody
for the award of any degree or diploma to any other university.
I also declare that any Intellectual Property Rights generated out of this Design Thinking Lab
carried out at RVCE will be the property of RV College of Engineering, Bengaluru and we will
be one of the authors of the same.
Place: Bengaluru
Date:
Name Signature
We are indebted to our group mentors, Dr. Srividya P, Associate professor, Dept of ECE, R.V.
College of Engineering, and Mr. Mahendra B M , Assistant professor , Dept of ECE, R.V. College
of Engineering for their whole hearted support, suggestions and invaluable advice throughout our
Design Thinking Lab work and also helped in the preparation of this thesis.
We also express our gratitude to our group Guides Dr. K S Shushrutha , Associate Professor, Dept of
ECE, R.V. College of Engineering, Dr Mahesh A, Associate Professor, Dept of ECE, R.V. College
of Engineering, Dr Shilpa D R, Associate Professor, Dept of ECE, R.V. College of Engineering
for their valuable comments and suggestions.
Our sincere thanks to Dr. H V Ravish Aradhya, Professor and Head, Department of Electronics and
Communication Engineering, RVCE for her support and encouragement.
We express sincere gratitude to our beloved Principal, Dr. K. N. Subramanya for his appreciation
towards this Design Thinking Lab.
We thank all the teaching staff and technical staff of Electronics and Communication Engineering
department, RVCE for their help.
Lastly, we take this opportunity to thank our family members and friends who provided all the back
up support throughout the technical seminar.
ABSTRACT
The procedure of tracking a vehicle involves tracking its whereabouts using latitude and
longitude coordinates. The objectives we are targeting to fulfill through this project include
building a vehicle tracking system that can be managed by an embedded device, more
specifically a smartphone and to create and implement a reliable, affordable vehicle tracking
system that will help our students, working professionals and citizens who take the BMTC
bus. It will also cater to the people who can not use a smartphone, they can receive SMS
whenever the bus reaches a bus stop using the SMS service provided by Twilio API instead
of using an expensive GSM module to send SMS.
The bus is equipped with a real-time ESP32-based vehicle tracking system with GPS to
allow the owner/user to track the location of the bus, sensors to monitor the parameters of
the bus like temperature of the engine. A Push Buttons switch is used to notify whether the
bus has reached a particular bus stop. For this purpose, a push button, GPS receiver and
temperature sensor is connected to an ESP32 board. The ESP32 wifi module will transmit
the bus position (latitude and longitude) and sensor data to thingspeak website. ThingSpeak
cloud is an IOT analytics platform service that allows us to visualize and analyze live data
streams in the cloud. A
Additionally, A website is generated using the IP address of the bus which has google maps
API that can be used to track the live location of the bus. This can be used by people who
have internet connection in their smartphone.
The GPS Tracker and Twilio API was implemented and demonstrated and proved to be both
user friendly and cost effective.
The system was able to experimentally demonstrate its effective performance to track a bus
location, send an SMS and track live location of the bus anytime from anywhere. This is
easy to make and inexpensive compared to other methods as it does not use a GSM module
to send notifications. With proper implementation and user adherence, a high scale
deployment can be accomplished in the future.
Page i
CONTENTS
Page No
Abstract i
Acronyms iv
1.Overview 1
2.Empathy 3
2.1 Introduction 3
2.2 Questionnaire 3
2.3 Survey Responses 3
2.4 Survey Analysis 6
4.Ideate 8
4.1 Implementation 9
4.2 Requirement specification 9
4.3 Components required 9
7.References 13
Page ii
ACRONYMS
WORD ACRONYMS
ECE Electronics and Communication Engineering
IOT Internet Of Things
GPS Global Positioning System
GSM Global System for Mobile Communication
ESP32 Espressif Systems 32 bit
API Application Programmable Interface
SMS Short Messaging Service
Page iv
LIST OF FIGURES
Page iii
Bus Tracking System
1.Overview
A bus tracking system combines the installation of an electronic device in a bus, or fleet of buses, with
purpose-designed computer software to enable a third party to track the bus’s location, collecting data
in the process. Modern bus tracking systems commonly use Global Positioning System (GPS)
technology for locating the bus, but other types of automatic bus location technology can also be used.
Bus information can be viewed on electronic maps via the Internet or specialized software.
As part of our Empathy Phase, we conducted a survey on a few problems and possible implementation
ideas. The problem we identified with our target people, i.e., students, citizens, working professionals
and bus depot managers, is the difficulty in knowing the bus location, arrival time and condition of th
e bus. Often the issue arises due to time constraints. Based on the results, we have decided to
implement a GPS based Tracker System which notifies the user whenever the bus reaches a bus stop
through an SMS.
GPS based vehicle location and tracking system will provide effective, real time vehicle location and
mapping. A GPS-based vehicle tracking system will inform where your vehicle is and where it has
been, how long it has been. The system uses geographic position and time information from the Global
Positioning Satellites. The system has an "On Board Module" which resides in the vehicle to be
tracked and a "Base Station"(Application) that monitors data from the various vehicles. The On-Board
module consists of GPS receiver.
Bus tracking system is becoming increasingly important in large cities and it is more secured than
other systems. This setup can be made more interactive by adding a display to show some basic
In this project, a real time ESP32 based vehicle tracking system with GPS is attached to the moving
vehicle to enable the owner/user to track the location of that vehicle. This proposed system will
continuously monitor a moving vehicle and report the status of the vehicle and send an SMS to the
user whenever the bus reaches a bus stop. For doing so an ESP32 module with wifi connectivity will
connect to the cloud and send all sensor data and GPS location. Twilio API service will send SMS
whenever the Push button has been pressed, indicating the bus has reaches a bus stop.
The bus depot managers can monitor the health of each bus using the ThingSpeak cloud service and
makes maintaining buses easier. They can also monitor the scheduling of the bus.
The user will monitor the bus and get the updated information about the bus regularly.
The low-cost ESP32 based vehicle tracking system can be used widely in tracking Cabs/Taxis, stolen
vehicles, school/colleges buses etc. It can be used by food delivery and car rental companies also.
2.Empathy
2.1 INTRODUCTION
In this phase of DTL we have asked college students, citizens, working Professionals
and bus depot managers several relevant questions regarding the vast number of issues
faced by them to commute using public transport, asking about ways in which we can
help create a system to help them commute in and around the city effortlessly and also
review our ideas as helpful or not.
2.2 QUESTIONNAIRE
1.Do you use public transport?
2.What kind of public transport do you use the most?
3.How frequently do you take BMTC bus?
4.Rate BMTC on the schedule of bus
5.Do you waste a lot of time waiting for the city bus?
6.What problems do you face while taking the city bus?
7.Do you think current solutions are accurate?
2.3 SURVEY RESPONSES
1. Do you use public transport
5.Do you waste a lot of rime waiting for the city bus?
6. What are the problems you face when you travel by city bus?
To further our scope of survey we conducted a few personal interviews to have a broader
understanding of the needs of people who take the bus as public transportation
Fig 2.3.8 Talking with Fig 2.3.9 Talk with student Fig 2.3.10 Talk with Kengeri
bus driver Depot Manager
Firstly we interviewed a student of RV college who travels daily to the college by bus from RR
nagar to the RV college of engineering , he get late to class Because of irregularity of schedule of
bus.He thinks that busses cause too much pollution, take the bus from their respective places
keeping enough time in hand. They feel that busses should be more efficient in timing and in
reducing pollution.If there was a way to know the bus location they could plan better.
Secondly, we interviewed a Flower selling lady who sells the flowers in Nagadevanahalli and
she travels from nagadevanahalli to nagarabhavi daily. According to her She gets confused
with bus numbers, has to ask each bus if it goes to her place, timing of buses cause delay. She
thinks that she cant be to places on time.She believes that looking for the right bus to her
location consumes a lot of time and energy. It also causes her to be late.
Thirdly, We visited the kengeri bus terminal to know about the problems faced by the bus
drivers and how does current tracking system working and interviewed them .They are not able
to keep track of busses efficiency and schedule of bus accurately. Concerned about the safety of
passengers, They think that they can improve their efficiency and timing using GPS tracker,
Currently Manual systems are used to keep track of bus schedule and efficiency of bus which
can be inaccurate. They feel that they can do better in terms of timing of bus and monitoring the
condition of the bus.
To make a travelling advisory system for working professionals, students and citizens who take
the BMTC bus which will assist them to locate accurate location of the bus, timings and bus
number for that particular route and to make a system to monitor bus condition for depot
managers.
4. Ideation
4.1 IMPLEMENTATION
After carefully reviewing and analyzing the responses for our questions to better understand the
commuting problems faced by people who take the bus, we had a few ideas some of them were to use
of an RFID module to track a bus when it crosses a bus stop. This system may not be as accurate as
it may detect any other vehicle other than a bus. To Use of QR code at every bus stop. This method
had a drawback that the user had to be physically present at the bus stop. We concluded that a GPS
based bus tracking system with SMS notification using the twilio API and thingspeak cloud to collect
and analyse data would be an optimal solution for this problem. Thingspeak cloud service can be used
to collect data from GPS module and temperature and humidity sensor and can be used to analyse
and visualize data. This module can be customized easily to include more sensors that send data to
cloud for monitoring bus condition. A push button is used to trigger the SMS notification. When the
bus stops at a particular bus stop the bus driver has to press this button to send the SMS notification.
Twilio API is used to send SMS instead of a GSM module because it is more cost effective and can
be implemented at large scale for less cost. We implemented google maps API into our code such
that it generates an IP address of the bus which can be used to locate the live location of the bus using
a web browser.
This way we were able to bring about a solution to our target groups which were citizens, students
and bus depot managers. This system can be further improved by using a more advanced GPS module,
better software and a way to automate SMS notification whenever the bus crosses a bus stop.
Components used: ESP32 board, Resistors, LED, GPS Module (Neo-6M GPS Module),
DHT11(Temperature and Humidity sensor) and Connecting wires
The initialization message will appear on the serial monitor after the code has been
dumped onto the board. If the Wi-Fi connection has been established appropriate message
will be displayed on the serial monitor. If there is any failure it will be displayed on serial
monitor. If the GPS data is not up to date it will be notified through the serial monitor.
The Vcc of the GPS module is connected to the 3.3V output voltage pin of ESP32 and the GND pin
is grounded. The other 2 pins are connected to TXD and RXD pins of the Arduino for serial
communication (baud rate=9600). The Push button is connected to pins 15, LED is connected to pin
22 of the board and DHT11 humidity and temperature sensor is connected to pin 13 of the board.
When the push button is pressed the notification of SMS is sent to the registered mobile number.
The given IP address can be shared to people who want the live location of the bus and can paste
the address in a web browser to get the live location of the bus.
6.1 Conclusion
The suggested ESP32 based bus tracking and notification system was developed and tested to track
the precise location of a moving or still bus in real time and to send SMS when the button is pressed.
The system was made user-friendly by ESP32 and SMS system which was done by using the
Twilio API that reduces the cost and made this system to use easier by eliminating the need of
GSM module. A website was generated by using the IP address of the wifi of the bus and google
maps API was implemented in it. The DHT11 sensor sends raw live data to thingspeak recording
the temperature of the engine. The technology offers users improved service experience and a cost-
effective solution. The system's ability to track a Bus's whereabouts at any time and from any
location was successfully demonstrated and SMS was sent experimentally. Compared to other
ways, this is inexpensive and simple to create and cost effective.
It is crucial to make it affordable and simple to configure; if this is done, people will be ready to
install it in their own cars, school buses, taxis, and other vehicles. A high scale deployment can be
achieved in the future with good implementation and user adherence.
7.References
[1] Implementation of Real-Time GPS Receiver System for Providing Navigation Based Services and
SMS Tracking©2015 IEEE.
[2] J. B. Tsui, Fundamentals of Global Positioning System Receivers A Software Approach (Hoboken,
NJ: John Wiley and Sons, 2000).
[3] S. H. Alnabelsi, On GPS fault-tolerance for city-bus tracking system using wireless sensor
networks, International Journal of Networks and Communications, vol. 6, pp. 80–86, 2016.
[4] A. soloview, J. Dickman, N. Grumman, Extending GPS Carrier Availability Indoors with a Deeply
Integrated Receiver Architecture, IEEE Wireless Communications, 18(2), 2011, 36-44.
[5] C. Joseph, A. D. Ayyappan, A. R. Aswini, and B. D. Bharathy, “GPS/GSM Based Bus Tracking
System (BTS),” Int. J. Sci. Eng. Res., vol. 4, no. 12, 2013.
[6] Queen Mary, University of London, Mile End Rd, London E1 4NS and M. Mukhtar, “GPS based
Advanced Vehicle Tracking and Vehicle Control System,” Int. J. Intell. Syst. Appl., vol. 7, no. 3, pp.
1–12, Feb. 2015.
[7] S. Pooja, “Vehicle tracking system using GPS,” Int. J. Sci. Res. IJSR India Online ISSN, pp. 2319–
7064, 2013.
[8] S. Kaur and D. Singh, “Overview on GPS-GSM Technologies used in Vehicle Tracking.”.