Page 1 of 1

ESP32 - DHT22 - Long Cable

Posted: Mon Aug 15, 2022 7:15 am
by wolf70
Hi,
I plan to run an ESP32 with a 8 channel relay board and 5 DHT22.
The DHTs are connected via long cable (maybe 20m?). I run a similar setup with AM2301 and ESP8266.
Now I learned that the DHT22 is recommended to run at 5v, but the ESP32 GPIOs are not (officially?) 5V tolerant.
So my idea was to add two a level shifter to my setup. Is this the recommended way? Because I see a lot of post, where people just connect the 5V data pin to the GPIOs.
Br,
wolf70

Re: ESP32 - DHT22 - Long Cable

Posted: Tue Aug 16, 2022 3:21 am
by ESP_LJH
We suggest you to use level shifter, direct connection maybe work for a short-term test, but we could not guarantee long-term functionality.