0% found this document useful (0 votes)
4 views61 pages

Project Report Final

The document is a project report for the CollBus - College Bus Management System, submitted by students to APJ Abdul Kalam Technological University. It outlines the project's vision, objectives, and implementation details, highlighting its aim to enhance college transportation efficiency through real-time tracking and management. The system utilizes Flutter and Firebase technologies to provide a comprehensive solution for administrators, drivers, and students, ensuring safety and transparency in bus operations.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views61 pages

Project Report Final

The document is a project report for the CollBus - College Bus Management System, submitted by students to APJ Abdul Kalam Technological University. It outlines the project's vision, objectives, and implementation details, highlighting its aim to enhance college transportation efficiency through real-time tracking and management. The system utilizes Flutter and Firebase technologies to provide a comprehensive solution for administrators, drivers, and students, ensuring safety and transparency in bus operations.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

COLLBUS-COLLEGE BUS

MANAGEMENT SYSTEM
A MINI PROJECT REPORT

Submitted by

HARSHAN P V (PKD23CS023)

VISHNU K P (PKD23CS066)

DEEPUMON M S (PKD23CS018)

NIDHIN BABURAJAN (PKD23CS047)

to

the APJ Abdul Kalam Technological University

Department of Computer Science and Engineering


Government Engineering College Sreekrishnapuram, Palakkad
APRIL, 2026
COLLBUS-COLLEGE BUS
MANAGEMENT SYSTEM
A MINI PROJECT REPORT

Submitted by

HARSHAN P V (PKD23CS023)

VISHNU K P (PKD23CS066)

DEEPUMON M S (PKD23CS018)

NIDHIN BABURAJAN (PKD23CS047)

to

the APJ Abdul Kalam Technological University

Department of Computer Science and Engineering


Government Engineering College Sreekrishnapuram, Palakkad
APRIL, 2026
VISION AND MISSION OF THE COLLEGE

VISION

Excellence through the wings of science and technology.

MISSION

To transform youth to talented engineers with creativity and integrity who can
meet the technological challenges for the service of society.

VISION AND MISSION OF THE DEPARTMENT

VISION

To become a Centre of Excellence in Computing and allied disciplines.

MISSION

To impart high quality education in Computer science and Engineering that


prepares the students for
rewarding, enthusiastic and enjoyable careers in the industry, academia and
other organizations.
PROGRAM EDUCATIONAL OBJECTIVES
(PEOs)

PEO1: Apply good analytic, design, and implementation skills required to


formulate and solve computer science problems.
PEO2: Be employed as computer science professionals beyond entry-level
positions.
PEO3: Be able to route their talents in to post graduate and research programs,
promoting remarkable advancements in emerging areas.
PEO4: Demonstrate that they can function, communicate, collaborate and
continue to learn effectively as ethically and socially responsible computer
science professionals.

PROGRAM SPECIFIC OUTCOMES (PSOs)

PSO1: Problem Solving Skills: Ability to design and develop computer


programs and computer based systems of moderate complexity in the areas
pertaining to system software, multimedia, database, networking, artificial
intelligence, web- design and information security.
PSO2: Professional Skills: Ability to apply standard practices and methods in
software project management and software development using suitable
programming environments to deliver quality product for the industry.
DECLARATION

We hereby declare that the project report entitled COLLBUS - COLLEGE


BUS MANAGEMENT SYSTEM submitted by us to the APJ Abdul Kalam
Technological University during the academic year 2025-26 in partial
fulfilment of the requirements for the award of Degree of Bachelor of
Technology in COMPUTER SCIENCE AND ENGINEERING is a record of
bonafide project work carried out by us under the guidance and
supervision of Assistant Prof. RUKSANA N . We further declare that the
work reported in this project has not been submitted and will not be
submitted, either in part or in full, for the award of any other degree or
diploma in this institute or any other University.

HARSHAN P V (PKD23CS023)
VISHNU K P (PKD23CS066)
DEEPUMON M S (PKD23CS018)
NIDHIN BABURAJAN (PKD23CS047)

Place: Sreekrishnapuram
Date: APRIL 02 , 2026
DEPARTMENT OFCOMPUTER SCIENCE AND
ENGINEERING
GOVERNMENT ENGINEERING COLLEGE
PALAKKAD
Sreekrishnapuram, Palakkad-678633

CERTIFICATE
This is to certify that the project report entitled “COLLBUS - COLLEGE BUS
MANAGEMENT SYSTEM” submitted by HARSHAN P V
(PKD23CS023),VISHNU K P (PKD23CS066) ,DEEPUMON M S
(PKD23CS018) ,NIDHIN BABURAJAN (PKD23CS047) to the APJ Abdul
Kalam Technological University in partial fulfillment of the requirements for
the award of the Degree of Bachelor of Technology in Computer Science and
Engineering is a bonafide record of the project work carried out by them under
our guidance and supervision. This report in any form has not been submitted to
any other University or Institute for any purpose.

Guide Head of the Department


RUKSANA N Prof. HELEN K J
Assistant Professor, Dept. of CSE Professor, Dept. of CSE

