Heart Rate Monitoring Based On Electrocardiogram (ECG) Module Using IoT

Authors

  • Adlian Jefiza Politeknik Negeri Batam
  • Muhammad Affani Politeknik Negeri Batam
  • Indra Hardian Mulyadi Politeknik Negeri Batam

DOI:

https://doi.org/10.51903/874a4r03

Keywords:

ECG, MQTT, QoS

Abstract

The Message Queue Telementary Transport (MQTT) protocol is able to adjust the sending and receiving of messages to monitor in accordance with the user's preferences because the sending and receiving of messages is topic based on a specified topic, making it necessary to routinely monitor the condition of patients who have been diagnosed with heart problems from a distance. With the aim to perform a Quality of Service (QoS) analysis with throughput, delay, and packet loss parameters using Unshielded Twisted Pair internet transmission media (UTP) and Wireless, the goal of this research is to design and implement (MQTT) a heart rate monitoring device with an EKG module as a sensor and ESP32 as a microcontroller. On the Ubidots website, EKG signals are transmitted over the internet and shown in real time. QoS analysis is performed using the Wireshark application. Data was collected on two scenarios at intervals of 30 minutes, 1 hour, 2 hours, 5 hours, 8 hours, 12 hours, 18 hours, and 23 hours. The throughput, latency, and packet loss metrics used in this study's results cause different value variations; these are influenced by the weather, internet bandwidth, computer, and router specifications. According to testing, the tool is portable and has a 3000mAh battery, but it has the restriction that it can only be used with reliable internet and bandwidth.

References

Hasibuan, D. K., & Mulyadi, I. H. (2018). Real-Time Heart Rate Monitoring for Wearable Electrocardiography Using Filter-Based and Peak Threshold Algorithms: A Comparative Study. Jurnal Integrasi, 10(2), 54–58. https://doi.org/10.30871/ji.v10i2.983

Madona, P., & Fadilla, R. (2021). Akuisisi Sinyal Electrocardiography ( ECG ) Berbasis Arduino. 7(1), 35–46.

Nadia, I. (2018). Kematian Mendadak karena Serangan Jantung. Emc Health Care. https://www.emc.id/id/care-plus/kematian-mendadak-karena-serangan-jantung

Nurfiqin, L. (2020). Analisis Quality Of Service (QoS) Protokol MQTT dan HTTP Pada Sistem Smart Metering Arus Listrik. Jurnal Repositor, 3(1). https://doi.org/10.22219/repositor.v3i1.1084

Pan, J., & Tompkins, W. J. (1985). A Real-Time QRS Detection Algorithm. IEEE Transactions on Biomedical Engineering, BME-32(3), 230–236. https://doi.org/10.1109/TBME.1985.325532

Ponikowski, P., Anker, S. D., AlHabib, K. F., Cowie, M. R., Force, T. L., Hu, S., Jaarsma, T., Krum, H., Rastogi, V., Rohde, L. E., Samal, U. C., Shimokawa, H., Budi Siswanto, B., Sliwa, K., & Filippatos, G. (2014). Heart failure: Preventing disease and death worldwide. ESC Heart Failure, 1(1), 4–25. https://doi.org/10.1002/ehf2.12005

Ria Hariri, R. H., Lutfi Hakim, L. H., & Riska Fita Lestari, R. F. L. (2020a). Sistem Monitoring Detak Jantung Menggunakan Sensor AD8232. JOURNAL ZETROEM, 2(2). https://doi.org/10.36526/ztr.v2i2.1017

Ria Hariri, R. H., Lutfi Hakim, L. H., & Riska Fita Lestari, R. F. L. (2020b). Sistem Monitoring Detak Jantung Menggunakan Sensor AD8232. Journal Zetroem, 2(2), 1–5. https://doi.org/10.36526/ztr.v2i2.1017

Saputra, G. Y., Afrizal, A. D., Mahfud, F. K. R., Pribadi, F. A., & Pamungkas, F. J. (2017). Penerapan Protokol MQTT Pada Teknologi Wan (Studi Kasus Sistem Parkir Univeristas Brawijaya). Informatika Mulawarman : Jurnal Ilmiah Ilmu Komputer, 12(2), 69. https://doi.org/10.30872/jim.v12i2.653

Sarmah, S. S. (2020). An Efficient IoT-Based Patient Monitoring and Heart Disease Prediction System Using Deep Learning Modified Neural Network. IEEE Access, 8, 135784–135797. https://doi.org/10.1109/ACCESS.2020.3007561

Toldinas, J., Lozinskis, B., Baranauskas, E., & Dobrovolskis, A. (2019). MQTT Quality of Service versus Energy Consumption. 2019 23rd International Conference Electronics, 1–4. https://doi.org/10.1109/ELECTRONICS.2019.8765692

Wohingati, G. W., & Subari, A. (2015). ALAT PENGUKUR DETAK JANTUNG MENGGUNAKAN PULSESENSOR BERBASIS ARDUINO UNO R3 YANG DIINTEGRASIKAN DENGAN BLUETOOTH. Gema Teknologi, 17(2). https://doi.org/10.14710/gt.v17i2.8919

Downloads

Published

2025-07-25

How to Cite

[1]
“Heart Rate Monitoring Based On Electrocardiogram (ECG) Module Using IoT”, ELKOM , vol. 18, no. 1, pp. 345–355, Jul. 2025, doi: 10.51903/874a4r03.