Measure Temperature over WiFi with ESP32 DHT11 and DHT22

Measure Temperature over WiFi with ESP32 DHT11 and DHT22
Learn how to use ESP32 as web server to measure temperature over WiFi on mobile phone or computer using DHT11 or DHT21, DHT22. Full wiring diagram, wiring and preparing Arduino IDE explained.
Your Arduino IDE must be prepared with ESP32. To prepaer your Arduino IDE, Please Watch this Video
ESP32 wiring with DHT11 bare module

Click on image to enlarge
ESP32 wiring with DHT11 pcb module

Click on image to enlarge
ESP32 wiring with DHT12 module

Click on image to enlarge The link to use in the "preferences" of Arduino IDE for ESP32 board https://dl.espressif.com/dl/package_esp32_index.json
Resources for this sketch
- ESP32 Github repository
- ESP32 Datasheet (pdf)
- Robojax Arduino Course on Udemy
- Get Early Access to my videos via Patreon
Arduino Code
Please click on the Download link to get the code.