Skip to the content
2 layers55.5 × 76.3 mm498R design, the printed circuit board in 3D

IoT-enabled ESP32 smart helmet for construction worker safety with fall detection, environmental sensing, and real-time mobile + server alerts.

Size
55.5 × 76.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
15
Nets
43
Pads
78
Tracks, vias
139, 0
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
27 Nov 2024
Updated
11 Feb 2026

Overview

498R design is an open-source printed circuit board by Mostakim52, from the Mostakim52/ESP32-Smart-Helmet repository on GitHub. It is a 2-layer board of 55.5 × 76.3 mm with 15 parts on 43 nets, routed with 139 tracks and 0 vias.

It is built around the DHT22. Its parts include 3 diodes, 2 ICs and 2 switches. It belongs with the radio and wireless and home automation and IoT boards of this library.

Main components

1

README

README.md

ESP32 Smart Helmet – IoT Safety System for Construction Workers

📋 Overview

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

Smart Helmet overview

🏗️ Project Structure

text
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/

🔧 Hardware Components

ComponentPartPurposeCost (BDT)
MicrocontrollerESP32 NodeMCUWiFi/BLE, sensor processing449
AccelerometerMPU6050 6DOF IMUFall detection250
Temperature/HumidityDHT22Heat stress monitoring260
Gas SensorMQ-2Toxic gas detection146
Battery18650 Li-ion 600mAhPower supply390
ChargerTP4056Battery management40
AlertsActive Buzzer + Vibration Motor + LEDMulti-modal warnings48
OthersButton, wires, PCB, caseIntegration101
TOTAL (Compact)2,324

Sensor Thresholds

  • 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)

🛠️ Hardware Visuals

KiCad schematic PCB top and bottom
PCB with sensors 3D circuit design
---

📱 System Architecture

3-Tier Stack:

  1. ESP32 Helmet (Embedded Layer)

    • Real-time sensor polling (~83.33 Hz)
    • Local threshold detection
    • BLE data transmission
    • Multi-modal alert actuation
  2. Mobile App (Client Layer)

    • Flutter + Dart
    • BLE device pairing & data reception
    • Interactive alerts & notifications
    • Wear OS smartwatch support
    • GPS location capture for emergencies
  3. 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

System architecture and thresholds

🚀 Quick Start

Prerequisites

  • Hardware: ESP32, sensors, breadboard/PCB
  • Firmware: Arduino IDE with ESP32 boards installed
  • Mobile: Android device or emulator
  • Backend: Node.js v16+, MongoDB instance

Step 1: Set Up Hardware

bash
# See: Smart_Helmet_KiCad_Design/README.md
# 1. Assemble components using KiCad schematic
# 2. Flash ESP32 with firmware
# 3. Test sensors individually

Step 2: Flash ESP32 Firmware

bash
# 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

Step 3: Install Mobile App

bash
# See: Smart_Helmet_App/README.md
cd Smart_Helmet_App/
flutter pub get
flutter run

Step 4: Start Backend Server

bash
# See: Smart_Helmet_App_Backend/README.md
cd Smart_Helmet_App_Backend/
npm install
npm start
# Server runs on http://localhost:3000

📖 Detailed Documentation


📊 Key Features

Real-Time Data Transmission

  • BLE for helmet → mobile app
  • HTTPS for mobile app → backend server
  • SSE for backend → supervisor dashboard

Sensor Testing Results

  • 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

Sensor Readings & Validation

Stable sensor readings Triggered thresholds Gas sensor readings
DHT22 comparison rainy day
Figure: Sensor stability and DHT22 comparison (rainy conditions)

Multi-Modal Alerts

  • 🔊 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

Mobile App Screenshots

App screenshot 1 App screenshot 2 App screenshot 3

🧪 Testing & Validation

Test Data

Real-world sensor readings available in:

  • Collected Data/Morning.csv – Morning site conditions
  • Collected Data/Afternoon Rainy.csv – Rainy conditions
  • Collected Data/Gas test.csv – Gas sensor validation

Validation Methodology

  • 300,000 samples per hour (10ms intervals)
  • Hourly comparisons against weather app benchmarks
  • Closed-environment gas accumulation/dispersal testing
  • Individual sensor trigger isolation testing

🔒 Security Considerations

⚠️ Current Implementation (Development):

  • BLE communication (unencrypted for simplicity)
  • HTTP endpoints (should use HTTPS in production)
  • No authentication on supervisor dashboard (local network only)

For Production Deployment:

  1. Implement BLE encryption
  2. Add HTTPS/TLS to all API endpoints
  3. Add role-based access control (RBAC) on dashboard
  4. Implement JWT authentication
  5. Add audit logging for all alerts
  6. Encrypt sensitive data in MongoDB

🛠️ Customization & Extension

Adjusting Thresholds

Edit in Smart_Helmet_Code.ino:

cpp
#define FALL_THRESHOLD 1.3
#define TEMP_THRESHOLD 50.0
#define HUMIDITY_THRESHOLD 90.0
#define GAS_THRESHOLD 1000

Adding New Sensors

  1. Add sensor library in Arduino IDE
  2. Add GPIO pin definition
  3. Initialize in setup()
  4. Add reading in loop() or handleWarnings()
  5. Update BLE characteristic data format

Changing Server URL

Update in sensor_data_page.dart:

dart
final String serverUrl = "http://your-server-ip:3000/send-data";

📈 Performance Specifications

