RANCANG BANGUN SISTEM IOT UNTUK OTOMASI PENERANGAN DAN PENYIRAMAN TANAMAN BUAH NAGA DENGAN METODE FUZZY
IOT SYSTEM DESIGN FOR DRAGON FRUIT PLANTS LIGHTING AND WATERING AUTOMATION USING FUZZY METHOD
Buah naga merupakan komoditas bernilai ekonomi tinggi yang semakin populer di pasar global, namun memerlukan perawatan intensif terutama dalam hal penyiraman dan pencahayaan yang tepat. Di Indonesia, budidaya buah naga sering menghadapi kendala karena ketergantungan pada sistem manual yang kurang presisi. Namun, sistem konvensional yang ada selama ini seringkali kurang efisien karena tidak mampu beradaptasi secara dinamis dengan perubahan kondisi lingkungan yang fluktuatif. Oleh karena itu, penelitian ini bertujuan mengembangkan sistem otomatisasi berbasis IoT yang mampu mengoptimalkan pertumbuhan tanaman buah naga melalui kontrol cerdas penyiraman dan penerangan menggunakan metode fuzzy logic yang lebih adaptif. Sistem ini dirancang dengan mikrokontroler ESP32 sebagai pusat kendali, terintegrasi dengan sensor kelembapan tanah YL-69 dan sensor cahaya LDR. Kedua sensor telah dikalibrasi dengan tingkat akurasi tinggi, menunjukkan error masing-masing sebesar 2,85% untuk sensor kelembapan dan 2,80% untuk sensor cahaya. Data dari sensor kemudian diproses menggunakan logika fuzzy untuk menghasilkan kontrol proporsional melalui modulasi PWM terhadap aktuator pompa air dan lampu LED. Implementasi sistem menunjukkan performa yang handal, dimana lampu menyala penuh saat intensitas cahaya ≤110 lux, redup pada 110-640 lux, dan mati di atas 640 lux. Sementara pompa bekerja maksimal saat kelembapan tanah ≤45%, setengah daya pada 45-70%, dan berhenti di atas 70%. Platform Blynk digunakan untuk memantau kondisi lingkungan secara real-time melalui antarmuka mobile yang user-friendly. Pengujian selama 24 jam menunjukkan bahwa sistem ini berfungsi responsif dan adaptif, serta berpotensi meningkatkan efisiensi penggunaan air dan energi dibanding sistem konvensional.
Kata Kunci: Buah Naga, Internet of Things, fuzzy logic, ESP32
Dragon fruit is a high-value commodity that has gained increasing popularity in the global market, yet requires intensive care, particularly in terms of precise watering and lighting management. In Indonesia, dragon fruit cultivation often faces challenges due to reliance on imprecise manual systems. Conventional systems currently available are frequently inefficient as they cannot dynamically adapt to fluctuating environmental conditions. Therefore, this research aims to develop an IoT-based automation system capable of optimizing dragon fruit growth through intelligent watering and lighting control using more adaptive fuzzy logic methods. The system is designed with an ESP32 microcontroller as the control center, integrated with a YL-69 soil moisture sensor and LDR light sensor. Both sensors were calibrated with high accuracy, showing errors of 2.85% for the moisture sensor and 2.80% for the light sensor respectively. Sensor data is then processed using fuzzy logic to generate proportional control through PWM modulation for water pump and LED light actuators. System implementation demonstrates robust performance, where lights turn on fully at light intensity ≤110 lux, dim at 110-640 lux, and turn off above 640 lux. Meanwhile, the pump operates at maximum capacity when soil moisture ≤45%, at half power between 45-70%, and stops above 70%. The Blynk platform is utilized for real-time environmental monitoring through a user-friendly mobile interface. Twenty-four hours test showed that the system is responsive and adaptive, and has the potential to increase water and energy efficiency compared to conventional systems.
Keyword: Dragon Fruit, Internet of Things, fuzzy logic, ESP32