Comments on: ESP32 with DHT11/DHT22 Temperature and Humidity Sensor using Arduino IDE https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-sensor-arduino-ide/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Wed, 08 Apr 2026 10:56:11 +0000 hourly 1 https://wordpress.org/?v=6.8.5 By: Sara Santos https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-sensor-arduino-ide/#comment-1176808 Wed, 08 Apr 2026 10:56:11 +0000 https://randomnerdtutorials.com/?p=84261#comment-1176808 In reply to Dave.

Hi.
What do you mean?
Regards.
Sara

]]>
By: Dave https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-sensor-arduino-ide/#comment-1176800 Wed, 08 Apr 2026 10:12:49 +0000 https://randomnerdtutorials.com/?p=84261#comment-1176800 Where’s the wifi code that integrates with iPhone?

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-sensor-arduino-ide/#comment-1146520 Mon, 05 Jan 2026 19:10:00 +0000 https://randomnerdtutorials.com/?p=84261#comment-1146520 In reply to Patrick.

You’re welcome.
Thank you for your nice words.

Regards,
Sara

]]>
By: Patrick https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-sensor-arduino-ide/#comment-1146269 Sun, 04 Jan 2026 22:51:57 +0000 https://randomnerdtutorials.com/?p=84261#comment-1146269 I am a beginner with all of this stuff and I cant tell you how valuable this website has been for me… Just wanted to say thanks

]]>
By: ogunleye damola https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-sensor-arduino-ide/#comment-1074353 Thu, 24 Jul 2025 20:47:04 +0000 https://randomnerdtutorials.com/?p=84261#comment-1074353 the only solution i have is to have am esp32 and a arduino uno board.thanks

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-sensor-arduino-ide/#comment-1021814 Tue, 01 Apr 2025 09:41:12 +0000 https://randomnerdtutorials.com/?p=84261#comment-1021814 In reply to Jay.

Yes.
You’re right.
Maybe you have defective sensors??
It’s either that or bad wiring.
Regards,
Sara

]]>
By: Jay https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-sensor-arduino-ide/#comment-1020917 Sat, 29 Mar 2025 21:16:02 +0000 https://randomnerdtutorials.com/?p=84261#comment-1020917 In reply to Sara Santos.

Hi Sara
Sensor is labelled AM2302 which should correspond to a DHT22 I believe
Jay

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-sensor-arduino-ide/#comment-1020427 Fri, 28 Mar 2025 10:30:19 +0000 https://randomnerdtutorials.com/?p=84261#comment-1020427 In reply to Jay.

Hi.
Do you really have a DHT22?
Isn’t it a DHT11?
Regards,
Sara

]]>
By: Jay https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-sensor-arduino-ide/#comment-1020255 Thu, 27 Mar 2025 20:48:29 +0000 https://randomnerdtutorials.com/?p=84261#comment-1020255 Hi Sara
Pulling my hair out here
Trying to get a Temp Humidity sensor working for a project t MIT
I wired it all up per the website
I keep getting
“Failed to read DHT sensor”
I tried 3 different DHT22 sensors
I tried changing V to 5 volts supply to the DHT22
I tried changing GPIO pin from 4 to 6
I tried removing the 10k resistor b/c people say its built in to the DHT22
I tried changing baud rate from115200 to 9600
I tried using previous versions of DHT library
Nothing worked !!!!
Would love to hear how to get this thing working
Best
Jay

]]>
By: Salvatore https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-sensor-arduino-ide/#comment-1003683 Wed, 29 Jan 2025 21:49:25 +0000 https://randomnerdtutorials.com/?p=84261#comment-1003683 Great tutorial but if I include the MySql library for ESP32 the DHT22 sensor does not work..
After reading it always returns NAN
After several attempts I do not find the solution.

]]>