A pragmatic IoT-enabled smart helmet system designed specifically for enhancing occupational safety on Bangladeshi construction sites. The system integrates essential sensors for fall detection, environmental monitoring, and real-time alerts through a mobile app and centralized supervisor dashboard.
Key Philosophy: "Workers are not asking for more features; they are asking for a tool they can trust with their lives."
- β Low-Cost: ~BDT 2,324 per unit (scalable to mass production)
- β Durability-First: Designed for harsh construction environments
- β Real-Time Monitoring: Centralized server dashboard for supervisors
- β Multi-Modal Alerts: Sound, vibration, LED, and push notifications
- β Worker-Centric: Built with worker feedback and ergonomics in mind
esp32-smart-helmet/
βββ Smart_Helmet_KiCad_Design/ # PCB design files (KiCad)
β βββ 498R_design/ # Main schematic & PCB layout
β βββ Gerber Files/ # Manufacturing-ready files
β βββ Design PDFs/ # Documentation
β βββ Important Libraries/ # Component libraries & 3D models
β
βββ Smart_Helmet_ESP32_Code/ # ESP32 Firmware (Arduino)
β βββ Smart_Helmet_Code/
β βββ Smart_Helmet_Code.ino # Main firmware
β βββ pitches.h # Audio definitions
β
βββ Smart_Helmet_App/ # Mobile App (Flutter)
β βββ lib/
β β βββ main.dart
β β βββ home_page.dart
β β βββ sensor_data_page.dart
β β βββ bluetooth_devices_page.dart
β β βββ notification_service.dart
β βββ android/
β βββ pubspec.yaml
β
βββ Smart_Helmet_App_Backend/ # Server (Node.js/Express)
β βββ backend/
β β βββ server.js
β βββ public/
β β βββ index.html
β βββ package.json
β
βββ Collected Data/ # Real-world test data (CSV)
βββ docs/ # Documentation
βββ LICENSE
| Component | Part | Purpose | Cost (BDT) |
|---|---|---|---|
| Microcontroller | ESP32 NodeMCU | WiFi/BLE, sensor processing | 449 |
| Accelerometer | MPU6050 6DOF IMU | Fall detection | 250 |
| Temperature/Humidity | DHT22 | Heat stress monitoring | 260 |
| Gas Sensor | MQ-2 | Toxic gas detection | 146 |
| Battery | 18650 Li-ion 600mAh | Power supply | 390 |
| Charger | TP4056 | Battery management | 40 |
| Alerts | Active Buzzer + Vibration Motor + LED | Multi-modal warnings | 48 |
| Others | Button, wires, PCB, case | Integration | 101 |
| TOTAL (Compact) | 2,324 |
-
Fall Detection: Jerk magnitude > 650,000 (acceleration change rate)
-
Temperature: > 50Β°C
-
Humidity: > 90%
-
Gas Level: > 1000 ppm (with deviation: 900)
-
Gas Level: > 1000 ppm (with deviation: 900)
-
ESP32 Helmet (Embedded Layer)
- Real-time sensor polling (~83.33 Hz)
- Local threshold detection
- BLE data transmission
- Multi-modal alert actuation
-
Mobile App (Client Layer)
- Flutter + Dart
- BLE device pairing & data reception
- Interactive alerts & notifications
- Wear OS smartwatch support
- GPS location capture for emergencies
-
Backend Server (Business Logic Layer)
-
Node.js/Express REST API
-
MongoDB data persistence
-
Server-Sent Events (SSE) for real-time updates
-
Supervisor dashboard with map visualization
-
Supervisor dashboard with map visualization
-
- Hardware: ESP32, sensors, breadboard/PCB
- Firmware: Arduino IDE with ESP32 boards installed
- Mobile: Android device or emulator
- Backend: Node.js v16+, MongoDB instance
# See: Smart_Helmet_KiCad_Design/README.md
# 1. Assemble components using KiCad schematic
# 2. Flash ESP32 with firmware
# 3. Test sensors individually# See: Smart_Helmet_ESP32_Code/README.md
cd Smart_Helmet_ESP32_Code/Smart_Helmet_Code/
# 1. Open in Arduino IDE
# 2. Install required libraries (BLE, DHT, MPU6050)
# 3. Configure WiFi credentials
# 4. Upload to ESP32# See: Smart_Helmet_App/README.md
cd Smart_Helmet_App/
flutter pub get
flutter run# See: Smart_Helmet_App_Backend/README.md
cd Smart_Helmet_App_Backend/
npm install
npm start
# Server runs on http://localhost:3000- Hardware Setup Guide β PCB design, component sourcing, assembly
- Firmware Setup Guide β Arduino IDE configuration, library installation
- Mobile App Setup Guide β Flutter environment, BLE connection, Wear OS
- Backend Setup Guide β Node.js, MongoDB, API endpoints
- BLE for helmet β mobile app
- HTTPS for mobile app β backend server
- SSE for backend β supervisor dashboard
- Temperature Accuracy: Β±2-3Β°C (improved in compact design)
- Humidity Accuracy: RH consistency verified across conditions
- Gas Detection: Stable threshold response with cross-ventilation testing
- Fall Detection: Reliable jerk magnitude calculation
-
π Audible buzzer (3100 Hz tone)
-
π³ Haptic vibration (3x 1-second pulses)
-
π‘ LED indicator (including SOS Morse code)
-
π² Push notifications (phone + smartwatch)
-
πΊοΈ Location-based emergency escalation
-
πΊοΈ Location-based emergency escalation
Real-world sensor readings available in:
Collected Data/Morning.csvβ Morning site conditionsCollected Data/Afternoon Rainy.csvβ Rainy conditionsCollected Data/Gas test.csvβ Gas sensor validation
- 300,000 samples per hour (10ms intervals)
- Hourly comparisons against weather app benchmarks
- Closed-environment gas accumulation/dispersal testing
- Individual sensor trigger isolation testing
- BLE communication (unencrypted for simplicity)
- HTTP endpoints (should use HTTPS in production)
- No authentication on supervisor dashboard (local network only)
For Production Deployment:
- Implement BLE encryption
- Add HTTPS/TLS to all API endpoints
- Add role-based access control (RBAC) on dashboard
- Implement JWT authentication
- Add audit logging for all alerts
- Encrypt sensitive data in MongoDB
Edit in Smart_Helmet_Code.ino:
#define FALL_THRESHOLD 1.3
#define TEMP_THRESHOLD 50.0
#define HUMIDITY_THRESHOLD 90.0
#define GAS_THRESHOLD 1000- Add sensor library in Arduino IDE
- Add GPIO pin definition
- Initialize in
setup() - Add reading in
loop()orhandleWarnings() - Update BLE characteristic data format
Update in sensor_data_page.dart:
final String serverUrl = "http://your-server-ip:3000/send-data";| Metric | Value |
|---|---|
| Sampling Rate | ~83.33 Hz (10ms intervals) |
| BLE Range | 10-100m (depending on obstacles) |
| Battery Life | ~8-12 hours (continuous operation with WiFi on) |
| Response Time | <200ms (sensor detection to alert) |
| Data Upload Frequency | ~25 updates/second |
| Simultaneous Helmets | Unlimited (server-side scaling) |
- β Fall detection on multi-story construction sites
- β Heat stress monitoring in tropical climates
- β Toxic gas detection in confined spaces
- β Incident location tracking for emergency response
- β Workforce wellness analytics (post-incident review)
This project was developed as a Directed Research (CSE498R) project at North South University, Department of Electrical and Computer Engineering, supervised by Dr. Nova Ahmed.
- Choi & Kim - "Applications of Smart Helmet in Applied Sciences: A Systematic Review" (2021)
- Amrutha et al. - "SMART HELMET FOR CONSTRUCTION WORKERS" (2024)
- Campero-Jurado et al. - "Smart Helmet 5.0 for Industrial Internet of Things Using AI" (2020)
- Teizer et al. - "Real-time and Proactive Construction Safety Management" (2015)
Full Research Report: See Smart Helmet Report.pdf
We welcome contributions! Please:
- Report Issues: Use GitHub Issues for bugs and feature requests
- Submit PRs: Follow code style and include tests
- Co-Design: Workers and safety managers β share your feedback!
- Testing: Real-world test data from your site is valuable
See CONTRIBUTING.md for guidelines.
This project is licensed under the MIT License β see LICENSE for details.
Research Publication: The findings and design are documented in the official research report available upon request from North South University.
![]() Mostakim Hossain NSU ID: 2131545042 |
![]() Safat Mamun NSU ID: 2132084042 |
![]() Md. Musfiq Hossain NSU ID: 2132562642 |
Dr. Nova Ahmed
Professor, Department of Electrical and Computer Engineering
North South University, Dhaka, Bangladesh
This is a research prototype and NOT a certified safety device. It is designed for academic purposes and proof-of-concept validation. Before industrial deployment:
- Conduct comprehensive safety testing
- Obtain relevant certifications (ISO, OSHA equivalents)
- Perform real-world effectiveness studies
- Ensure hardware durability testing for construction environments
- Implement proper IT security hardening
- π Documentation: See
docs/folder - π¬ Discussions: GitHub Discussions
- π Issues: GitHub Issues
- AI-based fall detection improvements
- Multi-language support (Bangla, Hindi, English)
- Offline-capable mobile app
- 3G/4G fallback (no WiFi requirement)
- Wearable smartwatch as standalone alert device
- Integration with existing site management systems
- Production-grade IP67+ hardware enclosure
- Battery optimization (24+ hour runtime)
Last Updated: February 2026 | Status: Active Research Project


 and bottom side (Right).png)












