Journal of Industrial Automation and Electrical Engineering
Vol. 3 No. 1 (2026): Vol 3 No 1 (2026): June 2026

Fuzzy Logic–Based Greenhouse Temperature Control for Tropical Tomatoes Using ESP32

Arthoriq Daffa Oliyan (Department of Electrical Engineering, Universitas Negeri Padang, Indonesia)
Dwiprima Elvanny Myori (Department of Electrical Engineering, Universitas Negeri Padang, Indonesia)



Article Info

Publish Date
01 Jul 2026

Abstract

Greenhouses play a crucial role in maintaining optimal environmental conditions for tropical tomato cultivation. However, temperature fluctuations in tropical climates often reduce crop quality and productivity. This study aims to design an automatic temperature control system based on the ESP32 microcontroller using the Mamdani fuzzy logic method to maintain stability within the optimal range of 25–30°C. The system employs a DHT11 sensor for temperature measurement, a relay to control the heater, and an L298N motor driver to regulate the cooling fan. Temperature data are displayed on a TFT screen and transmitted via Wi-Fi to the Blynk application for real-time remote monitoring. Experimental results show that the system maintained temperature stability with an average deviation of –0.8°C from the 30°C setpoint and response times ranging from 5 to 109 seconds. The fuzzy logic algorithm successfully adjusted fan speed (50–225 PWM) and heater status adaptively, making the system more efficient than conventional fixed setpoint control. Furthermore, wireless communication through Blynk demonstrated low latency (<6 seconds) and accurate data synchronization. Therefore, this system can improve energy efficiency, reduce manual supervision, and support optimal growth of tropical tomato plants in greenhouses

Copyrights © 2026






Journal Info

Abbrev

jiaee

Publisher

Subject

Control & Systems Engineering Electrical & Electronics Engineering Energy Engineering

Description

Journal of Industrial Automation and Electrical Engineering (JIAEE) is an open-access peer-reviewed journal which is providing a platform to researchers, scientists, engineers, and practitioners/professionals throughout the world to publish the latest creations and achievement, future challenges and ...