A real-time bus tracking system built using IoT + Web Technologies to monitor college buses and provide live location updates to students, staff, and administrators.
- 📍 Real-time bus location tracking
- 🗺️ Live map visualization (Mapbox / Google Maps)
- ⏱️ ETA prediction and route tracking
- 👥 Role-based dashboards (Student, Parent, Admin)
- 📡 Dual communication: WiFi + GSM (SIM800L fallback)
- 📊 Historical data tracking
- ESP32 microcontroller
- NEO-6M GPS module for location data
- SIM800L for GSM-based communication
- Sends coordinates to backend via HTTP/SMS
- FastAPI (Python)
- REST APIs for receiving and serving bus data
- Handles GPS data processing and ETA logic
- MySQL / PostgreSQL
- Stores:
- Bus locations
- Routes
- User data
- Location history
- Flutter app
- Real-time map interface
- Displays bus location, route, and ETA
- GPS module captures location
- ESP32 processes data
- Data sent via WiFi / SIM800L (HTTP/SMS)
- Backend API receives and stores data
- Frontend fetches and displays live updates
- Frontend: Flutter
- Backend: FastAPI (Python)
- Database: MySQL / PostgreSQL
- IoT: ESP32, GPS (NEO-6M), SIM800L
- Maps: Mapbox / Google Maps
git clone https://github.com/your-repo/bus-tracking-system.git
cd bus-tracking-system