Skip to content

This project reads temperature and humidity data using a DHT11 sensor connected to an ESP32 board running MicroPython.

License

Notifications You must be signed in to change notification settings

kritishmohapatra/DHT11_with_ESP32_and_Micropython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌑️ DHT11 Temperature & Humidity Monitoring (ESP32 + MicroPython)

This project reads temperature and humidity data using a DHT11 sensor connected to an ESP32 board running MicroPython.
The sensor readings are printed to the Serial Console every 2 seconds.


πŸ› οΈ Hardware Components

  • 🧠 ESP32 Dev Board
  • 🌑️ DHT11 Temperature & Humidity Sensor
  • πŸ“ Breadboard
  • πŸ”Œ Jumper Wires
  • ⚑ (Optional) 10KΞ© Pull-up Resistor (between VCC and DATA)

🧰 Wiring Diagram

DHT11 Pin ESP32 Pin
VCC (+) 3.3V
GND (–) GND
DATA GPIO 4

Note: Connect a 10KΞ© resistor between VCC and DATA for better reliability.


πŸ’» How It Works

  1. The ESP32 reads the DHT11 sensor data using MicroPython.
  2. Temperature (Β°C) and Humidity (%) are printed to the Serial Monitor every 2 seconds.
  3. Useful for creating real-time environment monitoring projects!

πŸ“‚ Project Structure


🧩 Circuit Diagram

Circuit Diagram

πŸ‘¨β€πŸ’» Author

  • ✍️ [Kritish Mohapatra]

πŸ“… Project Date

  • πŸ—“οΈ [28/04/2025]

πŸš€ Future Upgrades

  • Display readings on a web server 🌐
  • Log data to a file πŸ“
  • Send alerts if temperature/humidity crosses threshold 🚨

About

This project reads temperature and humidity data using a DHT11 sensor connected to an ESP32 board running MicroPython.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages