Development of Arduino Based Real-Time Bus Tracking and Monitoring System
Development of Arduino Based Real-Time Bus Tracking and Monitoring System
A PROJECT REPORT
Submitted by
YALINI P (913120106113)
of
BACHELOR OF ENGINEERING
in
MAY 2024
i
BONAFIDE CERTIFICATE
SIGNATURE SIGNATURE
ii
ACKNOWLEDGEMENT
iii
ABSTRACT
Index Terms— Bus tracking, IoT-based Android application, Real time updates,
GPS technology, User-Friendly interface environmentally responsible future for
the maritime industry.
iv
CHAPTER TITLE PAGE
NO NO
ACKNOWLEDGEMENT iii
ABSTRACT iv
LIST OF FIGURES ix
1. INTRODUCTION 1
2. LITERATURE SURVEY 5
3. EXISTING METHODOLOGIES 12
v
3.3 Radio Frequency Identification (RFID) 14
Tracking
4. PROPOSED METHODOLOGY 16
4.1 APP 16
4.3 Antenna 21
4.5 Microcontroller 35
4.5.1 Features 36
4.5.2 Description 40
4.6 Integration 41
vi
AREF Analog reference
IR Infrared
LIST OF FIGURES
FIGURE FIGURE NAME PAGE
NO NO
4.8 Antenna 29
functionalities
1
● Individuals navigating through unfamiliar districts encounter significant
transportation hurdles stemming from their limited understanding of local routes
and infrastructure, highlighting a pressing need for improved accessibility
solutions in such areas.
One of the key benefits of real-time monitoring is its ability to improve schedule
adherence and reliability. By tracking the precise location and movement of
vehicles, operators can identify delays, deviations, and congestion in real-time,
allowing them to adjust schedules, deploy additional resources, or reroute
vehicles as needed to maintain service continuity and minimize wait times for
passengers. This proactive approach not only enhances passenger satisfaction
2
but also fosters confidence in the reliability of public transport services,
encouraging greater ridership and reducing dependency on private vehicles.
Moreover, real-time monitoring enables more efficient resource allocation and
fleet management. By monitoring passenger loads and demand patterns in real
time, operators can optimize the deployment of vehicles and adjust service
frequencies dynamically to match fluctuating demand levels throughout the day.
This flexibility not only maximizes operational efficiency but also minimizes
operating costs by avoiding unnecessary service duplication or underutilization
of resources. Additionally, real-time monitoring facilitates enhanced safety and
security measures within public transport systems. By monitoring vehicle
movements and incidents in real-time, operators can quickly detect and respond
to emergencies, accidents, or security threats, ensuring the safety and well-being
of passengers and staff. Integration with CCTV cameras and other surveillance
systems further enhances situational awareness and enables swift intervention in
case of any untoward incidents. Overall, the implementation of real-time
monitoring in public transport systems represents a significant advancement
towards creating more responsive, reliable, and passenger-centric transportation
networks. By harnessing the power of real-time data analytics and
communication technologies, transportation agencies and operators can optimize
service operations, improve service quality, and ultimately contribute to the
sustainable development of urban mobility ecosystems.
3
significant transportation obstacles due to their limited understanding of local
routes and infrastructure, emphasizing the urgent need for improved accessibility
solutions in such areas. Furthermore, the persistent absence of a systematic
mechanism for announcing and recovering lost items on public transport not
only adds to the frustration of passengers but also perpetuates the issue of
irretrievable losses. This underscores the critical importance of implementing
efficient and standardized protocols to address this recurring challenge, ensuring
a smoother and more reliable public transportation experience for all.
4
CHAPTER 2
LITERATURE SURVEY
[1] Estimation of Bus Arrival by Tracking and Analyzing the Users Real Time
Location-2023
5
[2] Tracking and Security Features Enhancement in a Smart School Bus
Using IoT-2023
Likith proposed Public transportation systems are often not taken into account
by the parents as a mode of transport, due to the risks and lack of safety
measures they possess. The Internet of Things (IoT) based applications and
devices implemented in these School buses, rectify the concerns amongst the
parents to have a trustworthy infrastructure. The system provides a solution to
meet safety requirements by consistent student tracking using RFID and GPS
technologies to report boarding and deboarding time of the student passing
through 2 checkpoints, real-time bus location, and speed tracking to abide by the
rules. Furthermore, a dual authentication to confirm that no unauthorised person
can access the bus system, and surveillance IP camera for indoor monitoring.
Sensors like Door sensors and Proximity sensors connected to Arduino Uno are
used to mark the onboard and post-deboarding safety to depict a child's presence
in the red zones, respectively. This can nullify or drastically bring down the
occurrence of any undesirable instances. A mobile application displaying all the
necessary information is made available for the ease of parents. Overall, the
proposed system can uplift the safety of school children while travelling,
providing parents with a stress-free and worriless environment.
6
passengers must wait too long for the bus to arrive without having knowledge of
where the bus is. This shortcoming encourages the use of private vehicles, which
leads to an increase in fuel consumption and pollution. People move from one
city to another for a variety of reasons, such as education, employment, travel,
and so forth; therefore, they may not be familiar with all the locations in the new
city. They encounter challenges when trying to visit some of the city's new
locations. The Indian Government has initiated the Smart Cities Mission to
improve people's living quality in cities and towns by using best practices,
information, digital technology, etc. Such people migrating from one city to
another face the major problem of finding city buses. As they are new to the city,
they are unaware of the city's bus timings and bus numbers. To solve these
difficulties, this proposed system of bus app was created. The passengers would
benefit from knowing the buses' approximate arrival times so they may schedule
their travel accordingly rather than waiting for them. This app provides
information on the arrival and departure times of metropolitan city buses and
tracks them. Since most people have smartphones, the bus driver's phone was
used to track all of the buses along the route and was embedded with the Google
Maps API. Users may log in and see all the buses that are close by with live
tracking. This smart bus app may help in solving locality identification problems
for passengers.
[4] Fisherman Communication at Deep Sea Using Border Alert System - 2020
This paper proposed a past working model of the school bus system, there was a
chance to categorize many methodologies. Nowadays there is an increase in
crimes and accidents in the boarding and operation of school bus. Parents are
worried about their kids on many reasons when they are going to schools like
falling asleep in the school bus, children may miss the bus or may leave at the
7
wrong place, too much delayed in pickup and drop, waiting long time in
boarding and receiving, missing and tracking, no reasons on abnormality,
unusual behaviour of children, boarding in other bus etc. To overcome these
problems, use of GSM, GPS, Wi-Fi and RFID technologies for tracking and
monitoring the school bus has proposed as the solution in this work. This has
become an advantage for efficient tracking with low cost GPS and Wi-Fi Module
or GSM which helps parents to keep track their children, sends an alert message
to the parents about the present location of the vehicle and sends the emergency
message alerts to the school on abnormal situations. Sensors play a vital role in
this research for sensing the problems like fire, break down, accident,
consumption of alcohol or metal detection.
[6] Smart Bus and Bus Stop Management System using IoT Technology-2021
Murizah Kassim proposed Bus transport is one of the important public transports
in the city and a fixed-route bus is identified as the best and cheap sense to move
8
around the city. Time is essential for daily public transport clients. In Malaysia,
bus route applications and systems are still unplanned and bus schedules are
hardly reached. Time is taken for route deviations and unwanted stops. This
paper presents a mobile application that designs a monitoring bus tracking
system and reduces passenger waiting time. The application is also able to count
the problem of route deviations and unwanted stops by the bus driver. Global
Positioning System (GPS) was built to locate the bus and RFID is used for bus
identification. Bus information is stored in a cloud server with online access.
Internet of things and with the mobile system was designed by using two
ESP8266 Wi-Fi modules that separated the GPS and functions of sensors. GPS
Neo-6m was used to track the bus route. RFID MFRC522 was used to send
messages to bus users via online Blynk mobile Apps. The result presents a
prototype of a mobile application. Testing of three locations of GPS latitude and
longitude for bus A, B, and C were analyzed that presents 0 to 5 passengers on
board. Passenger counter identification used two IR sensors to detect passengers
going in and out of the bus. A combination of Internet of Things (IoT), GPS, and
RFID is designed to track and monitor the bus. This project is essential where
the GPS and RFID help both bus drivers and passengers save and planned their
time where the system is easily accessed via internet connection.
Likith The objectives of this research aim to study, research, design, and develop
a smart bus management system using NB-IoT, and to examine its efficiency by
researching related works and comparisons, analyze the development of smart
bus management system. Researchers have discovered a synthetic smart bus
management system and have developed the system based on NB-IoT which
consist of 8 subsystems: 1) Smart Tracking System 2) Smart Gate Attendance 3)
Smart Camera System 4) Smart Alert System 5) Smart Time Estimation 6) Smart
9
Suggestions 7) Smart Accident Center and 8) Smart Report. These systems will
run through an application on the user's mobile phone. This smart
10
using C-language. The system was deployed to a university transportation
system in Nigeria: a journey to and from the Bosso and Gidan Kwano Campuses
route in the Federal University of Technology, Minna. The vehicle tracking
system was tested with 11 tracked satellite and minor dilution error (PDoP error
= 1.9, HDoP=0.9, and VDOP=1.7) was recorded. The system is efficient and
accurate in distance and time information display with a minor delay. The system
would enhance fleet management schemes for urban arterial and can be adopted
universally.
Xiaojian Feng proposed n order to improve the means of bus dispatch, improve
11
the efficiency of bus operations, and implement a smart campus, the design of an
intelligent bus positioning system, which is based on the Internet of Things, is
studied. This paper first discusses the location awareness of IoT nodes and the
location awareness of multi-source positioning to achieve intelligent perception
of the environment. Then, the overall design of the intelligent bus system of IoT
is carried out, and the design idea of the three-tier network hierarchy based on
the perception layer, the network layer, and the application layer is given. The
system uses RFID technology to track, locate, and monitor buses. The touch
screens at bus stops can count the number of passengers waiting for each bus,
and the electronic bus-stop boards can publish the arrival time of each bus and
some other information. The Zigbee wireless network technology is used to
achieve communication between the vehicle terminal, platform system, and
dispatch monitoring center. Finally, the simulated annealing algorithm is used to
achieve intelligent bus scheduling, improve the quality and efficiency of bus
service to meet the travel needs of citizens.
12
CHAPTER 3
EXISTING METHODOLOGIES
13
is that it requires the installation of hardware on the vehicles, which can be
expensive and time-consuming. Additionally, APC can be inaccurate if
passengers do not properly activate the sensors when entering or exiting the
vehicle.
14
several existing methods for tracking public transport without IoT and mobile
apps, each method has its own set of drawbacks that limit its effectiveness.
Therefore, it is important to carefully evaluate 4 the benefits and drawbacks of
each method before selecting a tracking method that is best suited for a
particular transportation system.
15
CHAPTER 4
PROPOSED METHODOLOGY
4.1 APP :
● Introduction
In urban areas, public transportation often suffers from inefficiencies and lack of
transparency, leaving commuters frustrated with uncertain wait times and
unreliable service. Our project, named Nirutham, addresses these challenges by
introducing an IoT-based Android application that provides real-time bus
tracking. By leveraging GPS technology, commuters can access accurate bus
locations and arrival times, enhancing their journey planning experience. The
app's user-friendly interface facilitates seamless navigation, while notification
features and a dedicated missing details page improve communication between
commuters and bus management, ultimately streamlining urban transit and
improving overall efficiency.
16
The inefficiencies and lack of transparency in public transport systems
contribute to a myriad of safety and unfavourable conditions for commuters.
Uncertain wait times and unreliable service not only lead to frustration but also
increase the risk of crime, as crowded and poorly monitored stations become
breeding grounds for theft and harassment. Moreover, the chaos and confusion
often present in such environments heighten the likelihood of commuters losing
valuable items amidst the hustle and bustle. Missed connections due to
inaccurate information further compound the issue, causing delays and potential
disruptions to commuters' schedules and commitments. Safety concerns arise
from poorly maintained facilities and inadequate security measures, fostering
feelings of insecurity, especially during off-peak hours or in secluded areas.
● Sustainable transportation
Our bus tracking app operates on sustainable principles to ensure its long-term
viability and positive impact on urban transportation. By leveraging IoT
technology and GPS tracking, our app minimizes reliance on fossil fuels and
reduces carbon emissions associated with inefficient travel practices. Real-time
bus tracking functionality optimizes route planning, leading to fewer empty or
overlapping trips, thus conserving fuel and reducing environmental footprint.
Moreover, the app's user-friendly interface encourages more people to choose
17
public transportation over individual vehicle usage, promoting a shift towards
greener commuting habits. By facilitating smoother journeys and reducing wait
times, our app contributes to a more efficient use of public transportation
infrastructure, ultimately fostering a sustainable urban mobility ecosystem for
both present and future generations.
● Economic Impact
Our bus tracking app, with its real-time tracking and reliable arrival time
predictions, significantly impacts both commuters and the urban economy. It
reduces wait times, increases productivity, and lowers transportation costs for
commuters, leading to higher job retention rates and productivity levels. The
app's user-friendly interface and notification features attract more riders to public
transportation, potentially boosting fare revenues for transit agencies and
reducing the need for public subsidies. Additionally, the app optimizes bus
routes and schedules, resulting in cost savings for transit agencies through
reduced fuel consumption and improved operational efficiency. These savings
can be reinvested in improving public transportation infrastructure or keeping
fares affordable.
18
efficiency and reliability. Our app not only revolutionizes the commuting
experience but also aligns with broader sustainability goals by promoting the
use of public transit and reducing congestion on city streets.
19
and regular updates to optimize data accuracy and enhance the overall reliability
of our bus tracking app.
● Benefits: Safety
Tracking public transport offers numerous safety benefits for both commuters
and operators. Firstly, it enables real-time monitoring of bus locations, allowing
authorities to respond promptly to emergencies or incidents such as accidents or
breakdowns, ensuring the safety of passengers and minimizing disruptions to
service.
● Cost Savings
Our bus tracking app generates cost savings by reducing wait times and
optimizing routes for commuters, leading to lower transportation expenses. For
transit agencies, it streamlines operations, lowers fuel and maintenance costs,
increases fare revenues, and optimizes resource allocation, resulting in overall
efficiency gains and financial savings.
20
Fig 4.3 App Notification
21
ensuring that users are actively engaged with the app to receive them. Unlike
push notifications that appear on the user's device even when the app is not open,
notifications within the app require users to actively access and interact with the
app to see them. This reliance on user engagement may result in missed
notifications if users forget to check the app regularly or if they close the app
after launching it.
ensures that users remain within the app environment, potentially increasing
overall app usage and retention rates. Additionally, by centralizing notifications
within the app, users can conveniently access all relevant information in one
place, enhancing the overall user experience and facilitating seamless
communication between commuters and the transit system.
22
adjust their travel plans accordingly, mitigating potential safety risks and
ensuring a smoother journey experience. Overall, the app's notification feature
contributes to a safer and more reliable public transportation system by
empowering users with essential information and facilitating proactive responses
to various situations.
for new commuters unfamiliar with the transit system, offering clarity and
confidence in navigating the urban landscape. Overall, the integration of the
route map elevates the functionality of our app, empowering users with essential
information to optimize their public transportation experience.
23
● Challenges: Data Integration
Integrating a route map into our app poses challenges that demand strategic
solutions. Obtaining accurate and comprehensive route data, balancing
information clarity with a user-friendly interface, and ensuring timely updates
present significant hurdles. Overcoming these challenges requires efficient data
management, collaboration with transit authorities, and iterative design
refinements. By addressing these obstacles, we aim to seamlessly integrate the
route map feature into our app, enhancing the user experience and facilitating
efficient journey planning for commuters.
● Environmental Stewardship
Our app promotes environmental stewardship by encouraging sustainable
transportation practices. By facilitating efficient journey planning and
optimizing bus routes, the app reduces reliance on individual vehicles,
24
mitigating carbon emissions and alleviating urban congestion. Users can make
informed choices, opting for eco-friendly travel options, conserving fuel, and
contributing to improved air quality. Overall, the route map feature supports
efforts towards a cleaner, greener urban environment.
25
Fig 4.5 Bus fare display
● Fair Pricing
The integration of fare pricing information in our app empowers users to make
informed decisions about their travel options, promoting transparency and
budget-conscious commuting. Despite challenges such as dynamic pricing
fluctuations, this feature enhances the user experience and fosters fairness in
public transportation pricing, contributing to a more efficient and accessible
transit system.
● Convenience
Our app revolutionizes the commuter experience by offering convenient features
like real-time bus tracking, route mapping, and fare pricing. With an intuitive
interface, users can effortlessly plan journeys and monitor bus locations,
enhancing overall efficiency and accessibility in urban transportation.
● Budget Management
Our app empowers users to effectively plan and control their transportation
expenses. By providing transparent information on bus fares, users can make
26
informed decisions about their travel options, ensuring that they stay within their
budgetary constraints. Additionally, functionalities such as fare comparison and
route optimization enable users to identify cost-effective routes, maximizing
savings while minimizing travel costs. Through these features, our app promotes
responsible spending and financial awareness among commuters, ultimately
contributing to improved budget management and financial well-being.
27
● Challenge: Privacy Concerns
To prevent misuse of the missing details feature, strict verification procedures,
user education initiatives, and clear guidelines should be implemented. Security
measures like encryption and access controls can safeguard personal information
and prevent unauthorized access.
The ability to pin favorite bus stops within our app enhances user convenience
and streamlines the journey planning process. Users can easily access their
preferred bus stops with a single tap, eliminating the need to search for them
repeatedly. This feature improves overall user experience by saving time and
effort, especially for frequent commuters who have specific stops they regularly
use. Additionally, it promotes user engagement with the app by allowing
customization and personalization according to individual preferences. Overall,
the ability to pin favorite bus stops enhances app usability and adds value to the
commuting experience for users.
Ublox NEO-6M TTL GPS Module with EPROM uses the latest
technology from Ublox to give the best possible positioning information
and includes a larger built-in 25 x 25mm active GPS antenna with a
UART TTL socket. A battery is also included so that you can obtain a
GPS lock faster. This is an updated GPS module that can be used with
28
ardupilot mega v2. This GPS module gives the best possible position
information, allowing for better performance with your Ardupilot or other
Multirotor control platform.
Features:
There is an LED on the NEO-6M GPS module that indicates the status of the
‘Position Fix’. It will blink at different rates depending on which state it is in:
● Blink every 1s – Position Fix is found (the module can see enough
satellites).
VLDO Regulator:
The operating voltage of the NEO-6M chip ranges from 2.7 to 3.6V. But the
good news is, this module comes with MICREL’s MIC5205 Ultra-Low
Dropout 3V3 regulator.
The logic pins are also 5-volt tolerant, so we can easily connect it to Arduino
or any 5V logic microcontroller without using a logic level converter.
The module is equipped with HK24C32 Two Wire Serial EEPROM. It is 4KB
in size and is connected via I2C to the NEO-6M chip. The module also houses
30
a rechargeable button battery that acts as a super-capacitor. EEPROM and
battery together help in retaining the BBR (Battery Backed RAM). BBR
contains clock data, latest position data (GNSS orbit data) and module
configuration. But it is not for permanent data storage.
The battery charges automatically when power is supplied to the module and
retains data for two weeks without power. Since the battery retains the clock
and last position data, Time-To-First-Fix (TTFF) is significantly reduced to
1s. This allows much faster position locks. Without battery the GPS is always
cold-started and takes longer for the initial GPS lock.
4.3 Antenna:
The module comes with -161 dBm sensitivity patch antenna for receiving
radio signals from GPS satellites. You can snap-fit this antenna into the small
UFL
31
FIG 4.10 UFL CONNECTOR
The NEO-6M GPS module has total of 4 pins that connect it to the outside
32
(Receiver) pin is used for serial communication.
VCC supplies power to the module. You can connect it directly to the 5V
pin on the Arduino.
Wiring a NEO-6M GPS Module to an Arduino
• Now that we know everything about the module, we can start connecting it to
our Arduino.
• Begin by connecting the patch antenna to the U.FL connector. You can thread
the U.FL cable through one of the mounting holes.
• The module usually comes with unsoldered header pins. So you will need to
solder them first.
• Next, connect the VCC pin to the 5V pin on the arduino and GND to ground.
Finally connect the Tx and Rx pins on the module to digital pins #2 and #3
respectively.
● Node MCU
33
FIG 4.12 Pin diagram of ESP 8266 with various
functionalities
34
constraints are a concern.
● Versatility: NodeMCU boards are highly versatile and can be used for a
wide range of IoT applications, including home automation, sensor
monitoring, robotics, and more. This versatility makes NodeMCU a
flexible platform that can adapt to various project requirements.
The Node MCU board simplifies all this. It is based on ESP-12EModule, there
are a lot of GPIO Pins. Second, there is an on- board 3.3V regulator (remember,
the ESP8266EX SoC works on 3.3V and not on 5V).
So, when ever we try to upload any sketch from Arduino IDE, the CP2102 IC
35
will automatically select the Programming mode and also Resets the board. Once
the programming is done, it configures the ESP8266 back to Normal Running
mode.
Flash Memory/SRAM 4 MB / 64 KB
Analog In Pins 1
UART/SPI/I2C 1 / 1 / 1
36
4.5.2 Description
● ESP8266 Wi-Fi Module Board Layout:
The Node MCU WIFI module comprises of ESP12E chip(the brain of the
module), GPIO pins for easy interfacing, 3.3 Volt Voltage regulator, onboard
LED, USB to serial converter IC, USB port and more.
● Flash button:
The boot or flash button is used while uploading the program. If you hold it
down and press the EN/RST, the ES8266 will restart in flashing/uploading mode.
● Power Pins:
Vin: This pin can be used to power the esp8266 board. Up to 5V can be
supplied to it. The Vin pin can be used to directly supply the Node mcu esp8266
and its peripherals if you have a regulated 5V voltage source. This 5 volt is then
converted to 3.3 volts using a voltage regulator as the esp12e chip requires 3.3V
to operate.
3.3 V: The board has three 3.3V pins. While the 3.3V pin is the output of a
voltage regulator (CP2102), it can be used to power up the external components.
ESP8266 has an inbuilt 10-bit ADC or analog to digital converter with only one
38
ADC channel. In other words, the board has only one analog pin to read the
analog voltage values from external devices like sensors and potentiometers.
This analog pin is marked as A0 on the board as given in the pinout diagram
above.
The esp8266 board has 2 UART interfaces– RX0 and UART0, RX2 and TX0
are used for RX2 and TTX2 are UART1. The UART1 is uploading the
firmware or program.
The esp8266 board has 2 UART interfaces– RX0 and UART0, RX2 and TX0
are used for RX2 and TTX2 are UART1. The UART1 is uploading the
firmware or program.
UART0 Pins:
● U0 TXD (GPIO1)
● U0 RXD (GPIO3)
UART1 Pins:
● U1 TXD (GPIO15)
● U1 RXD (GPIO13)
SPI Pins:
Unlike the three UART interfaces, the Esp8266 Node MCU has only one
set of SPI pins. The SPI protocol requires 4 pins: MOSI, MISO, SCLK,
and CS.
● GPIO 7: MISO
● GPIO 8: MISO
● GPIO 6: SCLK
39
● GPIO 11: CS
I2C Pins:
The ESP8266 does not support any hardware I2C protocol, but it is
possible to implement it in the programming part. So you may use any
GPIO pins as I2C as long as you are aware of the I2C programming. Only
two pins are required for I2C: SDA and SCLK.
● GPIO 4: SDA
● GPIO 5: SCL
PWM Pins:
The board comes with 4 PWM-enabled pins. The PWM output can be
used for driving digital motors and LEDs. PWM pins on the ESP8266
board are GPIO 4, GPIO 12, GPIO 14, and GPIO 15. OR digital pins D2,
D5, D6, and D8.
EN or Enable Pin:
The EN stands for Enable, which enables the esp8266 chip i.e, ESP12E
when pulled high. The chip works at minimum power when the EN pin is
pulled low.
This pin resets the board when pulled low. It works like the onboard reset
button.
Wake Pin(D0):
This pin is used to wake up the esp8266 chip from a deep sleep.
ESP8266 features:
40
• 802.11 b/g/n support
• 802.11 n support (2.4 GHz), up to 72.2 Mbps
• Defragmentation
• 2 x virtual Wi-Fi interface
• Automatic beacon monitoring (hardware TSF)
• Support Infrastructure.
4.6 Integration
41
The ESP8266 board is responsible for receiving data from the GPS
module, processing the data, and sending it to the app via a Wi-Fi or
Bluetooth connection. The NEO-M6 GPS module provides the location
data of the bus, which is then processed by the ESP8266 board to
determine the real-time location of the bus.
The real-time live location that determined by the ESP8266 board is the
sent to google sheets to store the data as latitude & longitude, the google
sheet here acts as the server between the ESP8266 board and the app we
developed.
The latitude & longitude stored in the sheets will get accessed by the app
using google sheets API, then gets processed by the app using the google
maps API which shows the map view in the app.
The app, on the other hand, is responsible for displaying the bus location
data to the user in real-time, providing the user with a convenient way to
track the location of the bus.
42
FIG 4.15 Data Set
43
CHAPTER 5
RESULTS AND DISCUSSION
● Safety Enhancement:
The introduction of the smart tracking app and microcontroller technology
provides several safety enhancements for urban commuters. With real-time bus
tracking and location updates, passengers can accurately predict arrival times
and plan their journeys accordingly, reducing the time spent waiting at bus stops,
especially during late hours. Additionally, the app's notification feature alerts
users about any potential safety hazards or emergencies, enabling them to take
necessary precautions and stay informed while traveling.
● Real-Time Tracking:
The app continuously tracks the GPS data sent by the IoT devices installed
on the buses. This data is transmitted to the server, which stores it in the
MongoDB database. The app periodically fetches the latest location data
from the server and updates the position of the bus markers on the map.
44
● Notification
Our notification system serves as a critical component of our app, offering
commuters timely updates and essential information to enhance their journey
experience. Through intuitive design and efficient delivery mechanisms, the
system ensures that users stay informed about bus arrivals, service disruptions,
and safety advisories in real-time. By facilitating communication between
commuters and transit authorities, the notification system contributes to a
smoother and more reliable public transportation experience. Moving forward,
continued refinement and optimization of the notification system will be
essential to maintain its effectiveness and meet the evolving needs of our users.
The integration of the route map feature in our project has significantly enhanced
the user experience and streamlined journey planning for commuters. By
providing a comprehensive overview of bus routes and stops, users can easily
45
visualize their entire journey trajectory and make informed decisions about
boarding and disembarking locations. This enabling them to navigate the public
transit network with ease. Moving forward, continued optimization and
refinement of the route map feature will be essential to ensure its ongoing
effectiveness and relevance in meeting the evolving needs of our users.
● Missing Things :
The Missing Things feature in our project provides a convenient platform for
users to report lost belongings during their public transportation journeys.
Through the app interface, users can submit details about their lost items,
including descriptions and the bus route where the item was last seen. Transit
authorities can then utilize this information to coordinate retrieval efforts
efficiently. This feature not only enhances the user experience by simplifying the
process of item recovery but also fosters a sense of community responsibility
among passengers.
The Favorite Stop Pinning feature allows users to personalize their commuting
46
experience by easily accessing their most-used bus stops within our app. This
streamlines journey planning, enhances efficiency, and fosters greater user
engagement and satisfaction. By offering convenience and customization, this
feature contributes to a more user-friendly and accessible public transportation
experience.
● Efficiency Improvement:
The implementation of the proposed methodology has led to significant
improvements in the efficiency through features like real-time tracking, users
can optimize their travel routes, reduce wait times, and plan their journeys more
effectively. Additionally, the integration of notification systems ensures timely
updates on bus arrivals and service disruptions, minimizing uncertainty and
enhancing overall travel efficiency.
● Optimising Routes:
By leveraging real-time data and advanced algorithms, our app calculates the
most efficient routes based on factors such as traffic conditions, bus schedules,
and user preferences. This optimization not only reduces travel time but also
47
coupled with a robust notification system, users are promptly informed about
potential hazards or delays, enabling them to adjust their plans accordingly.
Additionally, route optimization features help users avoid congested areas and
minimize travel time, reducing the likelihood of encountering adverse situations.
● Increasing Productivity:
Our app significantly boosts productivity for commuters through several key
features. Real-time updates on bus locations and arrival times minimize wait
times, enabling users to plan their journeys more efficiently and make better use
of their time. Additionally, route optimization tools help users find the fastest
and most convenient travel routes, reducing travel time and increasing overall
productivity. The notification system ensures users stay informed about service
disruptions or delays, allowing them to adjust their plans accordingly and avoid
unnecessary delays.
48
CHAPTER 6
CONCLUSION AND FUTURE WORK
6.1 Conclusion:
Furthermore, our app serves as a catalyst for sustainable mobility, advocating for
the widespread adoption of eco-friendly modes of transportation. Through its
emphasis on public transit and the promotion of efficient travel routes, it
endeavors to mitigate the environmental impact of urban commuting, curbing
emissions, and alleviating traffic congestion. By encouraging commuters to
49
make informed choices and embrace sustainable transportation options, our app
contributes to the collective effort of building a greener, more resilient urban
landscape.
Looking ahead, the journey of our app extends far beyond its initial conception
as a college project. It embodies the spirit of innovation and progress,
continually evolving to meet the ever-changing needs of urban commuters. With
a steadfast commitment to excellence and a vision for a sustainable future, our
app stands poised to leave an indelible mark on the fabric of urban
living,inspiring positive change and shaping the way we navigate the cities of
tomorrow.
50
● Integration of Advanced Ticketing System:
As an integral part of our ongoing efforts to enhance the efficiency and user
experience of our bus tracking application, we are exploring the integration of
two key features: an advanced ticketing system and a crowd-finding feature. The
proposed addition of an advanced ticketing system aims to simplify the process
of ticket purchase and validation, providing passengers with a seamless and
convenient way to access transportation services. Through this feature, users
will have the ability to purchase tickets directly through the app, eliminating the
need for physical tickets or cash transactions. Furthermore, the ticketing system
will support various payment methods and offer real-time validation capabilities,
ensuring compliance with fare regulations and enhancing overall system security.
By incorporating this future enhancement into our bus tracking application,
which already serves as a primary tool for commuters, we aspire to elevate the
standards of convenience and accessibility while optimizing operational
efficiency for transportation authorities.
51
crowd-finding functionality will not only enhance the overall passenger
experience but also promote more efficient utilization of public transportation
resources. Seamlessly integrated with our existing bus tracking app, this feature
will further solidify its position as a comprehensive and indispensable tool for
urban commuters.
52
REFERENCES
[1] Android Developers, n.d.. Location and Sensors. Available from: [2 Apr
2013]
[2] Anson Alexander, 2012. Smartphone Usage Statistics 2012. 24 Jan 2012.
Available from: [2 Apr 2013]
[3] Anson Alexander, 2013. Smartphone Usage Statistics and Trends 2013. 19
Feb 2013. Available from: [2 Apr 2013]
[4] AppBrain, 2013. Number of Available Android Applications. Available from
< http://www.appbrain.com/stats/number-of-android-apps> [18 March 2013] [5]
Arctern, 2011. Iterative & Incremental Development Model. Available from: [28
March 2013]
[6] Asia Pacific University, Bus Tracking System. Available from: [6 March
2013] Bimlendu Roy, n.d, Definition of System Flowchart, Available from: <
http://www.ehow.com/facts_6283102_definition-system-flowchart.html> [26
August 2013]
[7] Cory Janssen, n.d., Iterative and Incremental Development. Available from:
[28 March 2013] Fred Swartz, n.d., Iterative and Incremental Development.
Available from: [28 March 2013].
[8] Fred Zahradnik, n.d.. About.com Guide, Assisted GPS. Available from: [20
March 2013]
[9] GARMIN, n.d. What is GPS?. Available from: [20 March 2013] [10] Huskie
Bus Tracker, n.d.. Northern Illinios University. Available from:
http://huskietracks.niu.edu/DynamicDefault.asp [13 March 2013].
53
PUBLISHMENT
54