Development and Evaluation of a Low-Cost Device for Environmental Monitoring in Livestock Housing
Charles Paranhos Oliveira, Alex Lopes da Silva, Andre Luiz de Freitas Coelho, Gabriel Machado Dallago, Hemily Rodrigues de Souza, Maria Angela de Souza, Fernanda Campos de Sousa
Key points
From the paper's conclusion- The results demonstrate the device’s potential as a tool to support environmental management and the automation of ventilation systems in animal production facilities.
Abstract
Continuous monitoring of the thermal environment and air quality in animal production facilities is essential for animal welfare and productive efficiency. The objective was to develop and validate a low-cost device, based on an ESP32 microcontroller and environmental sensors, to measure air temperature, relative humidity, air velocity, ammonia (NH3) and carbon dioxide (CO2) concentrations in compost barn facilities for dairy cattle farming. The device was assembled using low-cost sensors (BME280 for temperature and relative humidity, Wind Sensor Ver. P6 for air velocity, MH-Z19b for CO2 concentration and MQ-137 for NH3 concentration), connected to an ESP32 microcontroller board. The developed devices were calibrated and validated in a climatic chamber (temperature and relative humidity), a flow chamber (CO2 and NH3) and a wind tunnel (air velocity). Their performance was evaluated using the coefficient of determination (R2) and root mean square error (RMSE). Furthermore, the Temperature–Humidity Index (THI) was estimated. Subsequently, the developed devices were tested in a compost barn for seven days to characterize the thermal environment and air quality. The device sensors demonstrated satisfactory performance after individual calibration, with R2 values greater than 0.90 for air temperature, air velocity, and CO2 concentration, and for NH3 ranging from 0.66 to 0.96. The overall RMSE values were 1.01 °C for air temperature, 6.37% for relative humidity, 0.77 m·s−1 for air velocity, 3.43 ppm for NH3, and 203.99 ppm for CO2. The RMSE decomposition showed that the environmental characterization revealed variations in temperature, relative humidity, and gases between the evaluated points, with THI peaks above the thermal stress threshold and an increase in NH3 concentration during bedding turning. The results demonstrate the device’s potential as a tool to support environmental management and the automation of ventilation systems in animal production facilities.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Field Verification and Multi-Site Deployment of a Multi-Sensor Node for Continuous Environmental Monitoring in Commercial Beef Cattle Facilities.Animals : an open access journal from MDPI · 2026
- A low-cost IoT-based multi-gas monitoring platform for assessing air quality dynamics in laying hens receiving dietary Chlorella supplementationFrontiers in Animal Science · 2026
- A Multi-Sensor Environmental CPS for Laboratory Animal Facilities with Configurable Alert Policy and Escalating NotificationApplied Sciences · 2026
- Dynamic-Response Modeling and Real-Time Compensation of Multi-Gas Sensors in Smart Livestock Housing During Ventilation TransientsElectronics · 2026
- Low-Cost IoT Monitoring of Energy-Relevant Variables in an Industrial Compressed-Air System: Field Deployment in a Colombian SMEApplied System Innovation · 2026
- A deployable LoRa-based end-to-end monitoring architecture for commercial beef cattle barns under limited-connectivity conditionsJournal of Agriculture and Food Research · 2026