Implementation of Heart Rate System using AD8232 and Arduino Microcontrollers

Muhammad Haryo Setiawan, Nurjanah Arvika Sari, Wahyu Latri Prasetya, Muslih Rayullan Feter, Dodi Saputra, Alfian Ma’arif


The human heart's pivotal role in maintaining overall health by ensuring oxygen and nutrient delivery to tissues and waste elimination highlights the global importance of cardiac health. Electrocardiography (ECG) is a fundamental tool for assessing cardiac conditions, capturing intricate electrical signals during each heartbeat. ECG sensors are instrumental in this process, finding extensive applications in personal health monitoring, disease management, and medical research. This article emphasizes the significance of ECG sensors, particularly the AD8232 ECG sensor paired with the Arduino Nano microcontroller. It outlines their operational principles, measurement methods, and signal-processing techniques. The research aims to enhance the accuracy and efficiency of ECG data capture, contributing to advanced cardiac monitoring systems. Intelligent systems employing biopotential sensors and electrocardiographs enhance diagnostic precision, minimizing interpretational errors. ECG sensors, which record and translate the heart's electrical activity into interpretable data, are integral to modern medicine. They are used in diverse settings, from clinical environments to personal health monitoring. Ensuring ECG sensor accuracy is critical, as the data directly impacts diagnosis and treatment. This article offers insights into fundamental principles, measurement procedures, and programming techniques for ECG sensors, facilitating efficient data capture and processing. These findings promise user-friendly cardiac monitoring systems advancements, significantly contributing to medical technology and healthcare.


ECG; AD8232; Heart Rate; Arduino Nano;

Full Text:



K. C. Siontis, P. A. Noseworthy, Z. I. Attia, and P. A. Friedman, “Artificial intelligence-enhanced electrocardiography in cardiovascular disease management,” Nature Reviews Cardiology, vol. 18, no. 7. Nature Research, pp. 465–478, Jul. 01, 2021. doi: 10.1038/s41569-020-00503-2.

V. Jahmunah et al., “Computer-aided diagnosis of congestive heart failure using ECG signals – A review,” Physica Medica, vol. 62, pp. 95–104, Jun. 2019, doi: 10.1016/j.ejmp.2019.05.004.

K. Surya, K. K. Abdul Majeed, and R. V. Ravi, “Diagnosis of Fetal Arrhythmia Using JADE Algorithm,” in 2020 7th International Conference on Smart Structures and Systems (ICSSS), IEEE, Jul. 2020, pp. 1–5. doi: 10.1109/ICSSS49621.2020.9202124.

L. Maršánová, A. Němcová, R. Smíšek, M. Vítek, and L. Smital, “Advanced P Wave Detection in Ecg Signals During Pathology: Evaluation in Different Arrhythmia Contexts,” Sci Rep, vol. 9, no. 1, Dec. 2019, doi: 10.1038/s41598-019-55323-3.

K. Friganovic, D. Kukolja, A. Jovic, M. Cifrek, and G. Krstacic, “Optimizing the Detection of Characteristic Waves in ECG Based on Processing Methods Combinations,” IEEE Access, vol. 6, pp. 50609–50626, Sep. 2018, doi: 10.1109/ACCESS.2018.2869943.

E. Jovanov, “Wearables meet IoT: Synergistic personal area networks (SPANs),” Sensors (Switzerland), vol. 19, no. 19. MDPI AG, Oct. 01, 2019. doi: 10.3390/s19194295.

J. Schneider, M. Schroth, J. Ottenbacher, and W. Stork, “A Novel Wearable Sensor Device for Continuous Monitoring of Cardiac Activity During Sleep,” in 2018 IEEE Sensors Applications Symposium (SAS), IEEE, Mar. 2018, pp. 1–6. doi: 10.1109/SAS.2018.8336725.

D. M. Roberts, M. M. Schade, G. M. Mathew, D. Gartenberg, and O. M. Buxton, “Detecting Sleep using Heart Rate and Motion Data from Multisensor Consumer-Grade Wearables, Relative to Wrist Actigraphy and Polysomnography,” Sleep, vol. 43, no. 7, pp. 1–19, Jan. 2020, doi: 10.1093/SLEEP/ZSAA045.

G. B. Papini et al., “On the generalizability of ECG-based obstructive sleep apnea monitoring: merits and limitations of the Apnea-ECG database,” in 2018 40th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), IEEE, Jul. 2018, pp. 6022–6025. doi: 10.1109/EMBC.2018.8513660.

