Miniature Medical Car Didukung Dengan Pulse Arm Band Berbasis Algoritma XGBoost Dalam Deteksi Pola Abnormal Detak Jantung

Authors

  • Adamsyach Prana Walidin Fakultas Matematika dan Ilmu Pengetahuan Alam, Universitas Negeri Medan https://orcid.org/0009-0003-4776-2838
  • Dedy Kiswanto Fakultas Matematika dan Ilmu Pengetahuan Alam, Universitas Negeri Medan https://orcid.org/0009-0001-0324-5826
  • Tri Sapta Warman Zai Fakultas Matematika dan Ilmu Pengetahuan Alam, Universitas Negeri Medan
  • Fafmi Sagala Fakultas Matematika dan Ilmu Pengetahuan Alam, Universitas Negeri Medan

DOI:

https://doi.org/10.51903/p4ey0516

Keywords:

IoT, Heart Rate Monitoring, XGBoost, Wearable Device, Anomaly Detection

Abstract

The increasing prevalence of cardiovascular disorders highlights the need for heart rate monitoring systems that are not only accurate but also capable of providing rapid responses to abnormal conditions. This study aims to develop an Internet of Things (IoT)-based heart rate monitoring system integrated with the Extreme Gradient Boosting (XGBoost) algorithm to detect abnormal heart rate patterns in real time and trigger an automated response through a Miniature Medical Car. A quantitative simulation-based research method was employed, in which heart rate signals were collected using an ESP32-C3 Mini–based Pulse Armband equipped with a MAX30102 sensor and transmitted to a cloud server for processing through a data-mining pipeline. The dataset consisted of 800 samples categorized into normal and abnormal classes, which were transformed into 14 statistical and variability-based features for model training. The results indicate that the XGBoost model achieved 94% accuracy, 93.3% precision, 93.3% recall, an F1-score of 0.933, and an ROC-AUC of 0.96, demonstrating strong performance in distinguishing normal from abnormal heart rate patterns. Integration with the miniature car enables the system to deliver an automated physical response when abnormal patterns are detected. The study contributes an efficient real-time IoT–ML architecture, compact statistical feature engineering for physiological signals, and a robotic response mechanism. These findings imply potential applications in remote medical monitoring, public-area emergency alert systems, and low-cost assistive devices.

References

[1] A. Kavya, Anjali, Ankita, and R. Patil, “IoT Based Real Time BPM and SpO₂ Monitoring and Alert System Using MAX30102,” Int. Educ. Res. J., vol. 10, no. 5, pp. 247–251, 2024. doi:10.51903/ierj.v10i5.3947.

[2] A. Cuevas-Chávez et al., “A Systematic Review of Machine Learning and IoT Applied to the Prediction and Monitoring of Cardiovascular Diseases,” Healthcare, vol. 11, no. 16, p. 2240, Aug. 2023, doi: 10.3390/healthcare11162240.

[3] S. A. Alzakari et al., “Enhanced Heart Disease Prediction in Remote Healthcare Monitoring Using IoT-Enabled Cloud-Based XGBoost and Bi-LSTM,” Alexandria Engineering Journal, vol. 105, pp. 280–291, 2024, doi: 10.1016/j.aej.2024.06.036.

[4] N. Tasmurzayev, B. Amangeldy, T. Imankulov, B. Imanbek, O. A. Postolache, and A. Konysbekova, “A Wearable IoT-Based Measurement System for Real-Time Cardiovascular Risk Prediction Using Heart Rate Variability,” Eng., vol. 6, no. 10, p. 259, 2025, doi:10.3390/eng6100259.

[5] G. Fadhilah and D. Faiza, “Rancang Bangun Alat Pendeteksi Detak Jantung dan Kadar Oksigen Berbasis IoT dengan Integrasi ThingSpeak,” ELEKTIF: Jurnal Elektronika dan Informatika, vol. 2, no. 2, pp. 160–177, 2024, doi: 10.24036/elektif.v2i2.72.

[6] D. Kiswanto, H. Listia, and S. Wardania, “Implementasi Algoritma A* (A Star) untuk Penentuan Jalur Terpendek dari Universitas Negeri Medan ke Kualanamu International Airport,” Journal of Software Engineering, Information and Communication Technology (SEICT), vol. 4, no. 1, pp. 15–24, Jun. 2023, doi: 10.17509/seict.v4i1.59213.

[7] M. Muthmainnah and D. B. Tabriawan, “Prototipe Alat Ukur Detak Jantung Menggunakan Sensor MAX30102 Berbasis Internet of Things (IoT) ESP8266 dan Blynk,” JISKA (Jurnal Informatika Sunan Kalijaga), vol. 7, no. 3, pp. 163–176, 2022, doi: 10.14421/jiska.2022.7.3.163-176.

[8] R. A. Nugroho, A. Wijaya, and F. Ramadhan, “Sistem Monitoring Detak Jantung Berbasis Wearable Device dan Internet of Things,” J. RESTI (Rekayasa Syst. dan Teknol. Inf.), vol. 6, no. 1, pp. 91–98, 2022, doi:10.29207/resti.v3i2.974.

[9] X. Zang, J. Du, and Y. Song, “Early Prediction of Heart Disease via LSTM-XGBoost,” in Proceedings of the ACM Conference, New York, NY, USA, pp. 631-637, 2023, doi: 10.1145/3594315.3594383.

