ESP32 - DHT22 - Long Cable

wolf70
Posts: 4
Joined: Mon Jul 13, 2020 8:15 am

ESP32 - DHT22 - Long Cable

Postby wolf70 » Mon Aug 15, 2022 7:15 am

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

ESP_LJH
Posts: 387
Joined: Tue May 18, 2021 9:21 am

Re: ESP32 - DHT22 - Long Cable

Postby ESP_LJH » Tue Aug 16, 2022 3:21 am

We suggest you to use level shifter, direct connection maybe work for a short-term test, but we could not guarantee long-term functionality.

Who is online

Users browsing this forum: No registered users and 83 guests