Arduino Projects

Temperature Based Fan Speed Controll

Temperature Based Fan Speed Controller Using Arduino & DHT11 Sensor

Introduction

In This Article, We try to Build Temperature Based Fan Speed control with the Help Of the DHT11 Sensor If the Temperature crosses the Threshold Value Then the fan Speed is also changed according to the Code.

IMG 0748

Here we used The Motor Driver L298N they control The DC Fan Speed According to the PWM Signal

Bill Of Materials

S.N

Component's

Quantity

Link To Buy

1

Arduino Nano

1

2

16x2 LCD Display With I2C

1

3

DHT11 Sensor

1

4

L298N Motor Driver

1

5

DC FAN

1

6

9v Power Supply

1

Hardware

Component’s Overview

Arduino Nano

  • The Arduino Nano is the open-source smallest Embedded Development board based on Atmega328 SMD Package Microcontroller.
  • Arduino Nano is a low-cost microcontroller and so many GPIO Pin available.

Components2 1

16×2 LCD Display

The 16×2 LCD Display is a basic 16-character by 2-line Alphanumeric display. White text on Blue background. Utilizes the extremely common HD44780 parallel interface chipset.

Components1

DHT11 Sensor

It has two sensing elements: a humidity sensor and a temperature sensor. Humidity elements find out the moisture present in the air, and temperature elements find out the temperature.

DHT11 Sensor 1

Specifications of the DHT11 sensor

  • Temperature Range:  0°C to 50°C (32°F to 122°F).
  • Temperature Accuracy:  ±2°C.
  • Humidity Range: 20% to 90%.
  • Humidity Accuracy:  ±5%.
  • Resolution:  1°C for temperature measurements & 1% for humidity measurements.
  • Response Time: 2 seconds for temperature readings & 2-5 seconds for humidity readings.
  • Supply Voltage:  3.3V and 5V DC.
  • Current Consumption: 1.5mA
  • Communication:  single-wire (Digital Sensor).
  • Sampling Rate: 2 seconds.

L298N Motor Driver

This L298 Based Motor Driver Module is a high-power motor driver perfect for driving DC Motors and Stepper Motors. It uses the popular L298 motor driver IC and has the onboard 5V regulator to supply to an external circuit. It can control up to 4 DC motors.

IMG 2724

Features:- Driver chip: L298 dual H-bridge driver chip. Operates up to 35V DC Drive part of the terminal’s peak current Io: 2A / Bridge Logical part.

  • Power supply range Vss:4.5V-5.5V
  • Operating current range: 0 ~ 36mA
  • Maximum power consumption: 20W

Circuit Diagram

Circuit Diagram

In this Circuit diagram, We Used The Arduino Nano Microcontroller And Controlling All The input and output Devices.

16×2 LCD Display Conected to the I2C Protocol Through That’s why required only 4 Wire

  • SCL – A5
  • SDA- A4
  • VCC – 5v
  • GND – GND

DHT11 Sensor Is Connected To the D7 Pin Number of Arduino nano Microcontroller

And The L298N Motor Driver Is Conected to the Pin NUmber D9, D10, D11.

The Hole Circuit works on 5v But the DC fan required the 12v DC Dource.

Code

GitHub e1697076839430

Demo Of Projects

If the Temperature is LOW Then the Fan Speed is Less.

IMG 0741

If the Temperature Cross the Threshold Value 1(28°C) Then FAN Speed is MED.

IMG 0743

If the Temperature Cross the Threshold Value 2(32°C) Then the FAN Speed is HIGH.

IMG 0746

Video Tutorial

Conclusion

In this project, we used a DC Fan And the Speed Control With The PWM Signal Through. The Conduction Will be displayed in the 16×2 LCD Display.

918830584864

Prateek

Hi, Prateek Here I’m interested in Electronics That's why I Make Soo Many Projects, I’m currently Pursuing M Tech.. if you Relay Like To My Blog Plz Comment Below...Thanks To All Electronics Lover...❤️

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker