ECG Simulator Based on Microcontroller Equipped with Arrhythmia Signal

  • M. Ridha Mak'ruf Department of Medical Electronics Technology, Poltekkes Kemenkes Surabaya
  • Andjar Pudji Department of Medical Electronics Technology, Poltekkes Kemenkes Surabaya
  • Bedjo Utomo Department of Medical Electronics Technology, Poltekkes Kemenkes Surabaya, Indonesia
  • I Dewa Gede Hari Wisana Department of Medical Electronics Technology, Poltekkes Kemenkes Surabaya, Indonesia
  • Torib Hamzah Department of Medical Electronics Technology, Poltekkes Kemenkes Surabaya, Indonesia
  • Lamidi Lamidi Department of Medical Electronics Technology, Poltekkes Kemenkes Surabaya, Indonesia
  • Denis Kurniar Wicaksono Department of Medical Electronics Technology, Poltekkes Kemenkes Surabaya, Indonesia
  • Sedigheh Ashgari Baighout Mohaghegh Ardabili University, Ardabili, Iran
Keywords: Arrhytmia, Arduino Mega 2560, DAC MCP4921, Resistor Network


Electrocardiograph (ECG) is one of the diagnostic sciences that is often studied in modern medicine, used to detect damage to the components of the heart or disorders of the heart rhythm called arrhythmias. The purpose of this research is to develop an Electrocardiograph simulator that is equipped with arrhythmia. The main design consists of an Arduino Mega 2560 microcontroller, MCP4921 DAC (Digital to Analog Converter) circuit, a network resistor, and a sensitivity selection circuit. The MCP4921 type DAC converts the digital signal data into analog data which will then be forwarded to the resistor network circuit as a signal formation for each lead. The basic signal image data used for the formation of normal Electrocardiograph and arrhythmias were taken from the Electrocardiograph recorder using Phantom Electrocardiograph. Based on the readings on the Beat Per Minute setting of the module to the Beat Per Minute printout on the Electrocardiograph recorder, the error rate value for the Normal Sine Rhythm parameter is 0.790% for Beat Per Minute 30, 0.383% for Beat Per Minute 60, 0.535% for Beat Per Minute 120, 0.515% for Beat Per Minute 180 and 0.593% for Beat Per Minute 240. The error rate for the Arrhythmia parameter is 2.076% for ventricular tachycardia Beat Per Minute 160 and 0.494% for Supraventricular Tachycardia Beat Per Minute 200. The design of the Electrocardiograph simulator can simulate the signals of the human body and it can be used as a medium in the learning process in the world of health


Download data is not yet available.


S. Y. Lee, J. H. Hong, C. H. Hsieh, M. C. Liang, S. Y. C. Chien, and K. H. Lin, “Low-power wireless ECG acquisition and classification system for body sensor networks,” IEEE J. Biomed. Heal. Informatics, vol. 19, no. 1, pp. 236–246, 2015.

S. Mahmud, H. Wang, Y. Kim, and D. Li, “An inexpensive and ultra-low power sensor node for wireless health monitoring system,” in International Conference on e-health Networking, Applications and Services (HealthCom), 2015, pp. 495–500.

M. Gerais, B. Fg, R. Aaa, R. RS, R. Es, and D. F. Jb, “Quantitative Analysis of Normal Electrocardiogram from Tele Minas Saúde,” J. Biostat. Biometric Appl., vol. 3, no. 2, pp. 2–5, 2018.

P. J. Michalek, “An Authentic ECG Simulator,” in, 2006, pp. 1–117.

I. D. Kotadia, S. E. Williams, and M. O’Neill, “Supraventricular tachycardia: An overview of diagnosis and management,” Clin. Med. (Northfield. Il)., vol. 20, no. 1, p. 43, 2020.

E. Güney, Z. Ekşi, and M. Çakiroǧlu, “A novel ECG simulator based on MATLAB Web Figure,” Adv. Eng. Softw., vol. 45, no. 1, pp. 167–174, 2012.

B. E. Moody, “Rule-based methods for ECG quality control,” Comput. Cardiol. (2010)., vol. 38, pp. 361–363, 2011.

J. S. Coviello, “ECG interpretation made incredibly easy!: Sixth edition,” ECG Interpretation Made Incredibly Easy!: Sixth Edition. pp. 1–392, 2015.

