STRESS AND ANXIETY MONITORING SYSTEM FOR EARLY DETECTION OF MENTAL HEALTH USING IOT BASED BIOMEDIC SENSORS AND DEEP NEURAL NETWORKS
DOI:
https://doi.org/10.51903/qhr95646Keywords:
Stress, Anxiety, Biomedic sensor, ESP32, Internet of thingsAbstract
Mental health is a crucial aspect of modern life, with stress and anxiety being among the most common and impactful psychological disorders. This research proposes a stress and anxiety monitoring system based on the Internet of Things (IoT), integrating biometric sensors and Deep Neural Networks (DNN) for early detection and in-depth analysis. The system is designed using MAX30102 (heart rate and SpO₂), GSR (Galvanic Skin Response), and DS18B20 (body temperature) sensors, managed by an ESP32 microcontroller and communicating through the MQTT protocol. Physiological data is collected in real-time, formatted in JSON, and transmitted to both Android and web-based applications for visualization. The DNN model is developed using the TensorFlow framework with a layered architecture and ReLU activation functions to classify four mental states: relaxed, calm, anxious, and highly stressed. The training dataset comprises both primary and secondary data, including the WESAD dataset. Model performance is evaluated through k-fold cross-validation, showing high accuracy and strong generalization capabilities. The results indicate that the integration of sensor technology and deep learning significantly improves the effectiveness of stress and anxiety detection compared to traditional methods. This system demonstrates great potential for the development of AI-based wearable devices for autonomous, real-time, and adaptive mental health monitoring.
References
Kakunje A, Mithur R, Kishor M. Emotional well-being, mental health awareness, and prevention of suicide: Covid-19 pandemic and digital psychiatry. Archives of Medicine and Health Sciences. 2020; 8(1): 147-153.
Ivbijaro G, Brooks C, Kolkiewicz L, et al. Psychological impact and psychosocial consequences of the COVID-19 pandemic Resilience, mental well-being, and the coronavirus pandemic. Indian Journal of Psychiatry. 2020; 62(3): S395-S403.
Kementerian Kesehatan RI. Info datin-reproduksi-remaja. 2021.
Nielsen RE, Banner J, Jensen SE. Cardiovascular disease in patients with severe mental illness. Nature Reviews Cardiology. 2020; 18(2): 136-145. https://doi.org/10.1038/s41569-020-00463-7.
Zhang Y, Zhang H, Ma X, et al. Mental Health Problems during the COVID-19 Pandemics and the Mitigation Effects of Exercise: A Longitudinal Study of College Students in China. International Journal of Environmental Research and Public Health. 2020; 17(10): 3722. https://doi.org/10.3390/ijerph17103722.
Ansori, R. R., & Martiana, T. (2017). Hubungan Faktor Karakteristik Individu Dan Kondisi Pekerjaan Terhadap Stres Kerja Pada Perawat Gigi. The Indonesian Journal of Public Health, 12(1), 75. https://doi.org/10.20473/ijph.v12i1.2017.75-84.
Hur, M. H., Song, J. A., Lee, J., & Lee, M. S. (2014). Aromatherapy for stress reduction in healthy adults: A systematic review and meta-analysis of randomized clinical trials. Maturitas, 79(4), 362–369. https://doi.org/10.1016/j.maturitas.2014.08.006.
Arbi, D. K. A., & Ambarini, T. K. (2018). Terapi Brief Mindfulness-Based Body Scan untuk Menurunkan Stres Atlet Bola Basket Wanita Profesional. INSAN Jurnal Psikologi Dan Kesehatan Mental, 3(1), 1. https://doi.org/10.20473/jpkm.v3i12018.1-12.
Oktapiani, N., & Putri, A. (2018). Rasional Emotif Terapi Gangguan Kecemasan Sosial Dengan Menggunakan Pendekatan 1. Fokus, 1(6), 227–232.
Darmojo, B. (2009). Geriatri (Ilmu Kesehatan Usia Lanjut) (4th ed.). Balai Penerbit FKUI.
Hassantabar, H., dkk. (2021). MHDeep: Mental Health disorder detection system based on body-area and deep neural networks. arXiv, 1-2. https://doi.org/10.48550/arXiv.2102.10435.
Solikhun, & Lestari, SP (2023). Pengujian Jaringan Saraf Tiruan Dalam Mendiagnosis Gangguan Jiwa Menggunakan Algoritma Backpropagation Levenberg-Marquardt. Jurnal Penelitian Sistem Informasi (JOSH) , 4(3), 920–927. https://doi.org/10.47065/josh.v4i3.3285.
Moser, M. K., Ehrhart, M., & Resch, B. (2024). An explainable deep learning approach for stress detection in wearable sensor measurements. Sensors, 24(16), 5085. https://doi.org/10.3390/s24165085.
Santos, R. A. (2023). A Convolutional Neural Network Model to Detect Stress Levels in Electroencephalogram Signals. International Journal of Scientific Research in Engineering and Management (IJSREM), 7(12), 1-6. doi: 10.55041/IJSREM27285.
Irmayanti, Mokui, H. T., & Alam, W. O. S. N. (2022). Sistem pendeteksi stres pada manusia menggunakan metode fuzzy logic berbasis Internet of Things. Jurnal Fokus Elektroda: Energi Listrik, Telekomunikasi, Komputer, Elektronika dan Kendali, 7(3), 185-192. https://elektroda.uho.ac.id/.






