Project Title: Simple Weather Station

Introduction

The "Simple Weather Station" project aims to create a basic weather monitoring system using an Arduino Uno, a DHT11 sensor, and an LCD display. The project provides real-time data on temperature and humidity and displays the information on an LCD screen.

Components Used

  • Arduino Uno
  • DHT11 Temperature and Humidity Sensor
  • LCD Display
  • Breadboard and Jumper Wires

Circuit Diagram

Working Principle

The DHT11 sensor is connected to the Arduino Uno to measure temperature and humidity. The data is processed by the Arduino, and the results are displayed on the LCD screen. The LCD provides a user-friendly interface to view the current weather conditions.

Code

#include <DHT.h> #include <LiquidCrystal_I2C.h> #define DHTPIN 2 #define DHTTYPE DHT11 DHT dht(DHTPIN, DHTTYPE); LiquidCrystal_I2C lcd(0x27, 16, 2); void setup() { lcd.begin(); dht.begin(); } void loop() { delay(2000); float temperature = dht.readTemperature(); float humidity = dht.readHumidity(); lcd.clear(); lcd.setCursor(0, 0); lcd.print("Temp: "); lcd.print(temperature); lcd.print("C"); lcd.setCursor(0, 1); lcd.print("Humidity: "); lcd.print(humidity); lcd.print("%"); }

Results and Observations

Upon powering the system, the LCD displays real-time temperature and humidity readings. The sensor readings are updated every two seconds, providing up-to-date information.

Conclusion

The "Simple Weather Station" project successfully demonstrates the integration of a DHT11 sensor and an LCD display to create a basic weather monitoring system. This project serves as a foundation for more advanced weather station implementations.

Future Enhancements

  • Integration with an internet module for remote monitoring.
  • Adding additional sensors for more comprehensive weather data.