Arduino Weather Station using dht11 and Display Data on Gauges

(Last Updated On: June 26, 2020)

weather station

Description:

Arduino Weather Station– This project is based on the Real-Time weather station monitoring system using Arduino, DHT11” temperature and humidity sensor” and Visual Basic 2010 Express edition. The main purpose of this project is to share with you the idea of how you can make a real-time weather station and display the Temperature and Humidity values on the Gauges. In this project, you will also learn how to install and use the Dev Components.

The DHT11 sensor will be interfaced with the Arduino Uno or Mega. The temperature and humidity values will be calculated by the Arduino or Mega, and then these values will be sent Serially to the Computer designed application. This project also focuses on the concept of how multiple sensors values can be sent in a single string message separated with comma, and then how each sensor value can be accessed individually and display them in there own boxes or Gauges. So this project will also help you learn, how to split the string message. This technique can be used in Advanced level projects, where you need to monitor multiple sensors connected with Arduino or Mega or any other controller.

For the step by step designing and explanation watch video available at the end of this Article.


The components and tools used in this project can be purchased from Amazon, the components Purchase links are given below:

Arduino Uno:
Mega 2560:
dht11 sensor:

*Please Note: These are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!

Softwares used in this project:

  1. Visual Basic 2010 Express Edition “Vb.net”
  2. Arduino IDE

The weather station application forms will be designed and programmed in the Visual Basic.Net, while the Arduino programming will be done in the Arduino IDE. Both the Softwares are freely available and can be downloaded without any problems.  The desktop application programming and Arduino programming both are available at the end of this Article.

DHT11 sensor Pinout:

weather station

This is the DHT11 temperature and humidity sensor which is used in this project for building the Real-Time weather station. DHT11 Sensor has a total of 4 pins. Pin number 1 is the VCC, pin number 2 is the data, pin number 3 is not connected while pin number 4 is the Ground.

The other useful information about the DHT11 sensor can be found in its datasheet. For example its applications, Features, Dimensions, Product parameter, Electrical characteristics, Pin description, and data format, etc. It’s a good designing practice to study the datasheet of the electrical component before you start using it any circuit.


For the easy connections, I highly recommend firs you need to fix this sensor on the Vero Board, Solder its legs and the 10-kilo resistor. Then solder jumper wires. This way you can easy interface the DHT11 temperature and humidity sensor with the Arduino Uno or Mega.

weather station

Circuit Diagram of the Arduino Weather Station:

weather station

The connection of the DHT11 temperature and humidity sensor with the Arduino Uno or Mega is really simple. As you can see in the circuit diagram above, a 10 kilo Ohm resistor is connected between pin number 1 and pin number 2. As I said earlier the pin number 3 of the dht11 sensor is not used. Pin number 4 of the DHT11 temperature and humidity sensor is connected with the Arduino’s Ground, while pin number 2 is connected with the Arduino’s pin number 12.


Weather Station Programming:

This project is basically based on two programs, one program is written for the Arduino, while the other program is for the computer software designed in visual basic 2010 express edition.

Before you start the programming first of all, make sure you download all the necessary libraries.

Arduino Weather Station Programming:


Computer application Programming of  Weather Station:

Watch Video Tutorial:

Recommended For You

About the Author: Engr Fahad

My name is Shahzada Fahad and I am an Electrical Engineer. I have been doing Job in UAE as a site engineer in an Electrical Construction Company. Currently, I am running my own YouTube channel "Electronic Clinic", and managing this Website. My Hobbies are * Watching Movies * Music * Martial Arts * Photography * Travelling * Make Sketches and so on...

4 Comments

  1. i need help in visual basic code
    gc1.SetPointerValue(“Scale1”, “Pointer1”, value1)
    gc2.SetPointerValue(“Scale1”, “Pointer1”, value2)
    in these line it is saying gc1 is not decleard
    same for gc2
    any help??

Leave a Reply