π¨ SHADAS β Smart Helmet Accident Detection & Alert System
SHADAS is a real-time embedded system designed to detect road accidents and automatically alert emergency contacts.
It integrates motion sensing, GPS tracking, GSM communication, and Bluetooth to provide rapid response during critical events.
- Arduino UNO
- MPU6050 (Accelerometer + Gyroscope)
- NEO-6M GPS Module
- SIM800L GSM Module
- HC-05 Bluetooth Module
- LED (status indicator)
| Component | Arduino Pin |
|---|---|
| MPU6050 | I2C (A4 SDA, A5 SCL) |
| GPS | RX β D4, TX β D3 |
| SIM800L | RX β D7, TX β D8 |
| HC-05 | RX β D10, TX β D11 |
| GPS Power | D2 |
| LED | D13 |
-
π‘ Real-time accident detection using:
- Acceleration threshold
- Jerk (rate of change of acceleration)
- Gyroscope spikes
-
π GPS location retrieval with fallback handling
-
π© Automatic SMS alert with coordinates
-
π Emergency call triggering
-
π΅ Bluetooth transmission of alert message
-
β±οΈ Cooldown system to avoid repeated triggers
An accident is detected if any of the following exceed thresholds:
- Acceleration β₯ 3g
- Jerk β₯ 2g
- Gyroscope β₯ 250 deg/s
This multi-condition approach improves robustness and reduces false positives.
Wire.hI2Cdev.hMPU6050.h(Jeff Rowberg)TinyGPSPlus.hSoftwareSerial.h
- Continuously reads sensor data from MPU6050
- Computes acceleration magnitude, jerk, and angular velocity
- Detects abnormal spikes β triggers emergency routine
- Powers GPS module and retrieves location
- Sends:
- SMS via SIM800L
- Phone call
- Bluetooth message
- Enters cooldown period
MPU6050 β Arduino β Decision Logic
β
GPS β Location Fetch
β
SIM800L β SMS + Call
HC-05 β Bluetooth Output