N. Osteraas, “Neurologic complications of brady-arrhythmias,” in Handbook of Clinical Neurology, vol. 177, Elsevier, 2021, pp. 163–174.

S. S. Stegman, J. M. Burroughs, and R. W. Henthorn, “Asymptomatic brady arrhythmias as a marker for sleep apnea: appropriate recognition and treatment may reduce the need for pacemaker therapy,” Pacing Clin. Electrophysiol., vol. 19, no. 6, pp. 899–904, 1996.

M. A. Othman, N. M. Safri, and N. Zakaria, “VENTRICULAR ARRHYTHMIAS CLASSIFICATION AND ONSET DETERMINATION SYSTEM,” J. Teknol., vol. 78, no. 7–5, 2016.

I. Valais, G. Koulouras, G. Fountos, C. Michail, D. Kandris, and S. Athinaios, “Design and Construction of a Prototype ECG Simulator,” J. Sci. Technol., no. January, 2014.

R. Avanzato and F. Beritelli, “Automatic ECG diagnosis using convolutional neural network,” Electronics, vol. 9, no. 6, p. 951, 2020.

W. Olivia and A. Ahmad, “Electrocardiogram Calibrator Design And Construct Of Electrocardiogram Calibrator,” Ranc. Bangun Kalibrator Elektrokardiogram Des. Constr. Electrocardiogram Calibrator, vol. XIX, no. 1, pp. 9–17, 2017.

G. M. Tani and P. C. Nugraha, “Microcontroller Based ECG (Phantom electrocardiograph) Simulation (Gregorius Mario Tani, Priyambada Cahya Nugraha, Syaifudin),” pp. 1–9, 2017.

I. D. G. B. Whinangun, A. Pudji, M. R. Makruf, B. Utomo, and S. Luthfiyah, “Electrocardiograph Simulator Based on Microcontroller,” J. Teknokes, vol. 12, no. 1, pp. 5–13, 2019.

H. Shirzadfar and M. Khanahmadi, “Design and development of ECG simulator and microcontroller based displayer,” J. Biosens. Bioelectron., vol. 9, no. 3, p. 1000256, 2018.

R.-I. Ciucu, G.-C. Seriţan, D.-A. Dragomir, C. Cepişcă, and F.-C. Adochiei, “ECG generation methods for testing and maintenance of cardiac monitors,” in 2015 E-Health and Bioengineering Conference (EHB), 2015, pp. 1–4.

H. Zhou, K. M. Hou, J. Ponsonnaille, L. Gineste, and C. De Vaulx, “A real-time continuous cardiac arrhythmias detection system: Recad,” in 2005 IEEE Engineering in Medicine and Biology 27th Annual Conference, 2006, pp. 875–881.

E. Tadamura et al., “Assessment of regional and global left ventricular function by reinjection Tl-201 and rest Tc-99m sestamibi ECG-gated SPECT: comparison with three-dimensional magnetic resonance imaging,” J. Am. Coll. Cardiol., vol. 33, no. 4, pp. 991–997, 1999.

H. Dogan et al., “Effects of heart rate, filling and slice thickness on the accuracy of left ventricular volume measurements in a dynamic cardiac phantom using ECG-gated MDCT,” Br. J. Radiol., vol. 81, no. 967, pp. 577–582, 2008.

A. Agarwal, “An Embedded system for determining arrhythmia,” in 2012 Third International Conference on Computing, Communication and Networking Technologies (ICCCNT’12), 2012, pp. 1–4.

S. O. Ardila, E. Yulianto, and S. Sumber, “Digital ECG Phantom Design to Represent the Human Heart Signal for Early Test on ECG Machine in Hospital,” Int. J. Adv. Heal. Sci. Technol., vol. 1, no. 1, pp. 14–19, 2021.

P. Martens et al., “Sacubitril/valsartan reduces ventricular arrhythmias in parallel with left ventricular reverse remodeling in heart failure with reduced ejection fraction,” Clin. Res. Cardiol., vol. 108, no. 10, pp. 1074–1082, 2019.

How to Cite
M. Mak’ruf, “ECG Simulator Based on Microcontroller Equipped with Arrhythmia Signal”, Jurnal Teknokes, vol. 15, no. 2, pp. 103-109, Jun. 2022.
Biomedical Engineering