Project Coordinators
RUKSANA N
MUMTHAS OY
CONTENTS
ACKNOWLEDGEMENT……………………………………………....……..…..i
ABSTRACT……………………………………………………………....…….….ii
LIST OF TABLES……………………………………………………....…..……iii
LIST OF FIGURES………………………………………………...……....…….iv
CHAPTER 1
INTRODUCTION.……………………….…………….…… . . ……….………...1
1.1 Scope……………………….……………….…....……....……….2
CHAPTER 2
LITERATURE SURVEY………………………………….………….....….…….4
2.1 Automated bus logging system………....………………….......... 5
2.2 RFID based student attendance and tracking………….………….5
2.3 SMS based bus alert system…………………..……...……..........6
2.4 Web based static route planner……………..………....……….....7
2.5 Hardware based commercial fleet tracker…………….…………..7
2.6 University transit automation via web……………..…..……........8
CHAPTER 3
PROBLEM STATEMENT……………………………………….………...…....10
3.1 Problem statement …………………..…………...………...........11
3.2 Objectives…………………………………...…....….…….........12
CHAPTER 4
DESIGN……………………………………………….……….....……………….13
4.1 System architecture…………………………………….……......13
4.2 Use Case Diagram…………………………………………….....16
4.3 SystemRequirements……………………………….....................18
CHAPTER 5
WORK PLAN……………………………………………………......……….…..20
5.1 Task Allocation………………………………………….…...….21
CHAPTER 6
IMPLEMENTATION……………………………….…………......…………….22
6.1 Software implementation…………………..……….……….......22
6.2 Deployment ………………………………..………………........26
CHAPTER 7
RESULTS AND DISCUSSION……………………………………...……..........27
7.1 Results……………………………………….………....….….....27
7.2 Discussion…………………………...……….………………....36
CHAPTER 8
CONCLUSION………………………………………………......……………….37
APPENDIX-A…...……………..……………………………......………………..38
A.1 Presentation……………...…………………….………….….....38
APPENDIX-B…...……………..……………………………......………………..43
B.1 Code Snippets………………………………….………….….....43
REFERENCES………………………………………………......……………….47
ACKNOWLEDGEMENTS

We take this opportunity to express our deepest gratitude to everyone who


contributed to the successful completion of our project, Collbus-College Bus
Management System .We would like to express our deep regard to Dr.K R
RAMESH BABU ,the Principal, Government Engineering College, Palakkad
for providing facilities throughout the works of our project.
We take this opportunity to express our profound gratitude to [Link] ,
Head of the Department, Department of Computer Science and Engineering,
Government Engineering College, Palakkad, for providing permission and
availing all required facilities for undertaking the project in a systematic way.
We are extremely grateful to Guide, RUKSANA N , Assistant Professor,
Department of Computer Science and Engineering, Government Engineering
College, Palakkad, who guided us with her kind, ordinary and valuable
suggestions. Her expertise and unwavering support played a significant role in
shaping our ideas into reality. We pay our deep sense of gratitude to Prof.
RUKSANA N and Prof. MUMTHAS O Y project coordinators, Department of
Computer Science and Engineering, Government Engineering College,
Palakkad, for their valuable guidance, keen interest and encouragement at
various stages of the project .We would also like to thank all the teaching and
non-teaching staff of Department of Computer Science and Engineering,
Government Engineering College, Palakkad, for the sincere directions imparted
and the cooperation in connection with the project.
A special thanks to our fellow students, friends, and family members for their
motivation and moral support, which kept us going during the challenges we
encountered throughout this journey.
ABSTRACT

The CollBus (College Bus Management System) is a comprehensive mobile


based solution designed to streamline the management and tracking of college
transportation services. Traditional bus management systems often rely on
manual records, leading to inefficiencies in route planning, driver coordination,
and real-time student updates. This project implements a robust system using
Flutter for cross-platform mobile development and Firebase for real-time
data synchronization, authentication, and cloud storage. The system features
three distinct modules: an Admin Module for managing buses, drivers, routes,
and notifications; a Driver Module for real-time location sharing and trip
management; and a Student Module that provides live tracking and ETA
updates via Google Maps integration. The project aims to enhance the safety,
reliability, and transparency of college bus operations while minimizing the wait
time for students.
LIST OF TABLES

2.1Literature Survey Summary Table....................................................................................... 9


5.1Task Allocation Table……………………….......................................…………………..21
LIST OF FIGURES

4.1Architecture Diagram…………………........................................………………………..15
4.2Use Case Diagram……………………………………………...........................................17
7.1.1 student login screen ………………………………………......................................27
7.1.2 student Home screen………………………………………….................................28
7.1.3 announcement viewing page……………………………….....................................28
7.1.4 live tracking bus screen…………………………………….....................................28
7.1.5 unauthorized access restriction for student login…………… .................................29
7.1.6 real time alert for bus stop notification ……………………….................................29
7.1.7 driver login screen………………………………………........................................29
7.1.8 driver dashboard……………………………………………...................................30
7.1.9 driver dashboard options…………………………….………..................................30
7.1.10 speed monitoring under 40 km/hr…………………….……....................................30
7.1.11 speed monitoring under 60 km/hr………………………….....................................31
7.1.12 speed monitoring over 60 km/hr…………...............................................................31
7.1.13 admin login screen..………………………………………… . . . . . . . . . . . . . . . ..31
7.1.14 admin dashboard..…………………………………………… . . . . . . . . . . . . . . . . .32
7.1.15 manage buses screen.…………………….………………… . . . . . .. . . . . . . . . . . ..32
7.1.16 manage driver screen..…………………………………… . . . . . . . . . . . . . . . . . .…32
7.1.17 manage routs screen..…………………………… . . . . . . . . . . . . . . . . ……………33
7.1.18 route creation……....…………………………………….........…….........................33
7.1.19 add stops screen………………………………………………..................................33
7.1.20 manage announcement screen..……………………………… . . . . . . . . . . . . . . . . . 34
7.1.21 manage trip history ..………………………………………… . . . . . . . . . . . . . . . . .34
7.1.22 firestore dataschema.………………………………………… . . . . . . . . . . . . . . . . .35
7.1.23 firebase user auth details…..…………………………………..................................35

0
CHAPTER 1

INTRODUCTION

In the modern educational environment, safe and efficient campus


transportation is a critical pillar of institutional infrastructure. Traditionally,
college bus systems have relied on manual coordination and legacy
communication methods, often leading to unpredictable wait times and
administrative bottlenecks. To modernize this transit experience, CollBus was
developed as a sophisticated, real-time management ecosystem. Built using
the Flutter framework and Firebase cloud services, the platform provides a
unified interface for administrators, drivers, and students. By integrating high-
precision GPS tracking and automated routing logic, CollBus ensures that
campus transit is not only reliable but also transparent, providing stakeholders
with instant visibility into bus locations and estimated arrival times.

