Project tutorial
How to Make an Arduino Weather Station with DHT11 Sensor

How to Make an Arduino Weather Station with DHT11 Sensor © CC BY-NC-SA

Literally the simplest way to make a weather station!

  • 6 views
  • 0 comments
  • 1 respect

Components and supplies

Necessary tools and machines

3drag
3D Printer (generic)
Screen shot 2018 10 29 at 1 01 18 pm mpwjetwxsr
Bantam Tools Desktop PCB Milling Machine
71y9231 40
Breadboard, 170 Pin
OPTIONAL
4859917
10 Pc. Jumper Wire Kit, 5 cm Long
OPTIONAL
cardboard
OPTIONAL
Hy gluegun
Hot glue gun (generic)
OPTIONAL

Apps and online services

About this project

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, 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!

Step 1: Watch the Video!

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 micro controller.

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.

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.

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.

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

Step 4: Upload the Code

In this project, I wanted a startup animation screen which would display the my Channel name and Project name, next I needed to display the data from DHT11 sensor, so I set the cursor position on my LCD according the convenience and simply dumped the Temperature and Humidity values from the Variables that hold the data from sensor on the LCD screen using lcd.print command and that’s pretty much it, you can download and read the code, it’s pretty simple and straight forward. download the code and read it for better understanding.

Step 5: Make the Enclosure

I firstly thought about make a 3D printed enclosure, which I designed on the Autodesk's Fusion 360 software. well, I didn't got this enclosure 3D printed, as I didn't have any access to a 3D printer, I rather used a piece of cardboard, which I snipped according to CAD dimensions attached in this step and then I used a bit of Hot-Glue to mount the parts and then the box was complete

Step 6: Testing!

after all these steps, I simply powered the arduino nano using USB, and tested the project, once the power is connected, the project takes around 1 second to startup and initialize, once the lcd's backlight is on, the project says Mission Critical, Weather Station for around 600 microseconds and then the second screen loads up showing the room temperature in degree Celsius (°C) unit and Humidity in percentage (%)

Step 7: Thank You!

if you have any question or suggestion drop me a message on any of the following social media links, also if you make this similar project, don't forget to tag me on any of the social media platform!

thank you!

Twitter - https://twitter.com/AkshayMomaya1

Instagram - https://www.instagram.com/officialmissioncritical...

Facebook - https://www.instagram.com/officialmissioncritical...

Code

DHT11_weatherstation_by_MissionCritical.inoArduino
Error opening file.

Custom parts and enclosures

top.stl
top.stl
box.stl
box.stl

Comments

Similar projects you might like

Personal Weather Station (Arduino+ ESP8266 + Thingspeak)

Project tutorial by Jayraj Desai

  • 60,880 views
  • 34 comments
  • 124 respects

Weather Sensors, Between DHT11 and DHT22

by Achraf Oukheir

  • 4,727 views
  • 2 comments
  • 12 respects

Mobile Weather Station Being Powered by Solar Energy

Project tutorial by Kutluhan Aktar

  • 3,831 views
  • 0 comments
  • 16 respects

Arduino & ASP.NET Core Project: Weather Station

Project tutorial by Zhang Yuexin

  • 3,724 views
  • 0 comments
  • 20 respects

Wireless weather station (Arduino + ESP8266 + Thingspeak)

Project tutorial by Alin-Constantin Paun

  • 11,278 views
  • 2 comments
  • 17 respects

iShield Weather Station

Project tutorial by Victor Carreño

  • 7,279 views
  • 0 comments
  • 14 respects
Add projectSign up / Login