H. Singh, R. K. Tripathy, and R. B. Pachori, “Detection of sleep apnea from heart beat interval and ECG derived respiration signals using sliding mode singular spectrum analysis,” Digital Signal Processing: A Review Journal, vol. 104, Sep. 2020, doi: 10.1016/j.dsp.2020.102796.

R. Gilgen-Ammann, T. Schweizer, and T. Wyss, “RR interval signal quality of a heart rate monitor and an ECG Holter at rest and during exercise,” Eur J Appl Physiol, vol. 119, no. 7, pp. 1525–1532, Jul. 2019, doi: 10.1007/s00421-019-04142-5.

S. Singh, U. Bhatt, D. Bisharad, D. Dey, and B. Bhowmik, “Portable System for Real Time Detection of P, QRS and T Waves from ECG Signals,” in 2019 IEEE 5th International Conference for Convergence in Technology (I2CT), IEEE, Mar. 2019, pp. 1–5. doi: 10.1109/I2CT45611.2019.9033666.

T. V. Tran and W. Y. Chung, “IEEE-802.15.4-based low-power body sensor node with RF energy harvester,” in Bio-Medical Materials and Engineering, IOS Press, 2014, pp. 3503–3510. doi: 10.3233/BME-141176.

Z. Trzaska, “Study of mixed-mode oscillations in a nonlinear cardiovascular system,” Nonlinear Dyn, vol. 100, no. 3, pp. 2635–2656, May 2020, doi: 10.1007/s11071-020-05612-8.

E. H. Van Iterson, C. H. Kim, K. Uithoven, and T. P. Olson, “Obesity and hemoglobin content impact peak oxygen uptake in human heart failure,” Eur J Prev Cardiol, vol. 25, no. 18, pp. 1937–1946, Dec. 2018, doi: 10.1177/2047487318802695.

B. Furst, “Heartbeat and Respiration: Toward a Functional Chronobiology,” in The Heart and Circulation, Cham: Springer International Publishing, 2020, pp. 287–317. doi: 10.1007/978-3-030-25062-1_23.

S. Dhande, “LABVIEW BASED ECG SIGNAL ACQUISITION AND ANALYSIS,” International Journal of Engineering Applied Sciences and Technology, vol. 5, no. 9, Jan. 2021, doi: 10.33564/IJEAST.2021.v05i09.046.

C. Wijaya, Andrian, M. Harahap, Christnatalis, M. Turnip, and A. Turnip, “Abnormalities State Detection from P-Wave, QRS Complex, and T-Wave in Noisy ECG,” in Journal of Physics: Conference Series, Institute of Physics Publishing, Sep. 2019. doi: 10.1088/1742-6596/1230/1/012015.

P. Lyakhov, M. Kiladze, and U. Lyakhova, “System for neural network determination of atrial fibrillation on ecg signals with wavelet-based preprocessing,” Applied Sciences (Switzerland), vol. 11, no. 16, Aug. 2021, doi: 10.3390/app11167213.

R. M. Velazquez, R. Gamez, and A. El Saddik, “Cardio Twin: A Digital of the Human Heart Running on the Edge,” in Medical Measurements & Applications, 2019. doi:

M. Rizwan, B. M. Whitaker, and D. V. Anderson, “AF detection from ECG recordings using feature selection, sparse coding, and ensemble learning,” Physiol Meas, vol. 39, no. 12, Dec. 2018, doi: 10.1088/1361-6579/aaf35b.

M. A. Serhani, H. T. El Kassabi, H. Ismail, and A. Nujum Navaz, “ECG Monitoring Systems: Review, Architecture, Processes, and Key Challenges,” Sensors, vol. 20, no. 6, p. 1796, Mar. 2020, doi: 10.3390/s20061796.

M. Wildan. Gifari, Hasballah. Zakaria, and Richard. Mengko, “Design of ECG Homecare: 12-Lead ECG Acquisition using Single Channel ECG Device Developed on AD8232 Analog Front End,” in Electrical Engineering and Informatics (ICEEI), 2015, pp. 371–376.



  • There are currently no refbacks.

Copyright (c) 2023 Alfian Ma’arif, Nurjanah Arvika Sari, Wahyu Latri Prasetya, Muslih Rayullan Feter, Dodi Saputra, Muhammad Haryo Setiawan

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


Signal and Image Processing Letters
ISSN Online: 2714-6677 | Print: 2714-6669
Published by Association for Scientific Computing Electrical and Engineering (ASCEE)
Website :
Email 1 :
Email 2 :


Creative Commons License

View My Stats