Robojax

Measure Temperature over WiFi with ESP32 DHT11 and DHT22

دروس آردوینو به فارسی

Download Arduino Sketch File

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

ESP32 wiring with DHT11 bare module
Click on image to enlarge

ESP32 wiring with DHT11 pcb module

ESP32 wiring with DHT11 pcb module
Click on image to enlarge

ESP32 wiring with DHT12 module

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

Arduino Code

Please click on the Download link to get the code. Download Arduino Sketch File