Design and Construction of Automatic Mineral Water Refilling System Using Fuzzy Logic

Authors

  • Riga Sahputra Dewa Universitas Sultan Ageng Tirtayasa
  • Desmira Desmira Universitas Sultan Ageng Tirtayasa
  • Irwanto Irwanto Universitas Sultan Ageng Tirtayasa

DOI:

https://doi.org/10.55606/jeei.v6i1.6731

Keywords:

Automatic Control System, ESP32, Fuzzy Logic, Ultrasonic Sensor, Water Filling

Abstract

This research discusses the design and construction of an automatic mineral water refilling system using fuzzy logic based on the ESP32 microcontroller. The background of this research is the increasing environmental pollution due to the use of disposable plastic mineral water bottles in the campus environment. The system is designed to be able to fill water containers automatically with IR sensor-based control and ultrasonic sensors to detect the presence of containers and water levels. The research method used is the Waterfall method which includes the planning, design, implementation, and system testing stages. The test results show that the system is able to fill water with an average effective volume of 83.2 % of the container capacity, with a safe limit for automatic stopping at a distance of less than 2 cm from the rim of the container. The implementation of Mamdani fuzzy logic allows the system to make filling decisions based on sensor conditions adaptively, resulting in efficient and accurate pump control. Thus, this system can be an innovative solution to reduce plastic waste while supporting efficient water use in the campus environment.

References

K. LHK, “LAW OF THE REPUBLIC OF INDONESIA NUMBER 32 OF 2009 CONCERNING ENVIRONMENTAL PROTECTION AND MANAGEMENT,” Law No. 32 of 2009 , no. 1, pp. 1–71, 2009, [Online]. Available at: https://shorturl.at/FmWNO

NI Ramadhan, “Regulation of Criminal Acts of Environmental Pollution in Indonesia : Study of Soil Pollution in Brebes,” Log. J. Multidiscip. Stud. , vol. 09, pp. 96–102, 2018.

DD Purwanto and ES Honggara, “Classification of Air Pollution Standard Index Calculation Results Categories with Gausian Naïve Bayes (Case Study: ISPU DKI Jakarta 2020),” J. Intell. Syst. Comput. , vol. 4, no. 2, pp. 102–108, 2022.

S. Candrasari et al. , “Recovery of the Impact of Air Pollution on Public Health in Indonesia,” Prof. J. Komun. and Adm. Public , vol. 10, no. 2, pp. 849–854, 2023.

JEA Liku, W. Mulya, MK Sipahutar, IP Sari, and Noeryanto, “Identifying Sources of Wastewater Pollution in the Workplace,” J. Pengabdi. Masy. , vol. 1, no. 1, p. 1, 2022.

A. Farhan, CC Lauren, and NA Fuzain, “Analysis of Water Pollution Factors and the Impact of Community Consumption Patterns in Indonesia,” J. Law and Human Rights Journal of Science , vol. 2, no. 12, pp. 1095–1103, 2023.

F. Sugiester S, YW Firmansyah, W. Widiyantoro, MF Fuadi, Y. Afrina, and A. Hardiyanto, "The Impact of River Pollution in Indonesia on Health Problems : Literature Review,” J. Ris. Health. Poltekkes Depkes Bandung , vol. 13, no. 1, pp. 120–133, 2021.

S. Supriatna, S. Siahaan, and I. Restiaty, “Soil Pollution by Pesticides in Vegetable Plantations in Eka Jaya Village, South Jambi District, Jambi City (Study of the Presence of Macrozoic Fungi and Earthworms),” J. Ilm. Univ. Batanghari Jambi , vol. 21, no. 1, p. 460, 2021.

Widia Gusti, Noni Noviana, Rita Sartika, Lia Anggraini, Andika Pradipta, and Henny Johan, “Soil Pollution Study as Enrichment Material for Environmentally Friendly Technology Topics for Junior High School Students,” J. Educator. Science , vol. 12, no. 4, pp. 1252–1258, 2022.

AN Marhamah, B. Santoso, and B. Santoso, “Quality of refilled drinking water at drinking water depots in South Manokwari Regency,” Cassowary , vol. 3, no. 1, pp. 61–71, 2020.