1
1.1 SCOPE

The CollBus (College Bus Management System) is designed to serve as an


all-in-one campus transit monitoring and fleet management system tailored for
educational institutions. Its scope encompasses a wide range of functionalities,
stakeholders, and potential use cases, making it an essential tool for modern
academic logistics.
At its core, the system allows administrators to securely manage the entire
transportation fleet by providing functionalities to add, edit, and update bus and
driver details with ease. The system replaces conventional manual processes—
such as phone-call coordination and paper logs—with a digital interface,
significantly reducing time consumption and minimizing errors in route
management. Administrators can also broadcast real-time announcements to
specific routes, allowing for instantaneous communication regarding delays or
schedule changes.
For drivers, the system offers a streamlined 'Driver Module' that automates trip
management. By utilizing high-precision GPS location streaming, drivers can
share their real-time coordinates with the entire campus community without
manual intervention. The integration of automated routing logic, including the
'2PM Rule' for returning trips, ensures that drivers follow the correct stop
sequence regardless of the trip direction, enhancing The CollBus (College Bus
Management System) is designed to serve as an all-in-one campus transit
monitoring and fleet management system tailored for educational institutions.
Its scope encompasses a wide range of functionalities, stakeholders, and
potential use cases,making it an essential tool for modern academic
[Link] accuracy and efficiency.
For students and parents, the system provides real-time access to bus locations
through an intuitive, role-based mobile portal. This increases transparency and
reduces the 'uncertainty factor' associated with daily commutes. The visual map

2
interface, powered by Google Maps SDK, makes it easy for users to see the
bus's progress and estimate arrival times (ETA) at their specific stops.
Proximity-based notifications further ensure that students are alerted before the
bus arrives, minimizing wait times in varied weather conditions.
The platform’s architecture ensures data integrity and security by using
Firebase Authentication and backend Firestore validation. It supports real-time
synchronization, which is critical for transit applications where even a few
seconds of delay can lead to outdated location data. The use of Geofencing
and TSP (Traveling Salesperson Problem) based stop sorting ensures that
routes are optimized for the shortest possible travel time.
From a technical perspective, the system utilizes Flutter (Dart) for the front
end, ensuring a consistent cross-platform experience on both Android and iOS.
Firebase Firestore handles the backend logic and real-time database
management, while Google Maps API provides the foundational spatial
analytics. With a design language focused on modern aesthetics and
responsiveness, the application ensures a premium experience across all
devices.
Furthermore, the scope extends beyond its current functionality with planned
future enhancements, including:
- AI-driven Route Optimization: Using machine learning to predict traffic
patterns and suggest the fastest routes.
- Smart Attendance Integration: RFID or QR-based student entry to track bus
occupancy and passenger safety.
- Integrated Fee Management: Allowing students to pay transportation fees
directly through the mobile interface.

In summary, CollBus not only addresses current challenges in college bus


management but also lays a strong foundation for scalable and intelligent
campus transit systems in the future.

3
CHAPTER 2

LITERATURE SURVEY

With the growing emphasis on smart campus infrastructure, the need for
automated and real-time transit management systems has gained significant
momentum. Traditional methods of coordinating college bus fleets often
involved manual scheduling, phone-call-based tracking, and subjective
interpretation of arrival times, which were time-consuming, inefficient, and
prone to human error. Over the years, educational institutions have begun
shifting toward digital platforms that offer streamlined, real-time visibility into
vehicle movements and student transit patterns. Early transit systems focused on
basic GPS logging and historical route analysis, while more recent
developments have introduced interactive live-tracking dashboards that present
real-time insights through maps, ETA counters, and dynamic markers. These
systems not only help administrators monitor fleet performance but also assist in
ensuring student safety and reducing wait times, enabling a more organized and
stress-free commute.
Research in this domain has emphasized the integration of technologies such as
real-time NoSQL databases for low-latency data synchronization, along with
cross-platform mobile frameworks for consistent user experiences across
different device ecosystems. Several studies have also highlighted the
importance of 'user-centric' design in transit applications, ensuring that maps
and notifications provide clarity and ease of use for both drivers and students.
Platforms have been developed that track vehicle location, calculate estimated
times of arrival (ETA), and evaluate route adherence to enhance institutional
decision-making and operational reliability. The evolution of these systems
reflects the growing awareness of leveraging spatial data and cloud
infrastructure to foster campus excellence and student well-being. The insights

4
gained from previous research in GPS-based tracking and cloud-synced
applications have significantly influenced the design and development of
CollBus , which aims to provide a comprehensive, intuitive, and reliable
platform for college transportation management.

5
2.1: Automated Bus Logging System

Authors: Narayanan & Menon (2021)


This paper presents the development of a basic Excel-based bus arrival and
departure logging system aimed at simplifying campus transit records. The
system records timestamps of buses at specific checkpoints, offering institutions
a digital alternative to manual logbooks. While it effectively reduces the manual
workload for security staff and ensures consistency in record-keeping, the
system lacks real-time tracking, student-facing interfaces, and live GPS updates.
Its reliance on manual entry at checkpoints limits its usefulness for students
waiting at intermediate stops.
How Our Project is Better:
CollBus advances this concept by using a Firebase-based cloud database for
real-time GPS streaming. Instead of waiting for a bus to pass a checkpoint,
students can monitor the bus's live location on a map. The system supports
automated ETA calculation and proximity alerts, making it significantly more
useful for daily commuters than a static logging system.

2.2: RFID-based Student Attendance and Tracking

Authors: Priyanka et al. (2020)


