← Amirmohammad Nouri

Edge AI Stress Sense

Voice-triggered, wireless stress measurement on ESP32 and ESP8266

2026 · Solo · firmware, ML, server and dashboard

Edge AI Stress Sense

Overview

Say “measure my stress level”. The ESP32 hears the command and tells the ESP8266 over WiFi to start. For 60 seconds both boards stream pulse, skin-conductance and motion data to a laptop, where a classifier trained on the WESAD dataset estimates your stress level. The result is spoken back and shown on a live dashboard.

94.7%stress vs. no stress (LOSO, 15 subjects)
88.3%WESAD paper, wrist sensors
r = 0.91heart rate vs. chest ECG
44HRV, EDA and motion features

How it works

Decisions backed by data

Leave-one-subject-out results

TaskSensorsThis workWESAD paper
Stress vs. no stresspulse + skin94.7%88.3%*
Stress vs. no stresspulse only90.2%85.8%
Stress vs. no stressskin only88.9%79.7%
Baseline / stress / amusementpulse + skin74.8%76.2%

* the paper's best wrist result also used skin temperature, which this hardware doesn't measure.

Gallery

Stack

C++ / ArduinoESP32 · ESP8266I2S · I2CWebSocket · UDPPython asyncioscikit-learnSpeech-to-text · TTS