Hi, I plan to run an ESP32 with a 8 channel relay board and 5 DHT22. The DHTs are connected via long wire( perhaps 20m?). I run a analogous setup with AM2301 and ESP8266. Now I learned that the DHT22 ...Read more
Hi,
I plan to run an ESP32 with a 8 channel relay board and 5 DHT22.
The DHTs are connected via long wire( perhaps 20m?). I run a analogous setup with AM2301 and ESP8266.
Now I learned that the DHT22 is recommended to run at 5v, but the ESP32 GPIOs aren’t( officially?) 5V tolerant.
So my idea was to add two a position 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.
We suggest you to use level shifter, direct connection maybe work for a short-term test, but we could not guarantee long-term functionality.