Stress Level Detection System Based on Internet of Things
DOI:
https://doi.org/10.31154/cogito.v11i1.760.27-38Keywords:
Arduino Mega, Stress Level Detection, DS18B20, MQ-2, Pulse Heart SensorAbstract
Stress is a critical contemporary health issue, causing significant mental and physical damage. Regular monitoring of a person's stress level is vital for early diagnosis of abnormalities that can lead to chronic diseases in the future. While various stress detection methods exist, this research introduces a novel and accessible IoT-based system that integrates a unique combination of physiological parameters: heart rate, body temperature, and, distinctively, exhaled CO₂ concentration. This approach utilizes low-cost, readily available components, including an Arduino Mega microcontroller, an ESP8266 Wi-Fi module, a Pulse Heart Rate sensor, a DS18B20 temperature sensor, and an MQ-2 sensor to measure respiratory CO₂. The significance of this work is demonstrated through its successful implementation and testing on five young adult subjects. The results establish a clear correlation between the measured biometrics and four distinct stress classifications (severe, moderate, mild, and normal). All data is displayed in real-time on a local LCD and transmitted to the Thingspeak IoT platform for continuous analysis. This study confirms the feasibility of using this novel sensor combination to create an affordable, real-time stress monitoring tool, offering a significant contribution to preventive healthcare through early detection and intervention.References
M. R. Hidayatullah dan W. Maharani, “Depression Detection on Twitter Social Media Using Decision Tree,” RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 6, no. 4, pp. 677 - 683, 2022.
D. V. V. Handayani, “Kesehatan Mental Bisa Memengaruhi Kesehatan Fisik,” 08 Oktober 2021.
S. Adepua, K. P. Samudralab, S. Kamsani dan S. Aruvanti, “Smart Technology for Real-time Evaluation of Stress Levels,” dalam International Conference on Environmental Development Using Computer Science (ICECS’24), Tamil Nadu, India, 2024.
P. Chyan dan Y. Kasmara, “Sistem Monitoring dan Deteksi Stres Pada Anak Berbasis Wearable Device,” RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 5, no. 5, pp. 943 - 949, 2021.
Y. Huang dan N. Zhao, “Generalized anxiety disorder, depressive symptoms and sleep quality during COVID-19 outbreak in China: a web-based cross-sectional survey.,” Psychiatry Research, vol. 228, no. 1, 2020.
D. J. Smith dan D. H. R. Blackwood, “Depression in young adults. Advances in Psychiatric Treatment,” BJPsych Advances, vol. 10, no. 1, pp. 4-12, 2004.
T. Waili, Y. S. Alshebly, K. A. Sidek dan M. G. M. Johar, “Stress recognition using Electroencephalogram (EEG) signal,” dalam Indonesian Clinical Training and Education Center, Cipto Mangunkusumo Hospital, Jakarta, Indonesia., 2020.
L. R, “ECG signatures of psychological stress,” Journal of electrocardiology, vol. 48, no. 6, pp. 1000-1005, 2015.
C. Wall, V. Hetherington dan A. Godfrey, “Beyond the clinic: the rise of wearables and smartphones in decentralising healthcare,” npj Digital Medicine, vol. 6, no. 213, 2023.
F. Antonius dan A. Saepudin, “The Impact of IoT on The Storing Process of Leather Raw Material,” RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 7, no. 4, pp. 782 - 790, 2023.
I. R. Nugraha, W. H. N. Putra dan E. Setiawan, “A Comparative Study of HTTP and MQTT for IoT Applications in Hydroponics,” RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 8, no. 1, pp. 119 - 126, 2024.
J. J. Arnett, Emerging Adulthood: The Winding Road from the Late Teens Through the Twenties (3rd edn), Oxford: Oxford University Press, 2023.
E. Suwarto, “Alat Pendeteksi Tingkat Stress Manusia Berbasis Atmega16,” ORBITH, vol. 8, no. 1, pp. 1-9, 2012.
A. Anusha, N. Padmaja, D. Manaswi dan B. S. Kumar, “IOT Based Stress Detection and Health Monitoring System,” Helix, pp. 161-167, 2020.
F. Deza, P. Madona dan N. Rahmardy, “Alat Pendeteksi Tingkat Stress Manusia Berdasarkan Suhu Tubuh, Kelembaban Kulit, Tekanan Darah dan Detak Jantung.,” Jurnal Politeknik Caltex Riau, pp. 31-42, 2017.
Y. Yuhefizar, A. Nasution, R. Putra, E. Asri dan D. Satria, “Alat Monitoring Detak Jantung Untuk Pasien Beresiko Berbasis IoT Memanfaatkan Aplikasi OpenSID berbasis Web,” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 3, no. 2, pp. 265 - 270, 2019.
R. Kumar, S. Singla dan J. Bansal, “IOT Based Air Pollution Monitoring System,” International Scientific Journal of Engineering and Management, vol. 2, no. 4, pp. 1-6, 2023.
Izhangghani, I. Hikmah dan S. Indriyanto, “Prototype of Body Temperature and Oxygen Saturation Monitoring System Using DS18B20 and MAX30100 Sensors based on IOT,” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 6, no. 5, pp. 810 - 817, 2022.
J. Waworundeng, “Design Prototype Detector of Temperature, Humidity, and Air Quality using Sensors, Microcontrollers, Solar Cells, and IoT,” CogITo Smart Journal, vol. 10, no. 1, p. 271–284, 2023.
S. Ali, A. Atef, E.-B. Nirmeen, E. B. Ghada dan A. E.-S. Fathi, “Smart Health Monitoring System based on IoT and Cloud Computing,” Menoufia Journal of Electronic Engineering Research, vol. 28, no. 1, pp. 37-42, 2024.
E. P. Tenda, A. V. Lengkong dan K. F. Pinontoan, “Sistem Peringatan Dini Banjir Berbasis IoT dan Twitter,” CogITo Smart Journal, vol. 7, no. 1, p. 26–39, 2021.
A. N. L. Hermans, J. L. Isaksen*, M. Gawalko, N. A. H. A. Pluymaekers, R. M. J. v. d. Velden, H. Snippe, S. Evens, G. D. Witte, J. G. L. M. Luermans, M. Manninger, J. Lumens, J. K. Kanters dan D. Linz, “Accuracy of continuous photoplethysmography-based 1 min mean heart rate assessment during atrial fibrillation,” EP Europace – EHJ Arrhythmias and Electrophysiology (EP Europace), vol. 25, no. 3, p. 835–844, 2023.
halodoc, “Mengenal Struktur dan Fungsi dalam Rongga Hidung,” Halodoc, 04 01 2023. [Online]. Available: https://www.halodoc.com/artikel/mengenal-struktur-dan-fungsi-dalam-rongga-hidung. [Diakses 11 07 2024].
Alodokter, “Seperti Ini Cara Kerja Sistem Pernapasan pada Manusia,” Alodokter, 08 06 2022. [Online]. Available: https://www.alodokter.com/seperti-ini-cara-kerja-sistem-pernapasan-pada-manusia. [Diakses 11 07 2024].
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 CogITo Smart Journal

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).