An open API service indexing awesome lists of open source software.

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.

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