This paper explores the development of an RFID-based system designed to
track student entry and exit from college buses. By scanning ID cards, the
system logs which students are on board and provides parents with basic
notifications. The localized nature of the tracking ensures passenger
accountability. However, the system lacks broader route management
capabilities and does not provide any information regarding the current location
of the bus or its progress toward the next stop.
How Our Project is Better:

6
CollBus shifts the focus from simple boarding logs to high-precision fleet
management. It enables users to see the bus's exact position on Google Maps ,
offering a broader understanding of the trip's progress. The system includes
visual representations of the entire route and all stops, supporting strategic
planning for administrators and providing much-needed clarity for students
waiting at distant locations.

2.3: SMS-based Bus Alert System

Authors: Ananthakrishnan & Soni (2022)


This paper introduces a system developed to send SMS alerts to students when a
bus reaches a specific geofenced area. The system aims to notify students to
prepare for boarding. While functional for basic alerts, the system lacks
interactivity—users cannot see the bus's real-time movement or check if a bus
has already passed. Additionally, the recurring cost of SMS gateways makes it
expensive for large-scale institutional use.
How Our Project is Better:
CollBus addresses these limitations by using Firebase Cloud Messaging
(FCM) for free, instant push notifications. It also supports interactive maps
where users can see the bus moving in real-time, rather than relying on a single
text alert. The system dynamically updates the student's view based on the bus's
current speed and traffic conditions, offering a much more reliable and cost-
effective solution.

2.4: Web-Based Static Route Planner

Authors: Rajasekaran et al. (2021)


This paper presents the development of an online portal designed to display
static bus schedules and route maps for university students. The system
7
simplifies the process of finding out which bus goes to which area. However,
the portal is limited in its analytical scope—it does not support real-time
adjustments for delays, nor does it provide tools for managing driver shifts or
tracking vehicle maintenance.
How Our Project is Better:
CollBus expands on this concept by offering dynamic route management and
live tracking. The system allows administrators to reassign drivers and buses in
real-time, with updates reflecting instantly on student apps. It also incorporates
the '2PM Rule' for automated route reversal, ensuring that the return leg of a
journey is handled correctly without manual scheduling changes.

2.5: Hardware-based Commercial Fleet Tracker

Authors: Venkatesh & Iyer (2019)


This paper discusses the implementation of a fleet management platform
focused on integrating third-party GPS hardware into a central dashboard.
While effective for monitoring vehicle health and fuel consumption, these
systems are primarily built for logistics companies and lack student-centric
features like stop-wise alerts, announcement boards, and a role-based mobile
interface for common users.
How Our Project is Better:
CollBus enhances functionality by offering a tailored experience for the college
community. Instead of needing expensive external hardware, it can use the
Driver’s smartphone as the tracking device, reducing infrastructure costs. It
features real-time announcement lists, customized student views, and integrated
administrative tools designed specifically for the unique needs of educational
transportation.

8
2.6: University Transit Automation via Web

Authors: Murugan & Siddiqui (2022)


This paper outlines the development of a web-based automated system aimed at
generating reports for university bus usage. The system organizes data in a
tabular format for better administrative review. However, it lacks a dedicated
mobile experience and any form of visual or map-based analytics, limiting its
usefulness for drivers and students on the move.
How Our Project is Better:
CollBus goes beyond reporting by providing a dedicated Flutter-based
mobile application all stakeholders. It integrates graphical map visualizations,
which offer clearer and more intuitive insights into transit outcomes.
Furthermore, the system supports real-time location streaming and ETA
calculation, helping stakeholders monitor progress and implement data-driven
improvements effectively.

9
Paper Authors Technology Advantage Dis -
name advantage

Automated Narayanan & Excel-based Digital No real-


Bus Menon (2021) Calculation records time
Logging storage tracking or
student
System interface
RFID- Priyanka et al. RFID-based High Lacks route
based (2020) Logging passenger progress
Student accountability and map
visibility
Tracking

SMS-based Ananthakrishnan SMS Notifies High


Bus Alert & Soni (2022) Gateway students for gateway
System boarding costs; no
interactive
map
Web-Based Rajasekaran et Static Web Clear route No updates
Static al. (2021) Portal and stop for delays
Route reference or driver
shifts
Planner

Hardware- Venkatesh & External GPS Detailed High


based Fleet Iyer (2019) Hardware vehicle health hardware
Tracker data cost; lacks
student
focus
University Murugan & Web-based Structured Lacks
Transit Siddiqui (2022) Report administrative interactive
Automation Engine reports mobile app
and map
via web

Table 2.1:literature survey summary

10
CHAPTER 3

PROBLEM STATEMENT

In many educational institutions, the process of managing and monitoring


campus transportation remains largely manual or fragmented. Transit
coordinators often rely on phone-call-based tracking, verbal communication,
and paper-based logs to record bus arrivals and departure times. These methods
are inherently time-consuming, prone to human error, and lack real-time
scalability. Furthermore, students and faculty face significant difficulty in
estimating wait times at bus stops due to the absence of a centralized, interactive
tracking interface .Additionally, traditional transit management systems often
do not offer features like live GPS visualization, automated route sequence
management, or instant administrative announcements. This lack of data-driven
insight limits the ability of administrators to monitor driver adherence to routes,
identify traffic-based delays early, and ensure the overall safety and efficiency
of the fleet. The 'uncertainty factor' associated with daily commutes leads to
wasted study time and increased anxiety for the student population .There is a
clear need for a centralized, user-friendly platform that can automate transit
management, provide secure and role-based access, and present real-time bus
locations in a visually intuitive manner. A system that supports sub-second GPS
synchronization, automated trip logging, and easy accessibility via mobile
devices for all stakeholders can significantly enhance the campus transit
experience .The CollBus (College Bus Management System) project
addresses this gap by offering a Cloud-synced, mobile-first solution that
simplifies transit monitoring, ensures data transparency, and delivers precise
location visualizations—empowering administrators, drivers, and students to
make informed, data-driven decisions regarding their daily commute.

