Enhancing maggot farming with an internet of things-enabled watering and monitoring system
Abstract
Black soldier fly (BSF) maggot cultivation is a high-efficiency approach to organic waste bioconversion and sustainable protein production; however, productivity is critically sensitive to temperature and humidity, which are poorly regulated under conventional manual practices that are labor-intensive, error-prone, and unresponsive to environmental fluctuations. This study implements an internet of things (IoT)-enabled watering and monitoring system for BSF maggot farming, integrating an SHT20 sensor, ESP32 microcontroller, and three actuators (water pump, heating bulb, and blower fan). The system operates in two modes: manual mode via Telegram Bot API, and automatic mode governed by a Mamdani fuzzy logic inference engine with nine IF–THEN rules. Sensor accuracy was validated across 12 trials (22.5-43.8 °C; 45-89% RH). Mean temperature accuracy of 99.13% (error: 0.87%, SD:0.58%) and mean humidity accuracy of 99.27% (error: 0.73%, SD:0.56%) were achieved, both within the ±2% IoT sensing tolerance. Fuzzy logic evaluation confirmed consistent actuator activation with a mean response time of 1.4 s and no conflicting combinations across all trials. The system constitutes reusable knowledge for insect farming automation, combining fuzzy logic actuation, multi-parameter sensing, and Telegram-based monitoring within a low-cost embedded platform, applicable to broader smart agriculture and sustainable waste management domains.
Keywords
Automated watering; Black soldier fly; Environmental monitoring; Internet of things; Maggot farming; Mamdani inference; Telegram Bot
Full Text:
PDFDOI: https://doi.org/10.11591/eei.v15i6.12685
Refbacks
- There are currently no refbacks.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Bulletin of Electrical Engineering and Informatics (BEEI)
ISSN: 2089-3191
,
e-ISSN: 2302-9285
This journal is published by the
Institute of Advanced Engineering and Science (IAES)
.