MetricValue
Sampling Rate~83.33 Hz (10ms intervals)
BLE Range10-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 HelmetsUnlimited (server-side scaling)

🌍 Use Cases

  • ✅ 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)

📝 Research & References

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.

Key Papers Referenced:

  1. Choi & Kim - "Applications of Smart Helmet in Applied Sciences: A Systematic Review" (2021)
  2. Amrutha et al. - "SMART HELMET FOR CONSTRUCTION WORKERS" (2024)
  3. Campero-Jurado et al. - "Smart Helmet 5.0 for Industrial Internet of Things Using AI" (2020)
  4. Teizer et al. - "Real-time and Proactive Construction Safety Management" (2015)

Full Research Report: See Smart Helmet Report.pdf


🤝 Contributing

We welcome contributions! Please:

  1. Report Issues: Use GitHub Issues for bugs and feature requests
  2. Submit PRs: Follow code style and include tests
  3. Co-Design: Workers and safety managers – share your feedback!
  4. Testing: Real-world test data from your site is valuable

See CONTRIBUTING.md for guidelines.


📄 License

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.


👥 Contributors

Core Team

Faculty Advisor

Dr. Nova Ahmed
Professor, Department of Electrical and Computer Engineering
North South University, Dhaka, Bangladesh


⚠️ Disclaimer

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:

  1. Conduct comprehensive safety testing
  2. Obtain relevant certifications (ISO, OSHA equivalents)
  3. Perform real-world effectiveness studies
  4. Ensure hardware durability testing for construction environments
  5. Implement proper IT security hardening

📞 Support

  • 📖 Documentation: See docs/ folder
  • 💬 Discussions: GitHub Discussions
  • 🐛 Issues: GitHub Issues

🎯 Future Roadmap

  • 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

Parts

15
QtyValueFootprintReferences
3LEDLED_SMD:LED_PLCC-2_3.4x3.0mm_AKD1, D2, D3
2,
1Battery_CellConnector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_HorizontalBT1
1DHT22DHT22.kicad:DHT22U2
1GY-521GY-521:GY-521ACC1
1SW_PushButton_Switch_THT:SW_PUSH_6mm_H5mmSW1
1SW_PushButton_Switch_THT:SW_PUSH_1P1T_6x3.5mm_H4.3_APEM_MJTP1243SW2
1~Buzzer Active:UntitledBuzzerModule1
1~ESP32_Footprints:ESP32_30pinU1
1~Gas_Sensor_MQ-2:UntitledGasSensor1
1~TP4056:TP4056-18650T1
1~hw-045:MT3608_module_SMTM1

Similar boards

  • 2 layers271.8 × 114.3 mmArdumower mega shield svn, the printed circuit board in 3D

    Ardumower mega shield svn

    Ardumower/ardumower

    Develop an open source robotic lawn mower (HW+SW reference platform)

    426 parts282
  • 2 layers104.8 × 72.1 mmSST V2 4, the printed circuit board in 3D

    SST V2 4

    mcbittech/souliss-smart-thermostat-WiFi

    ESP8266 WiFi Smart Thermostat based on Souliss IoT Framework

    53 parts110GPL-2.0
  • 2 layers40.6 × 50.8 mmIot sourdough starter monitor, the printed circuit board in 3D

    Iot sourdough starter monitor

    justinmklam/iot-sourdough-starter-monitor

    Tracking the fermentation of sourdough starter over the cloud.

    7 parts93GPL-3.0
  • 2 layers28 × 13 mmDHT22 pcb, the printed circuit board in 3D

    DHT22 pcb

    MakersAsylumIndia/M19O2

    M19O2 open source hardware Oxygen Concentrator based on the Pressure Swing Adsorption cycle aka Skarstorm cycle

    5 parts68MIT
  • 2 layers136 × 100 mmClimateSprinklerController, the printed circuit board in 3D

    ClimateSprinklerController

    kbx81/ClimateSprinklerController

    ESP32-based climate and sprinkler controller for use with ESPHome

    194 parts56
  • 2 layers162 × 60 mmEsp shield, the printed circuit board in 3D

    Esp shield

    felixwittwer/homeassistant_automaic_greenhouse

    A cool Project to make your greenhouse smart. What about automaic irrigation and collecting enviromental data right from your garden.

    20 parts27
  • 2 layers74.9 × 40.6 mmAnavi thermometer, the printed circuit board in 3D

    Anavi thermometer

    AnaviTechnology/anavi-thermometer

    WiFi Smart Thermometer with ESP8266, DHT22, DS18B20, OLED display and slots for up to 3 I2C sensor modules

    25 parts17
  • 2 layers81.3 × 36.8 mmAirQualitySensor, the printed circuit board in 3D

    AirQualitySensor

    Finomnis/AirQualitySensor

    Simple Air Quality sensor based on nRF52840, Zigbee, AM2302/DHT22 and Senseair S8

    44 parts16Apache-2.0

Questions

How big is the 498R design PCB?

It measures 55.5 × 76.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the 498R design use?

15 parts, built around the DHT22. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the 498R design KiCad files?

From the Mostakim52/ESP32-Smart-Helmet repository on GitHub, at the commit this page was made from: the board is Smart_Helmet_KiCad_Design/498R_design/498R_design.kicad_pcb and its schematic Smart_Helmet_KiCad_Design/498R_design/498R_design.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the 498R design design in my own project?

Its repository states no licence, so its author keeps all rights: ask Mostakim52 before reusing the design.