Microcontroller-Based Automatic pH Control System with IoT-Based Remote Monitoring on Melon Plant NFT Hydroponics

Authors

  • Muhammad Fadilan Maulana Universitas Muria Kudus
  • Noor Yulita Dwi Setyaningsih Universitas Muria Kudus

Abstract

Abstract - Hydroponic cultivation using the Nutrient Film Technique (NFT) circulates a thin, continuous film of nutrient solution through the growing channel, making the stability of the solution's potential of hydrogen (pH) a critical factor in determining nutrient solubility and root uptake efficiency. Conventional pH monitoring that relies on manual measurement using a pH meter is inefficient, labor-intensive, and prone to delayed handling due to human error, so pH fluctuations occurring outside the inspection schedule cannot be detected promptly. This study aims to design and evaluate an automatic pH monitoring and control system for the circulation of an NFT-type hydroponic system based on the Internet of Things (IoT). The system uses a pH sensor on a Soil 7-in-1 module connected to an ESP32 microcontroller as the main controller, which processes the sensor reading to activate pH-up and pH-down dosing pumps through a relay module based on predefined threshold values. The reading and control status are displayed on an LCD and a web-based dashboard for real-time, remote monitoring. Testing was carried out in two stages: evaluating the accuracy of the pH sensor against a calibrated pH meter, and evaluating the performance of the pH control system during continuous solution circulation. The results show that the pH sensor achieves an accuracy of 99.2% with an average error of 0.8%, while the control system is able to maintain the pH value within the setpoint range of 5.8-7.2 with an average response time of 30-60minutes, overshoot of 2.8% and an undershoot of 6.9%. Data transmission delay testing was also conducted under two signal conditions, namely good signal and poor signal. Good signal conditions, the system achieved an average transmission delay of 0.27 seconds, while poor signal conditions, the average delay increased to 1.08 seconds due to reduced network quality. Nevertheless, all data were successfully transmitted under both conditions, indicating that the system remains reliable even when signal quality deteriorates. The developed system is shown to be capable of automatically and continuously maintaining the stability of the nutrient solution's pH, offering a practical solution to reduce manual intervention in NFT hydroponic cultivation.

Published

2026-10-22