This study evaluates the performance of the DHT11 sensor in measuring temperature and humidity by comparing it with a conventional thermometer using a MATLAB-based statistical approach. The analysis includes descriptive statistics, error evaluation using Mean Absolute Error (MAE) and Mean Absolute Percentage Error (MAPE), linear regression modeling, and significance testing through ANOVA and the Durbin–Watson test. The results show that the DHT11 sensor provides consistent measurements (good precision) and exhibits a strong linear relationship with the reference instrument, as indicated by a high correlation coefficient (R = 0.944) and coefficient of determination (R² = 0.891). However, the sensor demonstrates a slight systematic bias, with temperature readings approximately 1–2 °C higher than those of the conventional thermometer. The obtained error values (MAE = 1 °C and MAPE ? 3.4%) indicate acceptable accuracy for general monitoring applications. Overall, the DHT11 sensor is a reliable, cost-effective, and practical solution for temperature and humidity monitoring. Nevertheless, calibration is recommended to improve measurement accuracy in applications requiring higher precision.
Copyrights © 2026