11
3.1 PROBLEM STATEMENT

Manual transit management in colleges is time-consuming, inefficient, and lacks


real-time visibility. Students and faculty often face unpredictable wait times at
bus stops due to the absence of accurate arrival data and communication gaps.
There is a critical need for a digital solution that automates bus tracking, ensures
secure role-based access, and provides a clear, real-time visual interface to
enhance the safety and efficiency of the campus transportation system.

12
3.2 OBJECTIVES

[Link] Transit Monitoring: Eliminate manual coordination and the


reliance on phone calls by enabling high-precision, real-time GPS streaming
directly from the driver’s device.
[Link] Secure Role-Based Access: Implement a robust authentication
system with dedicated interfaces for Admins, Drivers, and Students to ensure
data privacy and operational control.
[Link] Real-Time Transparency :Offer high-fidelity live tracking on a
Google Maps interface, providing students and parents with sub-second
synchronization and accurate bus positioning.
[Link] Route Management: Simplify complex fleet operations by
integrating intelligent routing logic, such as the automated '2PM Rule' for
returning trips and stop sequence optimization.
[Link] Instant Communication: Facilitate a real-time announcement system
that allows administrators to broadcast instantaneous updates regarding traffic
delays, route changes, or emergency notification.

13
CHAPTER 4

DESIGN

This chapter presents the structural, visual, and functional design of the CollBus
(College Bus Management System)-- an intelligent platform developed to
streamline the monitoring, coordination, and transparency of campus
transportation. The system is intended to support educational institutions in
transitioning from manual, phone-based transit records to a more automated,
real-time, and visually driven management framework.
The design is focused on improving both operational usability for drivers and
transit transparency for students. It incorporates key software engineering
principles such as reactive cloud architecture, modular system design, high-
precision GPS sync, and data integrity , ensuring that the system can adapt to
different route structures, fleet sizes, and institutional policies.

Key features include:


[Link]-time GPS Synchronization: Automated location sharing from driver
devices to a centralized cloud backend.
[Link] Mapping: Visual representation of bus routes, stops, and live
positions on a high-fidelity map.
[Link] Routing Logic: Automated '2PM Rule' and stop-sequence
optimization for consistent trip management.
[Link] Notification Ecosystem: Proximity alerts and administrative
announcements to keep all stakeholders informed.

14
4.1 SYSTEM ARCHITECTURE

The CollBus (College Bus Management System) is built using a modular


and layered architecture that ensures real-time data consistency, low-
latency processing, and a high-fidelity user experience. The system includes
three primary modules:
1. Input Module
-User Authentication: A secure authentication layer powered by
Firebase Auth provides role-specific access (Admin, Driver, Student) to
features like route management and live tracking.
-GPS Location Streaming: The system continuously fetches high-
precision coordinates from the driver’s device using the Geolocator API,
ensuring a steady stream of incoming transit data.
2. Processing Module
Real-Time Data Engine: This cloud-based component, hosted on Firebase
Firestore, validates and synchronizes incoming GPS data at sub-second
intervals, maintaining a 'Single Source of Truth' for all users.