[10] H. A. Huillcen Baca et al., “Detection of Arrhythmias Using Heart Rate Signals from Smartwatches,” Applied Sciences, vol. 14, no. 16, p. 7233, 2024, doi: 10.3390/app14167233.

[11] A. Ogunpola et al., “Machine Learning-Based Predictive Models for Detection of Cardiovascular Diseases,” Diagnostics, vol. 14, no. 2, p. 144, 2024, doi: 10.3390/diagnostics14020144.

[12] S. Banerjee, P. Dutta, and R. Sarkar, “A Machine Learning-Based Framework for Cardiovascular Disease Prediction Using Physiological Signals,” arXiv Preprint, arXiv:2307.08766, 2023. [Online]. Available: https://doi.org/10.48550/arxiv.2307.08766

[13] D. Lapsa, R. Janeliukstis, M. Metshein, and L. Selavo, “PPG and Bioimpedance-Based Wearable Applications in Heart Rate Monitoring—A Comprehensive Review,” Appl. Sci., vol. 14, no. 17, p. 7451, 2024, doi: 10.3390/app14177451.

[14] A. Hannan, S. M. Cheema, and I. M. Pires, “Machine Learning-Based Smart Wearable System for Cardiac Arrest Monitoring Using Hybrid Computing,” Biomed. Signal Process. Control, vol. 87, p. 105519, Jan. 2024, doi: 10.1016/j.bspc.2023.105519.

[15] H. Xie, L. Yang, B. Jiang, Z. Huang, and Y. Lin, “State-of-the-Art Wearable Sensors for Cardiovascular Health: A Review,” npj Cardiovasc. Health, vol. 2, no. 1, p. 53, 2025, doi: 10.1038/s44325-025-00090-6.

[16] A. Abedi, A. Verma, D. Jain, J. Kaetheeswaran, C. Chui, M. Lankarany, and S. S. Khan, “AI-Driven Real-Time Monitoring of Cardiovascular Conditions with Wearable Devices: Scoping Review,” JMIR Mhealth Uhealth, vol. 13, e73846, Nov. 11, 2025, doi: 10.2196/73846.

[17] K. B. Kim and H. J. Baek, “Photoplethysmography in Wearable Devices: A Comprehensive Review of Technological Advances, Current Challenges, and Future Directions,” Electronics, vol. 12, no. 13, p. 2923, 2023, doi: 10.3390/electronics12132923.

[18] C. Zheng, C. Yong, Q. Wei, and F. Qiao, “Flexible Wearable Heart Rate Monitoring System and Low-Power Design: A Review,” Sensors, vol. 25, no. 16, p. 4913, 2025, doi: 10.3390/s25164913.

[19] C.-J. Ku, Y. Wang, C.-Y. Chang, M.-T. Wu, S.-T. Dai, and L.-D. Liao, “Noninvasive Blood Oxygen, Heartbeat Rate, and Blood Pressure Parameter Monitoring by Photoplethysmography Signals,” Heliyon, vol. 8, no. 11, e11698, Nov. 2022, doi: 10.1016/j.heliyon.2022.e11698.

[20] K. Sasirekha, D. Asha, P. Sivaganga, and R. Harini, “Efficient IoT-Based Heart Disease Prediction Framework with Weight Updated Trans-Bidirectional Long Short-Term Memory–Gated Recurrent Unit,” Web Intelligence, vol. 23, no. 3, pp. 502–525, 2024, doi: 10.3233/web-230063.

[21] D. Asmawati, L. A. Sanjani, C. D. Renggana, C. Fatichah, and T. Mustaqim, “Arrhythmia Classification With ECG Signal Using Extreme Gradient Boosting (XGBoost) Algorithm,” Appl. Comput. Eng., vol. 95, pp. 57–67, 2024, doi:10.54254/2755 2721/95/2024bj0057.

[22] Zhadyra Alimbayeva, Chingiz Alimbayev, Kassymbek Ozhikenov, Nurlan Bayanbay, and Aiman Ozhikenova, “Wearable ECG Device and Machine Learning for Heart Monitoring,” Sensors, vol. 24, no. 13, pp. 4201–4219, 2024, doi:10.3390/s24134201

[23] D. Sasmoko, R. Veliyanti, and R. A. Pradana, “IoT-Based System of Monitoring Realtime Air Quality With MQ135 and Automatic Chicken Feeding,” J. Technol. Inform. Eng., vol. 1, no. 2, pp. 16–24, 2022, doi:10.51903/jtie.v1i2.136.

[24] E. A. Rowani, D. Erwanto, and D. A. Widhining Kusumastutie, “Monitoring Kadar Oksigen Pasien COVID-19 Untuk Isolasi Mandiri Berbasis IoT,” J. Ilm. Sist. Inf. (JUISI), vol. 1, no. 3, pp. 14–24, 2022, doi:10.51903/juisi.v1i3.379.

[25] D. A. Setya Rahardjo, M. Andriana, and S. H. Prasastono, “Consumer Behavior and Purchase Intentions: A Machine Learning-Based Sentiment Analysis of Social Media Data,” J. Manag. Inform. (JMI), vol. 3, no. 1, pp. 157–173, 2024, doi:10.51903/jmi.v3i1.45.

Downloads

Published

2026-04-13