Intelligent Temperature Prediction and Fan Control System Using Raspberry Pi

Опубликовано: 24 Сентябрь 2026
на канале: Roxanne WANG
45
0

GitHub Code: https://github.com/RoxanneWAAANG/Smart-Fan

Temperature control is critical in many environments to maintain comfort or protect equipment. In this project, I used Raspberry Pi combine with a DHT11 sensor, which provides ambient temperature and humidity readings. Based on these readings, I create a linear regression model to predict temperature in the future. If this average rises above a set threshold (27.5°C), the system activates a DC motor—acting as a fan—using PWM control through an H-bridge. This integration not only ensures real-time monitoring but also implements a simple control mechanism for environmental management.