Intelligent Routing Logic: Performs real-time stop sorting and trip direction
analysis, including the automated `2PM Rulefor returning trips, ensuring
navigational accuracy without manual input

15
[Link] Module
-Real-Time Tracking Dashboard: An interactive Google Maps interface
that visually renders the live location of buses, route polylines, and
proximity markers.
-Notification & Announcement Feed: Auto-generates proximity alerts
when a bus enters a geofenced area and delivers instant administrative
announcements to specific route subscribers.

Figure 4.1: Architecture Diagram

16
4.2 USE CASE DIAGRAM

Actors:
[Link] Administrator: Responsible for managing the infrastructure,
including routes, buses, and driver assignments.
[Link]: Responsible for initiating trips and providing real-time location
data.
[Link] (User): The primary consumer of the transit data, focused on
tracking and notifications.

Use Cases:
1. Secure Login
- Actors: Admin, Driver, Student
- Description: Provides role-based access to the dedicated mobile or web
interface.
2. Manage Routes & Buses
- Actor: System Administrator
- Description: Enable administrators to create, modify, or retire bus
routes and vehicle information.
3. Assign Drivers
- Actor: System Administrator
- Description: Designate specific drivers to routes based on schedule
requirements.
4. Broadcast Real-Time Announcements
- Actor: system Administrator
- Description: Send instantaneous notifications regarding delays, route
changes, or emergencies.

17
5. Start/End Trip
- Actor: Driver
- Description: Controls the status of a bus journey, initiating the live-
tracking stream.
6. Stream Live GPS Location
- Actor: Driver
- Description: Continuous broadcasting of high-accuracy coordinates to
the Firestore cloud.
7. Live Track Bus & View ETA
- Actor: Student
- Description:High-fidelity map interaction to monitor bus progress and
estimated arrival times.
8. Search Routes & Stops
- Actor: Student
- Description: Query the database for specific route paths and stop
locations.

Figure 4.2: Use Case Diagram

18
4.3 SYSTEM REQUIREMENTS

To ensure the optimal performance and seamless integration of all modules in


the CollBus (College Bus Management System), the following hardware and
software requirements have been identified:

[Link] Requirements
The frontend is responsible for the user interface, real-time map interaction,
and role-based portals. It is developed using a cross-platform approach for
high accessibility.
Frameworks & Technologies:
Flutter SDK:For building natively compiled, cross-platform mobile
applications.
Dart: The underlying programming language for high-performance UI
components.
Key Libraries:
Google Maps Flutter:For rendering interactive maps and real-time markers.
Firebase Core & Firestore:For reactive data synchronization and cloud
connectivity.
Geolocator: For accessing high-accuracy GPS coordinates on mobile devices.

Mobile Device Support:


Android: Version 5.0 (API level 21) or higher.
iOS:Version 12.0 or higher.
Screen Optimization: Responsive design for various smartphone screen sizes
(4.7" to 6.7").

19
[Link] & Cloud Requirement
The backend utilizes a serverless, cloud-native approach to handle real-time
synchronization, authentication, and push notifications.
Cloud Platform:Firebase (Google Cloud Platform)
Database Management:Cloud Firestore (NoSQL) – for low-latency, real-
time JSON-based data storage.
Authentication Service:Firebase Auth – for secure, role-based user
management.
Messaging System:Firebase Cloud Messaging (FCM)– for broadcasting
real-time Announcements.
External APIs:Google Maps Platform SDK – for spatial analytics and route
visualization.

[Link] System Requirements (Recommended)


Operating System:Windows 10/11, macOS Big Sur+, or Ubuntu 20.04+.
Integrated Development Environment (IDE):VS Code with Flutter/Dart
extensions or Android Studio.
Minimum Hardware:
RAM:8 GB (16 GB for simultaneous emulator use).
Processor:Intel Core i5 / AMD Ryzen 5 or higher.
Connectivity: Stable High-Speed Internet Connection.

20
CHAPTER 5

WORKPLAN

This chapter outlines the structured methodology adopted for the development
of the CollBus (College Bus Management System). It details the various
phases of implementation, systematic task distribution among team members,
and a timeline for efficient project execution. The goal was to ensure smooth
collaboration, timely delivery, and quality assurance throughout the
development lifecycle.

5.1 TASK ALLOCATION

Efficient task allocation is crucial to streamline workflow and ensure that each
team member contributes according to their expertise. The responsibilities were
delegated as follows:

21
TASK Nidhin Deepu Harshan Vishnu

Literature Flutter ui Firebase Backend Gis’s &


Survey integration backend integration Mapping
service Api’s

Formulation & Done Done Done Done


Objectives
Design UI/UX Database System Api &
Design schema architecture Workflow
design Design
Preliminary Done Done Done Done
Analysis
Phase 1 Done Done Done Done
Report
Implementat Frontend Firestore Backend & G-map api
ion UI management logic Service &
component integration Map
s integrarion

Phase 2 Done Done Done Done


Report

Table 5.1: TaskAllocationTable

22
CHAPTER 6

IMPLEMENTATION

This chapter elaborates on the actual implementation process of the CollBus


(College Bus Management System), focusing on frontend and backend
development, cloud-native database management, authentication systems, and
deployment procedures. Each subsection outlines the tools, frameworks, and
methods used to bring the platform to life—ensuring a scalable, real-time, and
user-centric experience for the college community.
6.1 SOFTWARE IMPLEMENTATION
6.1.1 FRONTEND DEVELOPMENT (Flutter)
The frontend is responsible for the user interface and real-time interaction layer.
It is developed using the Flutter SDK to ensure a high-performance, natively
compiled experience across Android and iOS, providing a seamless multi-role
portal for students, drivers, and administrators
Technologies Used
• Dart:A client-optimized language for fast apps on any platform, used for
the core business logic.
• Flutter SDK: A UI toolkit for crafting beautiful, natively compiled
applications from a single codebase.
• Google Maps SDK for Flutter: For rendering interactive maps and
managing spatial data (markers, polylines).
• Provider: For efficient, reactive state management across complex
widget trees.
• Firebase UI & Core: For pre-built, secure authentication forms and
reactive cloud connectivity.

23
Key Features Implemented
• Multi-Role Portals: Distinct, role-based dashboards optimized for the
specific needs of Students, Drivers, and Administrators.
• Interactive Live Tracking Map: A synchronous map experience with
high-accuracy bus markers that update in real-time without manual
refresh.
• Route Visualizer: Dynamic rendering of route paths using Google Maps
polylines, including labeled stops and stop-ordering logic.
• Cloud Announcement System: A responsive interface for broadcasting
and viewing real-time administrative alerts via push notifications.
• Spatial ETA Indicators: Real-time distance and time-to-arrival
calculations displayed directly on the student tracking interface.
• Responsive Material 3 Design: A modern, visual-driven UI that adapts
to various smartphone screen sizes and aspect ratios

24
Design Focus
• Modern Professional UI: A clean, trust-focused interface utilizing a
professional blue and white colour palette.
• Intuitive Navigation: Custom-designed icons and layout optimized for
mobile-first transit monitoring.
• Real-time Map Integration: High-FPS synchronization of bus markers
and route polylines using reactive listeners.

6.1.2 BACKEND & CLOUD NATIVE DEVELOPMENT


The backend serves as the core intelligence of the system, handling real-time
data synchronization, secure authentication, and spatial data processing. It is
built on a serverless, cloud-native architecture for maximum scalability and
reliability.
Technologies Used
• Firebase Firestore: A NoSQL, real-time document database used for
reactive and low-latency data streaming.
• Firebase Authentication: For managing role-based access control
(RBAC) and secure identity verification.
• Firebase Cloud Messaging (FCM): For broadcasting high-priority
announcements and trip status alerts.
• Google Maps Directions API:For precise path calculation and route
snapping during implementation.

Database Design
• drivers: Stores driver profiles, contact information, authentication status.
• buses: A high-frequency collection for real-time bus locations
(latitude/longitude), current driver IDs, and active trip status.

25
• routes: Defines the geometric and logical structure of bus routes,
including stop sequences and polyline strings.
• announcements:campus-wide transit alerts and important driver/admin
broadcasts for push notifications.
• trip_history: Chronological archival of completed trips, including actual
start/end times and calculated durations for future analytics.

Backend Features

• Real-time Synchronization: Utilizes Firestore `snapshots()` to stream


GPS coordinates from drivers to students with sub-second latency.
• Role-Based Security Rules: Server-side security logic ensuring that only
authenticated drivers can write to active trips and students have read-only
access.
• Automated Push Notifications: Trigger-based broadcasts utilizing
Cloud Messaging for instant delivery of announcements across the user
base.
• Spatial Calculation Engine: Logic for computing distance-to-stop and
estimated time of arrival (ETA) based on dynamic live coordinates.
• Session Management: Secure, persistent authentication tokens for a
unified and seamless user experience across app restarts.

Integration Workflow

The integration workflow outlines the end-to-end data lifecycle and


communication between the Flutter client and the Firebase cloud ecosystem:

26
1. User Login: The user selects their role and enters credentials via the
Flutter-based Role Selection and Login screens.
2. Authentication: Firebase Authentication validates the input, establishes a
secure session, and identifies the user's specific role and permissions.
3. Real-time Data Streaming: Upon successful login, the app initializes
Firestore Listeners (`snapshots()`) to establish a reactive link with the
buses and routes collections.
4. Map Rendering: The Google Maps SDK receives the real-time
coordinate stream and dynamically updates the bus marker position and
route polylines on the tracking interface.
5. Reactive UI Update: Local State Management (Provider) synchronizes
the incoming data with the UI, updating ETAs, announcement popups,
and trip status indicators without requiring a manual refresh.

27
6.2 DEPLOYMENT & TESTING

6.2.1 MOBILE APP DEPLOYMENT(ANDROID / APK)


The CollBus application is currently deployed for evaluation via the Android
Debug Bridge (ADB) and distributed as a Release APK for installation on
physical Android devices. This staged deployment allowed for real-world
testing of GPS accuracy and UI responsiveness. Future deployment plans
involve the Google Play Store for seamless institutional distribution.

6.2.2 CLOUD INFRASTRUCTURE DEPLOYMENT


Unlike local-server setups, the CollBus backend is deployed on the Google
Cloud Platform (GCP) via the Firebase Console . This cloud-native
deployment ensures high availability (Always-On), automatic scaling for high
user traffic, and global accessibility for students and staff without the need for
locally hosted hardware.

6.2.3 TESTING AND MONITERING


The system underwent a multi-stage testing process to ensure enterprise-grade
reliability:
Unit Testing: Verified core mathematical logic, such as distance-to-stop and
ETA calculation formulas.
Integration Testing: Validated the sub-second synchronization between the
Driver’s location streaming and the Student’s tracking interface.
User Acceptance Testing (UAT): Conducted with a sample group of college
students and drivers to ensure intuitive navigation and UI efficiency.
Real-time Monitoring: Monitored via the Firebase Console for data
throughput and potential latency, ensuring a smooth end-to-end user experience.

28
CHAPTER 7

RESULTS AND DISCUSSION

This chapter evaluates the performance of the CollBus (College Bus


Management System) by analyzing outcomes, accomplishments, and the
challenges encountered during its development and implementation. The system
was developed to assist the college community in monitoring transit in real-time
through an intuitive, user-friendly mobile interface. This evaluation emphasizes
how each module contributed toward building a reliable and responsive transit
management platform.

7.1.1 RESULTS
The CollBus system successfully met its objective of providing an accessible
and efficient platform for real-time bus tracking and communication. The
system effectively executed all core functionalities, and the following key
outcomes were observed:
• Live Tracking Interface: High-precision map markers synchronized
with bus movement (sub-second latency).
• Multi-Role Accessibility: Seamless dashboard transitions for Students,
Drivers, and Admins across Android devices.
• Interactive Visualization Module: Dynamic maps and route polylines
providing a clear spatial representation of transit paths.
• Instant Communication Flow: Administrative announcements
successfully broadcasted and received via push notifications.
• High-FPS Map Synchronization: The tracking interface remained fluid
and reactive without manual refresh.

29
Screenshots:

Figure 7.1.1: student login screen Figure 7.1.2: student home -screen

Figure 7.1.3: announcement viewing screen Figure 7.1.4 :live tracking of buses

30
Figure 7.1.5: unauthorized access restriction Figure 7.1.6: real time alert for bus stop
for student login notification

Figure 7.1.7 driver login screen Figure 7.1.8 driver dashboard

31
Figure 7.1.9 driver dashboard options Figure 7.1.10: speed monitoring under 40
km/hr

Figure 7.1.11:speed monitoring under 60 Figure 7.1.12:speed monitoring over 60


km/hr km/hr

32
Figure 7.1.13:admin login screen Figure 7.1.14:admin dashboard screen

Figure 7.1.15:manage buses screen Figure 7.1.16:manage drivers

33
Figure 7.1.17:manage routes screen Figure 7.1.18 : route creation screen

Figure 7.1.19:add stops screen Figure 7.1.20:manage announcement


screen

34
Figure 7.1.21:manage trip history

35
DATABASES

Figure 7.1.21:Firestore data schema

Figure 7.1.22:Firebase user authentication

36
7.2 DISCUSSION

The implementation of CollBus demonstrated the transformative value of real-


time cloud-native architectures in optimizing campus transit. The integration of
Firebase Firestore's reactive streams with the Google Maps SDK proved
that precision location coordination can be achieved with sub-second latency,
significantly reducing the "waiting anxiety" associated with traditional,
scheduled-only transit systems.

Some challenges encountered during the development included:


• GPS Signal Jitter: Resolving "jumping" map markers caused by varying
mobile signal strength on moving buses in high-density campus areas.
• Battery Optimization: Balancing the high-frequency location updates
required for tracking accuracy with the power consumption constraints of
driver mobile devices.
• Complex Polyline Snapping: Ensuring that the rendered route path
accurately followed road geometries rather than drawing straight lines
between stops.

To address these issues, the following mitigations were implemented:


Marker Smoothing: Implemented local interpolation and animation logic to
ensure fluid marker movement on the student interface.
Dynamic Broadcast Intervals: Optimized the background location frequency
based on vehicle velocity to preserve battery life during stationary periods.
Directions API Integration: Utilized path-snapping algorithms to ensure the
route polylines precisely reflect actual road paths.

37
CHAPTER 8

CONCLUSION

The CollBus campus transit coordination at the institutional level. By leveraging


a high-performance stack of Flutter, Firebase, and the Google Maps SDK, the
system provides a high-fidelity, real-time platform that eliminates the traditional
guesswork and manual coordination previously associated with student bus
travel. This tool effectively bridges the information gap between college
administrators, bus drivers, and students by providing a centralized, reactive,
and transparent interface for monitoring active transit trips. Through core
features such as sub-second GPS synchronization, multi-role reactive
dashboards, and instant cloud-based announcement broadcasting , the system
empowers administrators to manage fleets with unprecedented efficiency while
providing students with the certainty and safety of live tracking. The successful
implementation of these modules demonstrates how modern mobile
technologies can be synthesized into a robust solution for complex institutional
logistics. Critical engineering hurdles, including GPS marker smoothing,
asynchronous cloud-native architecture, and mobile battery optimization, were
successfully navigated, resulting in a stable, enterprise-grade application.
Furthermore, the modular, provider-based architecture ensures that the system is
future-proof, allowing for the seamless integration of next-generation
enhancements such as AI-driven ETA predictions, QR-scanning for secure
boarding, and automated ridership analytics. In summary, CollBus not only
reduces the operational overhead and coordination frictions of campus logistics
but also transforms raw spatial data into meaningful, actionable insights,
fostering a safer, more predictable, and technologically advanced environment
for the college community. With continued development, CollBus holds the

38
potential to become an essential standard for academic institutions striving for
excellence in student transit.

39
APPENDIX-A

A.1 PRESENTATION

40
41
42
43
44
APPENDIX-B

B.1 CODE SNIPPETS

[Link] data analysis & duration calculation

This snippet demonstrates how the system calculates trip durations and validates
trip integrity before saving to the 'trip_history' collection, mirroring the complex
analytics logic required for institutional reporting.
‘’’Dart
Future<void> _finalizeTripRecord(String tripId, DateTime startTime) async {
final endTime = [Link]();
final durationInMinutes = [Link](startTime).inMinutes;
if (durationInMinutes >= 10) {
// Valid trip: Update Firestore with final analytics
await [Link]
.collection('trip_history')
.doc(tripId)
.update({
'endTime': [Link](),
'duration': durationInMinutes,
'status': 'Completed',
});
debugPrint('Trip Analytics Saved: $durationInMinutes mins');
} else {
// Discard outlier/invalid data (trips less than 10 mins)
await [Link]
.collection('trip_history')
.doc(tripId)
45
.delete(); } }```
2. Fleet Monitoring & Automated Directional Detection

