skip to main content

Rancang Bangun Sistem Dosing Nutrisi Otomatis Berbasis ESP32 Menggunakan Kendali PID Adaptif dan Pemantauan IoT

*Fahren Diaz  -  Universitas Diponegoro, Indonesia
Fakhruddin Mangkusasmito  -  Universitas Diponegoro, Indonesia

Citation Format:
Abstract

Nutrient management in modern hydroponic systems requires a high degree of precision to optimize plant growth. Controlling nutrient concentration levels in parts per million (PPM)—whether manually or using conventional on/off systems—is often inefficient and prone to causing overshoot. This study aims to design and build a prototype of an automated nutrient dosing system using an ESP32 microcontroller equipped with an adaptive Proportional-Integral-Derivative (PID) control algorithm and integrated with Internet of Things (IoT) technology. The system uses a Total Dissolved Solids (TDS) sensor to measure solution concentration, a DS18B20 temperature sensor for water temperature compensation, and three DC peristaltic pump actuators controlled via an L298N driver module using PWM signals. A heuristic gain scheduling (auto-tuning) algorithm was implemented so that the PID parameters could dynamically adjust their values based on the magnitude of the actual error. Test results showed that the adaptive PID method was able to respond quickly and settle stably without excessive overshoot. In a rise test with a setpoint of 400 PPM, the system achieved a rise time of 215.6 seconds with minimal overshoot of 0.20% and a steady-state error of 5.07 PPM. This system also proved resilient in handling sudden external disturbances in the form of added distilled water, with a recovery time of 96.5 seconds and a maximum overshoot of 5.00%. The integration of IoT infrastructure via the Blynk platform, automatic logging to Google Spreadsheets, and the presence of a Local Web Server successfully enabled users to monitor operations in real-time from a distance. It can be concluded that the design of this device effectively addresses the weaknesses of static control systems and provides high operational efficiency in hydroponic cultivation.

Keywords: Hydroponics, ESP32, Adaptive PID, TDS Sensor, Internet of Things (IoT), Automatic Dosing.

Article Metrics:

  1. S. Hendriany, "Pengaruh PPM dan pH Pada Pertumbuhan Daun Mint (Mentha pipperita L.) Dalam Sistem Hidroponik," Prosiding SEMNASBIO (Seminar Nasional Biologi), vol. 8, pp. 585-590, 2024, Universitas Negeri Padang
  2. V. Ferdiansyah, S. A. Oktavia, Y. Mulyanto, dan Y. W, "Rancang Bangun Prototype Sistem Monitoring Dan Kontrol Tanaman Hidroponik Berbasis Internet of Things (IoT) Menggunakan Microcontroller ESP32," Jurnal BIT, vol. 22, no. 1, 2025, Universitas Teknologi Sumbawa
  3. A. N. Fuad dan M. S. Zuhrie, "Rancang Bangun Sistem Monitoring Dan Pengontrolan pH Nutrisi Pada Hidroponik Sistem Nutrient Film Technique (NFT) Menggunakan Pengendali PID Berbasis Arduino Uno," Jurnal Teknik Elektro, vol. 8, no. 3, pp. 797, 2019, Universitas Negeri Surabaya
  4. S. Bahri, H. A. Lestari, dan A. Kurniawan, "Monitoring Greenhouse Berbasis Internet of Things (IoT) Menggunakan ESP32-Cam Pada Tanaman Cabai Hidroponik Dutch Bucket," J-ABET (Journal of Agricultural and Biosystem Engineering Technology), vol. 4, no. 1, 2023, Universitas Nahdlatul Ulama Purwokerto
  5. J. Veda, M. Rivai, dan S. Suwito, "Sistem Kontrol dan Monitoring Pemupukan NPK Tanaman dengan Mikrokontroler ESP32," Jurnal Teknik ITS, vol. 11, no. 2, 2022
  6. K. Ogata, Modern Control Engineering, 5th ed. Boston, MA, USA: Prentice Hall, 2010
  7. R. Cameron dan M. Wilkins, Hydroponic Food Production: A Definitive Guidebook for the Advanced Home Gardener and the Commercial Hydroponic Grower, 8th ed. Boca Raton, FL: CRC Press, 2022
  8. Espressif Systems, ESP32 Series Datasheet V4.3. Shanghai, China: Espressif Systems, 2023
  9. D. P. Purnomo, Sensor dan Transduser dalam Industri Pertanian. Yogyakarta: Andi Publisher, 2021
  10. Texas Instruments, ADS111x Ultra-Small, Low-Power, I2C-Compatible, 860-SPS, 16-Bit ADCs With Internal Reference, Oscillator, and Programmable Comparator Datasheet. Dallas, TX: Texas Instruments, 2018
  11. J. P. Bentley, Principles of Measurement Systems, 4th ed. Harlow, England: Pearson Prentice Hall, 2005
  12. M. H. Rashid, Power Electronics: Circuits, Devices, and Applications, 4th ed. Pearson, 2013
  13. R. Buyya dan A. V. Dastjerdi, Internet of Things: Principles and Paradigms. Cambridge, MA: Morgan Kaufmann, 2016
  14. [Blynk Inc., Blynk IoT Platform Documentation: Architecture and Components. New York: Blynk Inc., 2023
  15. M. R. Effendi, R. R. A. Siregar, dan H. S. Maulana, "Sistem Datalogger Internet of Things (IoT) Berbasis Web Menggunakan Google Sheets," Jurnal Ilmiah Teknik Elektro Komputer dan Informatika, vol. 7, no. 2, pp. 150-158, 2021

Last update:

No citation recorded.

Last update: 2026-11-05 05:13:40

No citation recorded.