πŸ“ž +91-7667918914 | βœ‰οΈ ijarcce@gmail.com
International Journal of Advanced Research in Computer and Communication Engineering
International Journal of Advanced Research in Computer and Communication Engineering A monthly Peer-reviewed & Refereed journal
ISSN Online 2278-1021ISSN Print 2319-5940Since 2012
IJARCCE adheres to the suggestive parameters outlined by the University Grants Commission (UGC) for peer-reviewed journals, upholding high standards of research quality, ethical publishing, and academic excellence.
← Back to VOLUME 15, ISSUE 11, NOVEMBER 2026

Design and Implementation of an IoT-Based Student Bus Tracking System Using ESP32, MQTT and FastAPI

Mrs. Jayashuba J, Dhatri Muppuri, Raavi Pranitha, Ragipati Supriya

πŸ‘ 1 viewπŸ“₯ 0 downloads
Share: 𝕏 f in ✈ βœ‰
Abstract: Students who depend on college buses often lack timely information about where the bus is and when it reaches their stop. This paper presents an IoT-based student bus-tracking system that com-bines an ESP32 GPS unit, MQTT communication, a FastAPI backend and a browser-based map. The backend validates incoming telemetry, maintains each bus’s movement state, and stores positions and alerts in Supabase. Live positions and alerts are pushed over WebSockets to open browser clients, while Firebase Cloud Messaging (FCM) delivers background notifications to the devices of users subscribed to a bus; Supabase authentication handles sign-in. The alert engine generates event- based alerts for stop proximity, route deviation, trip milestones and loss of tracking data, and a GPS simulator exercises this logic. The reported evaluation comprises 24 automated unit tests, simulator runs, and a walking trial with the ESP32/GPS unit. The simulator runs ex-posed a missed-arrival case in which a bus crossed a stop between two consecutive location updates, and a segment-based proximity check was introduced to correct it. The paper describes the architecture, vali-dation rules and deployment considerations of a practical student bus-tracking prototype.

Keywords: bus tracking, ESP32, GPS, MQTT, FastAPI, Web-Socket, Firebase Cloud Messaging, Internet of Things

How to Cite:

[1] Mrs. Jayashuba J, Dhatri Muppuri, Raavi Pranitha, Ragipati Supriya, β€œDesign and Implementation of an IoT-Based Student Bus Tracking System Using ESP32, MQTT and FastAPI,” International Journal of Advanced Research in Computer and Communication Engineering (IJARCCE), DOI: 10.17148/IJARCCE.2026.1511105

Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 International License.