Brief Introduction:
The Stress Analysis System is designed to help monitor an individual's vital signs and detect symptoms of stress using physiological data. It incorporates a MAX30102 pulse oximeter, a temperature sensor (DS18B20), GSR (Galvanic Skin Response), and ECG sensors. By analyzing parameters like high heart rate, low GSR, and elevated body temperature, the system determines potential stress conditions. Upon detecting stress, it activates visual and audible alerts and uploads data to the ThingSpeak IoT platform for real-time cloud monitoring.
✅ Components List:
Component Name |
Quantity |
Description |
ESP32 or ESP8266 |
1 |
Wi-Fi-enabled microcontroller |
MAX30102 Sensor |
1 |
Measures heart rate and SpO₂ |
DS18B20 Temperature Sensor |
1 |
Measures body temperature |
GSR Sensor |
1 |
Detects skin resistance related to stress |
ECG Sensor |
1 |
Monitors electrical heart activity |
Buzzer |
1 |
Alerts when stress is detected |
RED LED |
1 |
Lights up on stress alert |
GREEN LED |
1 |
Lights up under normal condition |
16x2 LCD with I2C |
1 |
Displays vitals and status messages |
Jumper Wires |
- |
For circuit connections |
Breadboard |
1 |
For prototyping |
BLOCK DIAGRAM

WORKING
The stress detection system continuously reads data from various biosensors: heart rate and SpO₂ using the MAX30102, body temperature using the DS18B20, skin conductivity from the GSR sensor, and ECG values. When the user places their finger on the sensor, the system calculates heart rate and oxygen saturation. If the heart rate exceeds 100 bpm, the GSR value drops below 500, and the temperature exceeds 37°C, the system identifies a stress condition. It then activates a buzzer and red LED for warning and displays a “STRESS ALERT” message on the LCD. Meanwhile, all vital readings are sent to ThingSpeak via Wi-Fi for cloud-based monitoring, enabling remote access to patient data.
IMAGES USED ARE ONLY FOR SAMPLE PURPOSES!!!!!