STM32-Based Heart Rate Variability Detection
DOI:
https://doi.org/10.6919/ICJE.202511_11(11).0009Keywords:
Stress Monitoring; STM32F103C8T6; Interbeat Intervals; Heart Rate Variability.Abstract
Real-time monitoring of psychological stress is critical to maintaining physical and mental health. Although traditional ECG methods can provide accurate stress assessment, their complexity and high cost limit daily use. To address this issue, this paper designs a heart rate monitoring system based on the STM32F103C8T6 microcontroller, which provides an easy and cost-effective solution for stress monitoring. The system simplifies operations and reduces costs by detecting peak heartbeat signals to estimate interbeat interval (IBI) and analyse heart rate variability (HRV). The system uses the XD-58C PulseSensor for accuracy, including an OLED display for real-time data and a threshold range to ensure validity. Heart rate data can be uploaded to a PC platform for visualisation via serial communication, enabling users to track health trends. The system has been tested for ease of use, broad applicability, stable performance and high utility value to help individuals manage their mental health and as a preventive medicine tool to reduce the risk of disease and improve public health.
Downloads
References
[1] Lee S, Hwang HB, Park S, et al. Mental stress assessment using ultra short term HRV analysis based on non-linear method[J]. Biosensors ( Basel) , 2022, 12( 7) : 465.
[2] Tao Lin. A Review of Domestic Research on Graduate Student Stress in the Past 20 Years [J]. Journal of Beijing University of Science and Technology (Social Science Edition), 2020, 36(4): 36-42.
[3] Shaffer F, Ginsberg J P. An Overview of Heart Rate Variability Metrics and Norms[J]. Frontiers in Public Health, 2017,5: 258.
[4] Rajendra Acharya U, Paul Joseph K, Kannathal N, et al. Heart rate variability: a review[J]. Medical and biological engineering and computing, 2006,44: 1031-1051.
[5] Han J, Liu WG . Research on transmission line condition monitoring system based on STM32 [J]. Internet of things technology, 2024(12), 38-44.
[6] LIN Jiaxi , FANG Yubin , GAO Han . Design of portable ECG recorder based on GD32 [J]. Changjiang Information and Communication , 2022,35(11):60-62.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 International Core Journal of Engineering

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.




