THE EFFECT OF IMPLEMENTATION OF THE DECISION TREE ALGORITHM ON THE ACCURACY OF THE WATER MEASURING SYSTEM USING THE YF-S401 WATER FLOW SENSOR

  • Feri Feri Yasin Universitas Telkom
  • Aulia Aulia Desy Nur Utomo Universitas Telkom
  • Bita Parga Zein Universitas Ma Chung
Keywords: dispensing system, microcontroller, conventional, decision tree algorithm, accuracy

Abstract

This study discusses the development of a microcontroller-based water dispensing system by comparing two approaches: the conventional method and the decision tree algorithm. The system was tested on various volume variations and analyzed in terms of error and accuracy. The results show that the conventional method produced an average error of 20.5%, particularly high at smaller volumes. In contrast, the decision tree algorithm achieved an average error of only 2.0% and consistently maintained accuracy above 98%. Therefore, the decision tree algorithm proves to be superior in improving the accuracy and reliability of the automatic water dispensing system.

Downloads

Download data is not yet available.

References

[1] Sachin Nathbuva, “Automated Sprinkle Irrigation Advantages and Disadvantages,” Int. J. Adv. Res. Sci. Commun. Technol., pp. 347–352, 2023, doi: 10.48175/ijarsct-13658.
[2] D. Alfarizky Ilham, A. H. Al-Azhari, and D. Djuniadi, “Rancang Bangun Sistem Transfer Liquid Berbasis Arduino Uno Menggunakan Sensor YF-S401,” Electr. J. Rekayasa dan Teknol. Elektro, vol. 18, no. 2, pp. 193–191, 2024, doi: 10.23960/elc.v18n2.2602.
[3] A. Kravchuk, O. Kravchuk, and S. Miriaiev, “Comparative evaluation of the results of water consumption calculation in residential build-ings, made according to different regulatory documents,” Probl. Water supply, Sewerage Hydraul., no. 38, pp. 38–42, 2022, doi: 10.32347/2524-0021.2022.38.38-42.
[4] Q. Wang, “The Analysis of Instrument Automatic Monitoring and Control Systems Under Artificial Intelligence,” Int. J. Inf. Technol. Syst. Approach, vol. 17, no. 1, pp. 1–13, 2024, doi: 10.4018/IJITSA.336844.
[5] J. Yan and X. Chi, “Analysis and Prediction of College Students’ Employment based on Decision Tree Classification Algorithm,” in 2023 International Conference on Distributed Computing and Electrical Circuits and Electronics (ICDCECE), 2023, pp. 1–6. doi: 10.1109/ICDCECE57866.2023.10150841.
[6] A. A. M. P. M. Paksoy, “Of azerbaijan high technical educational institutions azərbaycan ali̇ texni̇ki̇ məktəbləri̇ni̇n xəbərləri̇,” vol. 27, no. 04, 2023, doi: 10.36962/PAHTEI.
[7] A. Kamolan and L. Sampebatu, “Rancang Bangun Prototipe Pengaman Ruangan dengan Input Kode PIN dan Multi Sensor Berbasis Mikrokontroller,” J. Ampere, vol. 6, no. 1, p. 22, 2021, doi: 10.31851/ampere.v6i1.5980.
[8] N. Naibaho and A. Supriyono, “Rancang Bangun Sistem Pengisian Air Menggunakan Sensor Yf-S401 Berbasis HMI,” J. Ilm. Elektrokrisna, vol. 8, pp. 89–96, 2020.
[9] D. N. Ilham, R. A. Candra, A. Budiansyah, E. Sipahutar, M. K. Harahap, and F. Anugreni, “Implementation of Vibration Sensor and Pin Lock using Keypad for Charity Box Security,” Int. J. Multidiscip. Sci. Arts, vol. 1, no. 2, pp. 125–133, 2023, doi: 10.47709/ijmdsa.v1i2.2050.
[10] P. Rahardjo, “Sistem Penyiraman Otomatis Menggunakan Rtc (Real Time Clock) Berbasis Mikrokontroler Arduino Mega 2560 Pada Tanaman Mangga Harum Manis Buleleng Bali,” J. SPEKTRUM, vol. 8, no. 1, p. 143, 2021, doi: 10.24843/spektrum.2021.v08.i01.p16.
[11] B. Srinivas and G. S. Rao, “Design and Development Of Automatic Sanitization and Temperature Measuring System,” vol. 09, no. June, pp. 5–13, 2019, doi: 10.48047/IJIEMR/V11/ISSUE.
[12] T. Medium, “Mengenal Relay, Pengertian, Jenis, dan Fungsinya dalam Industri Otomasi,” medium.com. [Online]. Available: https://medium.com/@technologies_now/mengenal-relay-pengertian-jenis-dan-fungsinya-dalam-industri-otomasi-f0dea3565da5
[13] D. Susilo, C. Sari, and G. W. Krisna, “Sistem Kendali Lampu Pada Smart Home Berbasis IOT (Internet of Things),” ELECTRA Electr. Eng. Artic., vol. 2, no. 1, p. 23, 2021, doi: 10.25273/electra.v2i1.10504.
[14] I. D. F.- IxDF, “‘What are Design Systems?’ Interaction Design Foundation,” IxDF. Accessed: May 15, 2025. [Online]. Available: ttps://www.interaction-design.org/literature/topics/design-systems
[15] N. A. Pratama and C. Hermawan, “Aplikasi Pembelajaran Tes Potensi Akademik Berbasis Android,” Jnteti, vol. 6, no. 1, pp. 1–6, 2016, [Online]. Available: http://jurnal.unda.ac.id/index.php/Jpdf/article/view/11/13
[16] A. B. Ramadhan, S. Sumaryo, and R. A. Priramadhi, “DESAIN DAN IMPLEMENTASI PENGUKURAN DEBIT AIR MENGGUNAKAN SENSOR WATER FLOW BERBASIS IoT,” e-Proceeding Eng., vol. 6, no. 2, pp. 1–8, 2019.
[17] J. R. Quinlan, “Induction of decision trees,” Mach. Learn., vol. 1, no. 1, pp. 81–106, 1986, doi: 10.1007/bf00116251.
[18] R. Hierons, Machine learning. Tom M. Mitchell. Published by McGraw-Hill, Maidenhead, U.K., International Student Edition, 1997. ISBN: 0-07-115467-1, 414 pages. Price: U.K. £22.99, soft cover., vol. 9, no. 3. 1999. doi: 10.1002/(sici)1099-1689(199909)9:3<191::aid-stvr184>3.0.co;2-e.
[19] M. S. Ummah, CLASSIFICATIONAND REGRESSION TREES, vol. 11, no. 1. 2019. [Online]. Available: http://scioteca.caf.com/bitstream/handle/123456789/1091/RED2017-Eng-8ene.pdf?sequence=12&isAllowed=y%0Ahttp://dx.doi.org/10.1016/j.regsciurbeco.2008.06.005%0Ahttps://www.researchgate.net/publication/305320484_SISTEM_PEMBETUNGAN_TERPUSAT_STRATEGI_MELESTARI
[20] J. C. Nacher and T. Akutsu, “Analysis on critical nodes in controlling complex networks using dominating sets,” Proc. - 2013 Int. Conf. Signal-Image Technol. Internet-Based Syst. SITIS 2013, pp. 649–654, 2013, doi: 10.1109/SITIS.2013.106.
[21] B. de Ville, Introduction to Data Mining. 2001. doi: 10.1016/b978-155558242-5/50003-6.
[22] M. S. Ummah, Introduction to machine learning (4th ed.). MIT press, vol. 11, no. 1. 2019. [Online]. Available: http://scioteca.caf.com/bitstream/handle/123456789/1091/RED2017-Eng-8ene.pdf?sequence=12&isAllowed=y%0Ahttp://dx.doi.org/10.1016/j.regsciurbeco.2008.06.005%0Ahttps://www.researchgate.net/publication/305320484_SISTEM_PEMBETUNGAN_TERPUSAT_STRATEGI_MELESTARI
[23]. B. P. Zen, Abdurahman, A. Zafia, I. N. Y. Putro, and F. D. Aditama, “Multi Socket Transmission System Application with Advanced Encryption Standard Algorithm to Support Confidential Medical Data Security,” in Proceedings of the 4th International Conference on Electronics, Biomedical Engineering, and Health Informatics, A. and C. W. Triwiyanto Triwiyanto and Rizal, Ed., Singapore: Springer Nature Singapore, Apr. 2024, pp. 1–13. doi: https://doi.org/10.1007/978-981-97-1463-6_1.
Published
2025-10-22
How to Cite
Yasin, F., Desy Nur Utomo, A., & Parga Zein, B. (2025). THE EFFECT OF IMPLEMENTATION OF THE DECISION TREE ALGORITHM ON THE ACCURACY OF THE WATER MEASURING SYSTEM USING THE YF-S401 WATER FLOW SENSOR. Kurawal - Jurnal Teknologi, Informasi Dan Industri, 8(2). https://doi.org/https://doi.org/10.33479/kurawal.v8i2.1231