Building Your Own Temperature-Controlled Fan With DHT11 Sensor

by Hetpatel228 in Circuits > Arduino

681 Views, 7 Favorites, 0 Comments

Building Your Own Temperature-Controlled Fan With DHT11 Sensor

How to make Temperature Controlled Fan Using Arduino and DHT11 | Arduino Project | Automatic fan

Hello Makers...

  • today we will start making an amazing arduino project for learning arduino concepts and helps you to develop projects in future.


  • project is very easy to make and the concept behind project is when we set threshold temperature when atmosphere temperature crosses threshold temperature it detects using temperature sensor and it turns on fan.


  • I also provide video link above so you can follow that also if any trouble cause.



  • Now without wasting much time let's get started..

Supplies

IMG_20240608_105353.jpg
IMG_20240608_105405.jpg
IMG_20240608_105413.jpg
IMG_20240608_105423.jpg
IMG_20240608_105431.jpg
IMG_20240608_105441.jpg

Here are list of components required for making this project :

1x Arduino UNO

1x I2C Display

1x DHT11 sensor module

1x Potentiometer 10k (you can use any other also but have to change some lines of code and calculations)

1x mini breadboard (or can use pcb also)

1x dc small 5v fan (for project we use this if you want to use in daily life then will have to use relay module)

1x 5-12v power supply

1x jumper wires


now lets start with our step1

Connections

Arduino_Uno_i2C_LCD_bb.jpg
IMG_20240608_105701.jpg
IMG_20240608_105713.jpg
IMG_20240608_105727.jpg
IMG_20240608_105735.jpg
IMG_20240608_105743.jpg
IMG_20240608_105754.jpg

click here to download connections image

follow the above diagram for connections. it is bit confusing but to make connections simple we use mini breadboard so we can provide VCC and GND to all components.

FOLOW BELOW STEPS FOR BETTER UNDERSTANDING:


I2C - Arduino

VCC - VCC

GND - GND

SDA - A4

SCL - A5


DHT11 - ARDUINO

VCC  - VCC

SIGNAL- D2

GND  - GND


POTENTIOMETER 

PIN1 - GND

PIN2 - A0

PIN3 - VCC


DC fan

Red wire - D3

Gnd - Gnd

FITTING ALL COMPONENTS

IMG_20240608_105805.jpg
IMG_20240608_105903.jpg
IMG_20240608_105912.jpg

I use cardboard sheet you can use any other board also to fit all components

after fitting all components in cardboard using zip tie all jumper wires to make it looks well looking.

Screenshot 2024-06-08 125135.png

click here to download code

After download code copy it and paste it in arduino IDE software

connect arduino with PC.

select board and port then compile and upload it.

now your board is ready to work

Working

IMG_20240608_105920.jpg
IMG_20240608_105927.jpg
IMG_20240608_105940.jpg

Now our project is ready to use

To power it i use 12v adapter you can also use battery to make portable.

as you can see in picture we have to set threshold temperature and whenever temperature rises above threshold temperature fan will turn on until temperature comes below threshold temperature.

that's for today I hope you learn something new we will back soon with new project with new idea

Have a nice day Makers ;)