Prototype of an IoT-Based Automatic Water Storage System Using Fuzzy Logic for Smart Agriculture

Authors

  • Adhin Luthfi Indrawan Universitas Kebangsaan Republik Indonesia image/svg+xml
  • Oscar Hadikaryana Universitas Kebangsaan Republik Indonesia image/svg+xml
  • Subhanjaya Angga Atmaja Universitas Kebangsaan Republik Indonesia image/svg+xml

DOI:

https://doi.org/10.31848/justise.v3i1.4310

Keywords:

Internet of Things, Automatic Water Storage, Fuzzy Mamdani, Blynk, Smart Farming

Abstract

The development of Internet of Things (IoT) technology has brought significant changes to modern agricultural systems, particularly in terms of water efficiency. This research developed a prototype of an IoT-based automatic water storage system capable of adjusting water distribution according to environmental conditions in real time. The system was built using a NodeMCU ESP8266 as a control center and several sensors, including a soil moisture sensor, a rain sensor, an ultrasonic sensor, a temperature and humidity sensor, and a water flow sensor. The integration of these various sensors allows the system to detect land conditions comprehensively. Mamdani fuzzy logic is used as a decision-making method by considering variables such as soil moisture, weather conditions, and temperature. A rule-based system approach is added to provide more flexible decision rules. The sensor readings are processed by a microcontroller and then sent to the Blynk application so farmers can monitor and control the system via smartphone. Test results show that the system can adapt to various conditions. In dry soil with high temperatures, the pump automatically activates until the moisture threshold is reached. Conversely, when rain is detected or the soil is wet, the system delays watering to avoid waste. Water discharge data is also recorded in real time so that water use can be better controlled. This research demonstrates that the integration of IoT and Mamdani fuzzy logic can improve water distribution efficiency, reduce waste, and support smart farming practices. The developed system has the potential to be widely applied to agricultural land to help farmers manage water resources efficiently and sustainably.

References

C. J. As’ri, “Rancang Bangun Sistem Irigasi Otomatis dan Monitoring pada Lahan Pertanian Berbasis Internet of Things,” pp. 2–26, 2021.

J. Hoque and S. Islam, “A Fuzzy Logic- and Internet of Things-Based Smart Irrigation System †,” 2023.

X. Liu, Z. Zhao, and A. Rezaeipanah, “Intelligent and automatic irrigation system based on internet of things using fuzzy control technology,” pp. 1–19, 2025.

I. O. Adewumi and I. O. Adewumi, “Smart Irrigation Control Using IoT-Enabled Fuzzy Logic and ANFIS for Sustainable Water Management Smart Irrigation Control Using IoT-Enabled Fuzzy Logic and ANFIS for Sustainable Water Management,” pp. 0–7.

W. Wahyudi, A. I. Pradana, and H. Permatasari, “Implementasi Sistem Irigasi Otomatis Berbasis IoT untuk Pertanian Greenhouse,” J. Pendidik. dan Teknol. Indones., vol. 5, no. 2, pp. 435–446, 2025, doi: 10.52436/1.jpti.656.

Downloads

Published

2025-06-26