Site icon Circuit Ideas for You

DIY Arduino Based Weather Station Circuit

This DIY Arduino Based Weather Station Circuit is very easy project.

It uses Arduino Uno, DHT11 sensor, 16×2 LCD and one potentiometer.

The LCD show temperature and humidity on screen.

The potentiometer controls LCD contrast and brightness.

The wiring is simple and the code are also very easy.

Anyone can build circuit this at home.

Arduino Coding:

#include <LiquidCrystal.h>
#include <DHT.h>

#define DHTPIN 2
#define DHTTYPE DHT11

DHT dht(DHTPIN, DHTTYPE);

LiquidCrystal lcd(7, 6, 5, 4, 3, 8);

void setup() {
lcd.begin(16, 2);
dht.begin();
}

void loop() {
float h = dht.readHumidity();
float t = dht.readTemperature();

lcd.clear();
lcd.setCursor(0, 0);
lcd.print("Temp: ");
lcd.print(t);
lcd.print(" C");

lcd.setCursor(0, 1);
lcd.print("Hum: ");
lcd.print(h);
lcd.print(" %");

delay(2000);
}

Code Explanation:

Circuit Working:

DIY Arduino Based Weather Station Circuit Diagram

Parts List:

Parts NameQuantity
Potentiometer 10k1
Arduino UNO1
DHT11 Sensor1
16×2 LCD Display1
USB Cable for Arduino1

The Arduino weather station uses DHT11 sensor to read air temperature and humidity.

This sensor read temperature from 0 to 50 degree C with about plus minus 2 degree error.

Humidity it read from 20 to 80 percent with about plus minus 5 percent error.

The sensor take one reading every 1 second.

It send data after each 1 second gap.

Power the sensor from Arduino 5V and GND.

Connect data pin to Arduino digital pin.

Potentiometer adjusts screen clarity

Use 4.7k to 10k pull-up on data line if module not have it.

Do not read faster than one read per second.

Wait 1 to 2 seconds between reads.

For better accuracy use DHT22 instead of DHT11.

How to Build:

To build a DIY Arduino Based Weather Station Circuit follow the below steps for connections:

Conclusion:

This DIY Arduino Based Weather Station Circuit is simple and useful.

It gives basic real time weather data.

Easy for students and hobby makers.

We can upgrade with more sensors later.

We can also add IoT or data logging also.

Its a great small step into Arduino world.

References:

Arduino-Based Weather Monitoring System

Exit mobile version