https://github.com/bunnysunny24/project-onboardx
IoT-Based Vehicle Monitoring System
https://github.com/bunnysunny24/project-onboardx
data-visualization esp32-arduino fastapi firebase flask gyroscope iot-platform machine-learning maps-api pressure-sensor python raspberry-pi react-native reactjs real-time-analytics
Last synced: 2 months ago
JSON representation
IoT-Based Vehicle Monitoring System
- Host: GitHub
- URL: https://github.com/bunnysunny24/project-onboardx
- Owner: bunnysunny24
- Created: 2025-02-18T06:46:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-24T08:32:54.000Z (over 1 year ago)
- Last Synced: 2025-10-04T00:48:29.246Z (8 months ago)
- Topics: data-visualization, esp32-arduino, fastapi, firebase, flask, gyroscope, iot-platform, machine-learning, maps-api, pressure-sensor, python, raspberry-pi, react-native, reactjs, real-time-analytics
- Language: JavaScript
- Homepage:
- Size: 820 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🚗 Project-OnBoardX - IoT-Based Vehicle Monitoring System
## 📌 Overview
**Endurance** is a real-time **IoT-based vehicle monitoring system** that integrates **ESP32, Raspberry Pi, Firebase, FastAPI, Flask, and Machine Learning** to ensure vehicle safety and efficient monitoring.
## 🔥 Features
### 🚀 Real-Time Data Collection
- **ESP32 + Gyro Sensor** collects **acceleration & velocity** data.
- Data is stored in **Firebase** and processed using **FastAPI**.
### 📊 Data Processing & Visualization
- **FastAPI generates graphs** from raw sensor data (stored as bits).
- **ML Model** calculates **average acceleration & velocity**.
- **React UI + Flask** displays real-time **location tracking (latitude & longitude)**.
### 🚨 Speed & Acceleration Alerts
- If high acceleration/velocity is detected, alerts are sent via **EmailJS / Twilio**.
- Helps prevent **accidents by notifying drivers to slow down**.
### 🆘 Accident Detection & Emergency Alerts
- **Raspberry Pi + Pressure Sensor** detects abnormal pressure.
- **Emergency signal is sent** via **ESP32 WiFi**.
- Nearby **hospitals, people, ambulances, and fire stations** receive alerts.
## 🖼️ System Architecture




## 📸 Implementation Screenshots
### 🔹 ESP32 + Gyro Sensor Data Logging



### 🔹 Real-Time Dashboard









### 🔹 Accident Detection System


## 🛠️ Tech Stack
| Component | Technology |
|---------------|-----------|
| **Backend** | FastAPI, Flask, Firebase |
| **Frontend** | React.js, Tailwind CSS |
| **IoT Devices** | ESP32, Raspberry Pi, Gyro Sensor, Pressure Sensor |
| **Alerts** | Twilio, EmailJS |
| **ML Model** | Python, NumPy, SciPy |
## 🔧 Setup & Installation
```sh
# Clone the repository
git clone https://github.com/bunnysunny24/Endurance.git
cd Endurance
# Install backend dependencies
pip install -r requirements.txt
# Install frontend dependencies
cd frontend
npm install
# Run FastAPI backend
uvicorn backend.main:app --reload
# Run React frontend
npm start
```
## 🚀 Future Enhancements
- **AI-based predictive analytics** for accident prevention.
- **Improved emergency response system** with geolocation tracking.
- **Mobile App Integration** for instant alerts.
-
## 📝 License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.