Bird pest attacks on rice plants are one of the main factors causing decreased crop yields with losses that can reach 30–50%. Manual control methods are considered less effective because they require continuous monitoring by farmers. This study aims to design and build an Internet of Things (IoT)-based bird pest repellent using the Wemos D1 Mini ESP8266 and a Passive Infrared (PIR) sensor with the Mamdani Fuzzy method as a decision-making system. The input variables in the system consist of the intensity of movement and frequency of bird appearance, while the output variable is the level of repellent response through a buzzer and servo motor. The inference process uses the Mamdani method with the MIN operator and defuzzification using the centroid method. The results show that the system is able to automatically detect the presence of pests, determine the level of repellent response according to field conditions, and send notifications in real-time via Telegram Bot. The implementation of the Mamdani Fuzzy method produces a more adaptive system than the crisp logic method because it is able to adjust the response based on the detected threat level.
Copyrights © 2026