A Low-Cost Hydroponic Monitoring System with Internet of Things and Fuzzy Logic
DOI:
https://doi.org/10.62411/jcta.12059Keywords:
Intelligent System, Mamdani Fuzzy Logic Algorithm, Microcontroller, Online Application, Real-time, Sensor, WhatsApp NotificationAbstract
The need for urban communities to consume vegetables is increasing. This has caused people to start cultivating vegetables using hydroponic techniques. However, due to their busy activities, they do not have enough time to monitor and control hydroponics, which must always be in ideal conditions. This paper designs and implements an Internet of Things-based monitoring system to help hydroponic owners monitor their hydroponics anywhere and anytime. The built system requires a monitoring device assembled using a NodeMCU ESP8266 microcontroller, a pH detection detector sensor, and a DHT22 temperature and humidity sensor. This system uses the Mamdani Fuzzy Logic algorithm to determine warnings to be displayed on the application interface when the water pH, temperature, and humidity are in certain conditions. The Mamdani Fuzzy Logic algorithm can interpret environmental data into a warning that humans can easily understand, even if they lack technical expertise. In addition to being able to help monitor, this system also allows owners to find out what elements need to be added or changed for their hydroponic place. Our evaluation results show that the defuzzification stage in the application has high accuracy, which is 99.92%, compared to Matlab’s results.References
D. Adidrana et al., “Simultaneous Hydroponic Nutrient Control Automation System Based on Internet of Things,” JOIV Int. J. Informatics Vis., vol. 6, no. 1, p. 124, Mar. 2022, doi: 10.30630/joiv.6.1.865.
R. S. Velazquez-Gonzalez, A. L. Garcia-Garcia, E. Ventura-Zapata, J. D. O. Barceinas-Sanchez, and J. C. Sosa-Savedra, “A Review on Hydroponics and the Technologies Associated for Medium- and Small-Scale Operations,” Agriculture, vol. 12, no. 5, p. 646, Apr. 2022, doi: 10.3390/agriculture12050646.
T. Gebre and B. Gebremedhin, “The mutual benefits of promoting rural-urban interdependence through linked ecosystem services,” Glob. Ecol. Conserv., vol. 20, p. e00707, Oct. 2019, doi: 10.1016/j.gecco.2019.e00707.
S. Kumar, P. Tiwari, and M. Zymbler, “Internet of Things is a revolutionary approach for future technology enhancement: a review,” J. Big Data, vol. 6, no. 1, p. 111, Dec. 2019, doi: 10.1186/s40537-019-0268-2.
J. P. Ntayagabiri, Y. Bentaleb, J. Ndikumagenge, and H. EL Makhtoum, “A Comprehensive Approach to Protocols and Security in Internet of Things Technology,” J. Comput. Theor. Appl., vol. 2, no. 3, pp. 324–341, Feb. 2024, doi: 10.62411/jcta.11660.
S. O. Ooko and S. M. Karume, “Application of Tiny Machine Learning in Predicative Maintenance in Industries,” J. Comput. Theor. Appl., vol. 2, no. 1, pp. 131–150, Aug. 2024, doi: 10.62411/jcta.10929.
B. Kosko and S. Isaka, “Fuzzy Logic,” Sci. Am., vol. 269, no. 1, pp. 76–81, 1993.
Y. Shen, W. Pedrycz, X. Jing, A. Gacek, X. Wang, and B. Liu, “Identification of Fuzzy Rule-Based Models With Output Space Knowledge Guidance,” IEEE Trans. Fuzzy Syst., vol. 29, no. 11, pp. 3504–3518, Nov. 2021, doi: 10.1109/TFUZZ.2020.3024804.
I. Á. Harmati and L. T. Kóczy, “On the Convergence of Input-Output Fuzzy Cognitive Maps,” in Rough Sets, 2020, pp. 449–461. doi: 10.1007/978-3-030-52705-1_33.
G. Niu and J. Masabni, “Hydroponics,” in Plant Factory Basics, Applications and Advances, T. Kozai, G. Niu, and J. Masabni, Eds. Elsevier, 2022, pp. 153–166. doi: 10.1016/B978-0-323-85152-7.00023-9.
S. Das and S. Namasudra, “Introducing the Internet of Things: Fundamentals, challenges, and applications,” in Role of Internet of Things and Machine Learning in Smart Healthcare, vol. 137, S. Namasudra, Ed. Elsevier, 2025, pp. 1–36. doi: 10.1016/bs.adcom.2024.06.004.
A. Morchid, R. El Alami, A. A. Raezah, and Y. Sabbar, “Applications of internet of things (IoT) and sensors technology to increase food security and agricultural Sustainability: Benefits and challenges,” Ain Shams Eng. J., vol. 15, no. 3, p. 102509, Mar. 2024, doi: 10.1016/j.asej.2023.102509.
M. Mahbub, “A smart farming concept based on smart embedded electronics, internet of things and wireless sensor network,” Internet of Things, vol. 9, p. 100161, Mar. 2020, doi: 10.1016/j.iot.2020.100161.
Y. He, P. Nie, Q. Zhang, and F. Liu, Agricultural Internet of Things. Cham: Springer International Publishing, 2021. doi: 10.1007/978-3-030-65702-4.
R. Lakshmanan, M. Djama, S. Perumal, and R. Abdulla, “Automated smart hydroponics system using internet of things,” Int. J. Electr. Comput. Eng., vol. 10, no. 6, p. 6389, Dec. 2020, doi: 10.11591/ijece.v10i6.pp6389-6398.
H. C. Nguyen, B. T. V. Thi, and Q. H. Ngo, “Automatic Monitoring System for Hydroponic Farming: IoT-Based Design and Development,” Asian J. Agric. Rural Dev., vol. 12, no. 3, pp. 210–219, Oct. 2022, doi: 10.55493/5005.v12i3.4630.
T. Lonergan and J. Ringwood, “Linguistic Modelling of Short-Timescale Electricity Consumption Using Fuzzy Modelling Techniques,” in Proceeding of the Irish DSP and Control Colloquium (IDSPCC), 1995.
P. Venkata Subba Reddy, “Fuzzy logic based on Belief and Disbelief membership functions,” Fuzzy Inf. Eng., vol. 9, no. 4, pp. 405–422, Dec. 2017, doi: 10.1016/j.fiae.2017.12.001.
P. harliana and R. Rahim, “Comparative Analysis of Membership Function on Mamdani Fuzzy Inference System for Decision Making,” J. Phys. Conf. Ser., vol. 930, p. 012029, Dec. 2017, doi: 10.1088/1742-6596/930/1/012029.
M. N. T. Perera et al., “Intelligent Algorithm for Optimizing Hydroponic Solution in IoT-Integrated Agriculture Systems,” in 2024 Moratuwa Engineering Research Conference (MERCon), Aug. 2024, pp. 133–138. doi: 10.1109/MERCon63886.2024.10689134.
I. M. Sudana, O. Purnawirawan, and U. M. Arief, “Prediction system of hydroponic plant growth and development using algorithm Fuzzy Mamdani method,” in AIP Conf. Proc., 2017, p. 020052. doi: 10.1063/1.4976916.
Y. I. Nakhoda, N. P. Agustini, I. B. Ariyanto, and A. Lomi, “Implementation of Mamdani and Sugeno Method for Load Forecasting: A Case Study of Malang City,” J. Telecommun. Electron. Comput. Eng., vol. 10, no. 2–3, pp. 97–103, May 2018.
S. S. S, A. Yulfida, and Y. Sumitro, Budidaya Sayuran Hidroponik Bertanam Tanpa Media Tanah. Pekanbaru-Riau, Indonesia: Balai Pengkajian Teknologi Pertanian (BPTP) Balitbangtan Riau, Badan Penelitian dan Pengembangan Pertanian, Kementerian Pertanian, 2018.
A. H. Safira, E. R. Syarifatuddiniyah, D. Susyanti, Purnomo, and O. B. Dewa, Pelatihan Budidaya Selada Dengan Sistem Hidroponik Dan Nutrisi Air Kolam Ikan Lele. 2021.
How to Electronics, “DIY pH Meter using pH Sensor and Arduino with OLED Display.” 2022.
Random Nerd Tutorials, “ESP32 with DHT11/DHT22 Temperature and Humidity Sensor using Arduino IDE.” 2019.
Make-It.ca, “NodeMCU ESP8266 Detailed Review: Specifications, Overview, and Setting Up Your NodeMCU.” 2022.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Lanny Sitanayah, Hizkia R.M. Joseph, Junaidy B. Sanger

This work is licensed under a Creative Commons Attribution 4.0 International License.