Home > Projects > Sensor – Transducer – Detector Projects > How to Make an Arduino Weather Station With DHT11 Temperature and Humidity Sensor

How to Make an Arduino Weather Station With DHT11 Temperature and Humidity Sensor

Summary of How to Make an Arduino Weather Station With DHT11 Temperature and Humidity Sensor


Summary: This project converts a DHT11 temperature and humidity sensor into a compact desk weather station using an Arduino Nano and a 16x2 I2C LCD. It provides basics refreshers, wiring details, optional 3D printed parts or PCB/breadboard assembly, and video references. The DHT11 data line is read on Arduino digital pin D2 while its VCC is driven virtually from D3. The I2C LCD uses A4 (SDA) and A5 (SCL) with 5V and GND connections.

Parts used in the Weather Station:

  • DHT11 Sensor
  • 16X2 I2C LCD Display
  • Arduino Nano
  • 3D Printed Parts (files attached)
  • PCB board or Breadboard (files attached)
  • Optional: Cardboard
  • Optional: Hotglue Gun
  • Optional: Scissor / Cutter

Recently I started playing around with DHT11 Temperature and Humidity sensor, at that time around, I had an idea to make a small yet effective Weather Station, so in this project inscructable, we will use the DHT11 sensor from the previous tutorial and turn it into mini weather station for our desk, so follow up this tutorial to build this awesome Weather Station for yourself!

Supplies:

  1. DHT 11 Sensor
  2. 16X2 I2C LCD Display
  3. Arduino Nano
  4. 3D Printed Parts ( attached in further Steps )
  5. PCB board / Bread Board ( files attached in further steps )
  6. (OPTIONAL) Cardboard
  7. (OPTIONAL) Hotglue Gun
  8. (OPTIONAL) Scissor/ Cutter

Recently I started playing around with DHT11 Temperature and Humidity sensor, at that time around, I had an idea to make a small yet effective Weather Station, so in this project inscructable, we will use the DHT11 sensor from the previous tutorial and turn it into mini weather station for our desk, so follow up this tutorial to build this awesome Weather Station for yourself!

Supplies:

  1. DHT 11 Sensor
  2. 16X2 I2C LCD Display
  3. Arduino Nano
  4. 3D Printed Parts ( attached in further Steps )
  5. PCB board / Bread Board ( files attached in further steps )
  6. (OPTIONAL) Cardboard
  7. (OPTIONAL) Hotglue Gun
  8. (OPTIONAL) Scissor/ Cutter

Step 1: Watch the Video!

https://youtu.be/pHEFIHh1QLs

Step 2: Brush Up the Basics!

in this project, we will use 3 things, so we need to Brush up our Basics on these 3 things

1. Arduino microcontroller.

i have previously covered the very basics of Arduino Micro controllers in a video, please go through it to understand the very basics of Arduino Boards.

https://youtu.be/3IVNv-d7FDo

2. LCD

we will be using i2c lcd in this project, to understand its basics and working, lets refer this video of mine, which explains very basics of writing i2c code in easy steps.

https://youtu.be/YgF1ZgCP2Nw

3. DHT 11 Sensor

DHT 11 sensor is a Temperature and Humidity sensing module, which uses NTC – i.e. negative temperature coefficient to convert the temperature into equivalent resistance change. watch the following video for more detailed Tutorial and Working of DHT11 Sensor.

https://youtu.be/zFGZtV22-Yc

Step 3: Build the Circuit!

for this project, we are using an i2c lcd for display and DHT 11 sensor, along with Arduino Nano, so complete this circuit, i first designed and created a PCB design according to simple connections as shown in attached pictures, using a free software tool called “Easy EDA ” but i could not order the PCB due to time constrains, so i rather used a breadboard, and connected the following pins to arduino, but if you want to order the PCB, you can use the following gerber files to order the pcb / make it for yourself

DHT11 connections

GND – GND of arduino

Data – D2 pin of arduino

VCC – D3 pin of arduino

( i used pin D3 of arduino to create a virtual Vcc pin, by sending digital HIGH from code to power DHT11 )

LCD connections

VCC – 5V of arduino

GND- GND of arduino

SDA – A4 of arduino

SCL – A5 of arduino

Read more: How to Make an Arduino Weather Station With DHT11 Temperature and Humidity Sensor

Quick Solutions to Questions related to Weather Station:

  • What components are required to build this mini weather station?
    The article lists DHT11 Sensor, 16x2 I2C LCD Display, Arduino Nano, 3D printed parts, PCB or breadboard, and optional cardboard, hotglue gun, and scissors.
  • Which Arduino pins are used for the DHT11 sensor?
    The DHT11 data pin connects to Arduino digital pin D2 and VCC is driven by Arduino digital pin D3 set HIGH.
  • Which Arduino pins are used for the I2C LCD?
    The I2C LCD uses A4 for SDA and A5 for SCL, with VCC to 5V and GND to GND.
  • Can I use a breadboard instead of ordering the PCB?
    Yes, the author used a breadboard due to time constraints and provides gerber files if you prefer ordering a PCB.
  • Are there tutorials to learn the basics needed for this project?
    Yes, the article references videos on Arduino basics, I2C LCD usage, and DHT11 sensor working.
  • How is the DHT11 powered in this project?
    The DHT11 VCC is supplied by toggling Arduino pin D3 to digital HIGH, creating a virtual VCC.
  • Are 3D printed parts required?
    3D printed parts are included and attached in further steps but appear optional for assembly.
  • Is the project suitable for a desk weather station?
    Yes, the project is presented as a mini weather station designed for a desk.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top