ESP32 Weather Monitoring System Using DHT11 Sensor and LCD Display

by mansiramteke139 in Circuits > Sensors

137 Views, 1 Favorites, 0 Comments

ESP32 Weather Monitoring System Using DHT11 Sensor and LCD Display

20260313_183825[1].jpg

In this project, I build Weather Monitoring System using ESP32 & DHT11 Sensor. The DHT11 Sensor measures the temperature and humidity of the surrounding environment.

[Connection of DHT11 Sensor with ESP32, Which is already posted here.

https://www.instructables.com/ESP32DHT11-Temperature-Humidity-Sensor-Project/ ]

The measured values are displayed in real time on a 16*2 LCD Display.

Supplies

Screenshot 2026-03-14 171637.png
Screenshot 2026-03-13 175154.png
Screenshot 2026-03-14 171711.png

[Connection of DHT11 Sensor with ESP32, Which is already posted here.]

https://www.instructables.com/ESP32DHT11-Temperature-Humidity-Sensor-Project/

Components list:

  1. LCD Display
  2. DHT11 Sensor Module
  3. I2C Module
  4. Jumper wires
  5. ESP32 Dev Module
  6. USB Cable

Pin Connection

[Connection of DHT11 Sensor with ESP32, Which is already posted here.]

https://www.instructables.com/ESP32DHT11-Temperature-Humidity-Sensor-Project/

LCD - ESP32

VCC - 5V

GND - GND

SDA - GPIO 14

SCL - GPIO 13


DHT11 - ESP32

+ - GND

Out - GPIO4

_ - 3V3

Code

Downloads

Important

Screenshot 2026-03-14 134846.png

Install Required Libraries:

  1. DHT11 Sensor Library (Adafruit)
  2. Adafruit Unified Sensor
  3. LiquidCrystal_I2C

Output

Here I uploaded the video of Output.

Working

  1. The DHT11 Sensor measures temperature and humidity from the surrounding environment
  2. Then sends this data to the ESP32 through its data pin.
  3. The ESP32 processes the sensor reading using the DHT library.
  4. After reading the value, it displays the temperature and room status on the LCD display.
  5. This process repeats continuously, allowing real-time monitoring of environmental conditions.

Conclusion

This project demonstrates how to interface ESP32 with a DHT11 sensor and LCD display to create a simple weather monitoring system.