Build Your Own Temperature-Controlled Fan With DHT11 Sensor In Minutes – UDEMIE

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

Supplies
Supplies

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

Step 1: Connections

Connections
Connections
Connections

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

Step 2: FITTING ALL COMPONENTS

FITTING ALL COMPONENTS
FITTING ALL COMPONENTS
FITTING ALL COMPONENTS

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.

Step 3:

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

Step 4: Working

Working
Working
Working

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 😉

Leave a Reply

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