https://github.com/noeljoyce6/smarthelmetproject
A smart helmet system using ESP32 for rider safety, featuring fall detection, health monitoring, alcohol sensing, and emergency SMS with GPS.
https://github.com/noeljoyce6/smarthelmetproject
arduino embedded-systems esp32 gps gsm health iot matlab neo-6m sim800l smarthelmet tracking
Last synced: 3 months ago
JSON representation
A smart helmet system using ESP32 for rider safety, featuring fall detection, health monitoring, alcohol sensing, and emergency SMS with GPS.
- Host: GitHub
- URL: https://github.com/noeljoyce6/smarthelmetproject
- Owner: noeljoyce6
- Created: 2025-04-09T21:35:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-11T18:30:46.000Z (about 1 year ago)
- Last Synced: 2025-06-11T12:12:31.517Z (about 1 year ago)
- Topics: arduino, embedded-systems, esp32, gps, gsm, health, iot, matlab, neo-6m, sim800l, smarthelmet, tracking
- Language: C++
- Homepage:
- Size: 1.84 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π‘οΈ Smart Helmet for Rider Safety | ESP32-Based IoT System
A final year engineering project designed to enhance road safety for two-wheeler riders using real-time health monitoring, accident detection, and emergency alert systems β all powered by the ESP32 microcontroller.
---
## π Features
- β
**Heart Rate & SpOβ Monitoring** β Using MAX30105 sensor
- β
**Fall Detection** β MPU6050 (Accelerometer + Gyroscope)
- β
**Alcohol Detection** β MQ3 gas sensor to detect alcohol consumption
- β
**Helmet Wear Detection** β Infrared (IR) sensor
- β
**Emergency Alerts via SMS** β SIM800L GSM module
- β
**Live GPS Tracking** β Location sent via Google Maps link
- β
**Real-Time Data Plotting** β Heart rate, SpOβ, and EEG simulation using MATLAB
---
## βοΈ Hardware Components
| Component | Description |
|------------------|--------------------------------------------|
| ESP32 | Main microcontroller with Wi-Fi & BLE |
| MAX30105 | Heart Rate & SpOβ Sensor |
| MPU6050 | Fall Detection (Accelerometer + Gyro) |
| MQ3 | Alcohol detection sensor |
| IR Sensor | Helmet wear detection |
| SIM800L | GSM Module for SMS |
| TinyGPS++ | For parsing GPS location |
| Buzzer | Warning alert system |
---
## π‘ Working Principle
1. Rider wears the helmet β IR sensor confirms helmet is worn.
2. Monitors vitals continuously using MAX30105.
3. Detects alcohol content via MQ3.
4. MPU6050 senses abnormal motion (falls or accidents).
5. If an accident is detected:
- System checks vitals and alcohol status.
- Sends emergency SMS with:
- Riderβs condition (fine/not fine)
- Heart Rate & SpOβ
- Location as a Google Maps link
6. All vitals can be visualized in **MATLAB** using live plots.
---
## π§ Software & Tools
- **Arduino IDE** (ESP32 Programming)
- **MATLAB** (Live Data Visualization)
- **Libraries Used:**
- `TinyGPS++`
- `Adafruit_Sensor`
- `Wire.h`, `SoftwareSerial`, etc.
---
---
## π Acknowledgements
Special thanks to our guide Prof.Agi George for constant support and technical mentorship throughout this project.
---
## π Project Structure
```bash
SmartHelmetProject/
βββ SmartHelmet.ino # Main ESP32 code
βββ MATLAB/
β βββ live_plot.m # Real-time plots for Heart Rate, SpO2, EEG
βββ Images/
β βββ circuit_diagram.png
βββ README.md # This file