Skip to content

Dhivakar2005/Temperature_Based_Fan_Speed_Controller

Repository files navigation

🌡️ Temperature-Based Fan Speed Controller (IoT Project)

This project uses an Arduino, DHT11 temperature sensor, motor driver, and cooling fan to automatically adjust fan speed based on ambient temperature. Ideal for home automation or electronics cooling systems, the fan speed increases as the temperature rises.

📦 Components Used

  • Arduino Uno
  • DHT11 Temperature & Humidity Sensor
  • L298N Motor Driver Module
  • DC Cooling Fan (5V or 12V)
  • LCD display with I2C Module
  • Breadboard & Jumper Wires

🧠 Working Principle

  • The DHT11 sensor reads the current temperature.
  • Based on the temperature range, Arduino adjusts the PWM signal sent to the motor driver.
  • The fan speed is controlled accordingly: - <28°C: Low speed - 28–34°C: Medium speed - >34°C: High speed
  • Live temperature and fan speed are read by arduino
  • A trained ML model predicts the next fan speed based on recent temperature trends.
  • Both actual and predicted speeds are visualized on an IoT dashboard.

🛠️ Made With

  • ❤️ Arduino IDE
  • 🔧 Basic electronics tools
  • 🧠 Python + ML
  • 💡 Curiosity and innovation

🧪 Future Improvements

  • Add humidity-based control
  • OLED display to show temperature & fan speed
  • Voice control integration (Alexa/Google Home)
  • Add relay-based AC fan control

📈 IoT Dashboard Features

Use a platform like ThingSpeak, Blynk, or Node-RED to create a live dashboard that shows:

  • 🌡️ Live Temperature Data
  • 🔄 Current Fan Speed (PWM)
  • 🤖 Predicted Fan Speed (from ML model)

🛡️ License

This project is licensed under the MIT License.

About

Smart temperature-based fan speed controller using Arduino, DHT11, and IoT dashboard with real-time and ML-predicted fan speed visualization.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors