Skip to content
Home » Arduino » Arduino Projects » Make Arduino Weather Station

Make Arduino Weather Station

    Arduino Weather Station

    If you are searching to make a weather station using Arduino to monitor the temperature and humidity levels of your surroundings and display it on LCD. Here you can find that. In this article, I am going to explain how to make your own device that is capable of measuring both temperature and humidity levels and displaying the data on an LCD display. Here you can find how to setup dht11 sensor with Arduino.

    Components Required

    DHT11     [ Amazon India / GearBest ]

    16×2 LCD Display.   [ Amazon India / GearBest ]

    Arduino Uno   [ Amazon India / GearBest ]

    Few Jumper Wires  [ Amazon India / GearBest ]

    Note:

    There are two types of DHT11 modules are available in the market. One with 3pins (Added Resistor) and 4 pins (Normal module). To run the interface DHT11 module with  Arduino you must require DHT library.

    To know how to connect LCD display you can check here

    Connections for 4 pin DHT11

    4 pin dht11 sensor arduino connections

    If you use 4 pins dht11 sensor you must use a 10K Ohm resistor in between VCC and data pins.

    Connections for 3 Pin DHT11

    3 pin dht11 sensor arduino connections

    Download Code

    #include <dht.h>
    #include <Wire.h> 
    #include <LiquidCrystal_I2C.h>
    LiquidCrystal_I2C lcd(0x27, 16,2); 
    dht DHT;
    #define DHT11_PIN 4
    
    void setup(){
      lcd.begin();
    }
    
    void loop()
    {
      int d = DHT.read11(DHT11_PIN);
      lcd.setCursor(0,0); 
      lcd.print("Temp: ");
      lcd.print(DHT.temperature);
      lcd.print((char)223);
      lcd.print("C");
      lcd.setCursor(0,1);
      lcd.print("Humidity: ");
      lcd.print(DHT.humidity);
      lcd.print("%");
      delay(1000);
    }
    

    Download Libraries for Arduino

    DHT11 LIBRARY

    LCD DISPLAY LIBRARIES

    Watch Video

    If you have any queries feel free to connect us on social handles Facebook

    Leave a Reply