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.
- π§ ESP32 Dev Board
- π‘οΈ DHT11 Temperature & Humidity Sensor
- π Breadboard
- π Jumper Wires
- β‘ (Optional) 10KΞ© Pull-up Resistor (between VCC and DATA)
| DHT11 Pin | ESP32 Pin |
|---|---|
| VCC (+) | 3.3V |
| GND (β) | GND |
| DATA | GPIO 4 |
Note: Connect a 10KΞ© resistor between VCC and DATA for better reliability.
- The ESP32 reads the DHT11 sensor data using MicroPython.
- Temperature (Β°C) and Humidity (%) are printed to the Serial Monitor every 2 seconds.
- Useful for creating real-time environment monitoring projects!
- βοΈ [Kritish Mohapatra]
- ποΈ [28/04/2025]
- Display readings on a web server π
- Log data to a file π
- Send alerts if temperature/humidity crosses threshold π¨
.png)