This paper presents a fuzzy logic-based farming system to help farmers cultivate tomatoes (Solanum lycopersicum) in a greenhouse in Algeria. To achieve high quality and a large crop, various climatic parameters in the greenhouse must be carefully maintained. These parameters are mainly the soil and environmental humidity, the amount of light, and the air temperature. The amount of irrigation water is also an important factor. In the proposed system, these parameters are intelligently controlled using fuzzy logic. The inputs to the developed fuzzy logic controller are the humidity and temperature of the air, the light intensity in the greenhouse, and the humidity of the soil, in addition to the level of water in the irrigation reservoir. The effect of these factors on the growth of the plant was modeled using a fuzzy logic controller developed using MATLAB. Sensors were used to read the values of these parameters and feed them to the inference engine of the system, which was an Arduino UNO card with an Atmega328 processor. The outputs of the system were the speed of the ventilation fan, light intensity, and water flow from the irrigation pump. The membership intervals for these variables were defined, and the system was tested with varying inputs. The simulation results showed that the proposed system intelligently automates the process of irrigation, ventilation, and lighting of the greenhouse.
Bouketir et al. (Sat,) studied this question.