NI Firdausi, “The Effect of Storage Time of Refilled Drinking Water on Organic Substances,” Kaos GL Derg. , vol. 8, no. 75, pp. 147–154, 2020.

MN Nizam, Haris Yuana, and Zunita Wulansari, “Esp 32 Microcontroller as a Web-Based Door Monitoring Tool,” JATI (Jurnal Mhs. Tek. Inform. , vol. 6, no. 2, pp. 767–772, 2022.

IPAW Widyatmika, NPAW Indrawati, IWWA Prastya, IK Darminta, IGN Sangka, and AANG Sapteka, “Comparison of Arduino Uno and ESP32 Performance on Current and Voltage Measurement,” J. Automation Control and Instrumentation , vol. 13, no. 1, pp. 35–47, 2021.

HB Nurjaman and T. Purnama, “Solar Power Plants (PLTS) as a Household Renewable Energy Solution,” J. Electrical Education , vol. 6, no. 2, pp. 136–142, 2022.

MA Rahmanta, A. Syamsuddin, F. Tanbar, and ..., “Analysis of Photovoltaic (PV) Module Technology Development to Increase Solar Power Plant (PLTS) Penetration in Indonesia,” J. Offshore Oil … , vol. 7, no. 1, pp. 22–33, 2023.

M. Nasution, “Characteristics of Batteries as Specific Electrical Energy Storage,” Print) J. Electr. Technol. , vol. 6, no. 1, pp. 35–40, 2021.

M. Badrul, “Application of the Waterfall Method for Designing an Inventory Information System at the Bintang Terang Ceramics Store,” PROSISKO J. Research and Development and Obs. Comput. System , vol. 8, no. 2, pp. 57–52, 2021.

FG • BC Kuo, Automatic Control Systems . Wiley, 2017.

OMH Anssari, “Introduction to Control Systems,” researchgate , no. June, 2022, doi: 10.13140/RG.2.2.18474.29128.

J. Ayong Hiendro, Ismail Yusuf, F. Trias Pontia Wigyarianto, Kho Hie Khwee, "Optimum Renewable Fraction for Grid-connected Photovoltaic in Office Building Energy Systems in Indonesia," Int. J. Power Electron. Drive Syst. , vol. 9, no. 4, p. 1866–1874, 2018, doi: 10.11591/ijpeds.v9.i4.pp1866-1874.

HS and Syafii, “Online Monitoring System and Performance Analysis of Rooftop Solar Power Plants Connected to the PLN Grid,” J. Rekayasa Elektr. , vol. 14, no. 2, pp. 136–144, 2018, doi: 10.17529/jre.v14i2.11141.

YBY Dina Maizana, Muhathir, Habib Satria, Moranaim Mungkin, Muhammad Fadlan Siregar, “Optimization of solar panel usage in grid-connected hybrid energy systems using fuzzy method,” J. Tech. Elektro, Teknol. Inf. dan Komput. Vol. , vol. 8, no. 2, pp. 132–140, 2024.

E. Tarigan, “Techno-Economic Analysis of Residential Grid-Connected Rooftop Solar PV Systems in Indonesia Under MEMR 26 / 2021 Regulation,” Int. J. Energy Econ. Policy , vol. 14, no. 1, p. 412–417, 2024.

L. Panjaitan, D. Saripurna, M. Kom, and G. Syahputra, “Fuzzy Logic in Decision Support Systems to Determine Project Tender Winners (Case Study at PT. Ida Putri Senandung),” J. Cyber Tech , 2019.

MA Triwinanto, BI Nugroho, and G. Gunawan, “Application of Fuzzy Mamdani for Mobile Phone Selection Decision Support System,” E-Link J. Tech. Electrical and Inform. , vol. 18, no. 2, p. 67, 2023.

Downloads

Published

2026-02-16

How to Cite

Riga Sahputra Dewa, Desmira Desmira, & Irwanto Irwanto. (2026). Design and Construction of Automatic Mineral Water Refilling System Using Fuzzy Logic. Journal of Engineering, Electrical and Informatics, 6(1), 69–79. https://doi.org/10.55606/jeei.v6i1.6731