This project is a smart helmet that uses an ESP32 microcontroller to detect accidents and send an alert to a predefined phone number. The helmet is equipped with an accelerometer to detect sudden impacts and a GPS module to send the location of the accident.
- Accident detection using an accelerometer
- GPS location tracking
- SMS alert to a predefined phone number
- Low power consumption
- Easy to use and configure
- Clone the repository
git clone https://github.com/br34dcrumb/smart-helmet.git
- Install the required libraries
pip install -r req.txt
- Install the YOLOv3 files and GPS Library
curl https://github.com/Velleman/VMA430_GPS_Module/archive/refs/tags/v2.0.0.zip -o gps.zip
curl https://pjreddie.com/media/files/yolov3.weights -o yolov3.weights
curl https://raw.githubusercontent.com/pjreddie/darknet/refs/heads/master/cfg/yolov3.cfg -o yolov3.cfg
curl https://raw.githubusercontent.com/pjreddie/darknet/refs/heads/master/data/coco.names -o coco.names
- Run the WebApp (will only work with the ESP32 connected)
python serv.py