This logic provides 'Admin/Faculty View' capabilities, automatically


determining transit directionality based on spatial proximity to verify route
adherence.

```dart
void _autoUpdateDirection(double lat, double lng, Map start, Map end) {
final distToStart = [Link](lat, lng, start['lat'], start['lng']);
final distToEnd = [Link](lat, lng, end['lat'], end['lng']);

// Morning: TO_COLLEGE, Evening: FROM_COLLEGE (Peak hours)


final timeBasedDir = [Link]().hour >= 14 ? 'FROM_COLLEGE' :
'TO_COLLEGE';

String detectedDir = timeBasedDir;


if (distToEnd < 300) detectedDir = 'FROM_COLLEGE';
else if (distToStart < 300) detectedDir = 'TO_COLLEGE';

// Efficient write: Only update if state actually changed


if (detectedDir != _lastDirection) {
[Link]('buses').doc(busId).update({
'direction': detectedDir
});
}
}
```

46
3. Real-time Student Tracking & Map Synchronization

This snippet demonstrates the reactive 'Individual Tracking View' for students,
utilizing Firestore snapshots to update the Google Maps UI with sub-second
latency.

```dart
void _listenToBusUpdates() {
_busSubscription = [Link]
.collection('buses')
.snapshots()
.listen((snapshot) {
if (!mounted) return;
final Set<Marker> newMarkers = {};

for (var doc in [Link]) {


final busData = [Link]();
if (busData['location'] != null) {
final GeoPoint loc = busData['location'];
[Link](Marker(
markerId: MarkerId([Link]),
position: LatLng([Link], [Link]),
icon: _customBusIcon,
infoWindow: InfoWindow(title: 'Bus ${busData['busNumber']}'),
));
}
}

47
setState(() {
_markers.clear();
_markers.addAll(newMarkers);
});
});
}
```

48
REFERENCES

[1] Flutter Team. (n.d.). Flutter documentation: Build apps for any screen.
Retrieved from [Link]

[2] Firebase by Google. (n.d.). Firebase documentation: Build and run apps that
users love. Retrieved from [Link]

[3] Google Maps Platform. (n.d.). Google Maps SDK for Flutter. Retrieved
from [Link]

[4] Material Design. (n.d.). Material Design 3 guidelines for cross-platform UI.
Retrieved from [Link]

[5] Kumar, S., & Reddy, P. (2021). Real-time vehicle tracking and route
optimization using NoSQL cloud databases. International Journal of Mobile
Computing and Grid Networks, 12(4), 45–52.
[Link]

[6] Chen, L., & Wright, J. (2022). Leveraging Firebase for high-concurrency
mobile transit systems. In Proceedings of the IEEE International Conference on
Cloud Computing (pp. 312–320). IEEE Xplore.
[Link]
[7] [Link]. (n.d.). Dart programming language documentation. Retrieved from
[Link]

[8] Gamma Technologies. (2025). Gamma: Visual storytelling platform for


project presentations. Retrieved from [Link]

49

You might also like