Hello all,
For some reasons I would like to power my DHT22(kit with all Pull resistor etc..) with 5V.
Can I simply connect the output to a GPIO in ESP8266 or this is not compatible with 3.3V limitation on GPIO ?
ESP8266 question with DHT22 power Supply
Moderators: grovkillen, Stuntteam, TD-er
ESP8266 question with DHT22 power Supply
Signed XMenne from France
Re: ESP8266 question with DHT22 power Supply
You shouldn't do that, the inputs aren't 5V compatible. Either power the DHT with 3V3 or use a level convertor.
/Ton (PayPal.me)
Re: ESP8266 question with DHT22 power Supply
The data for a DHT22 looks a lot like 1-wire.
So for this you need a bi-directional level converter.
There is some debate about whether the GPIO pins of the ESP are 5V tolerant.
Let's assume it is 5V tolerant, then the output levels will not be at 5V levels, which still requires the level converter.
So I wonder why you need to power the sensor with 5V?
So for this you need a bi-directional level converter.
There is some debate about whether the GPIO pins of the ESP are 5V tolerant.
Let's assume it is 5V tolerant, then the output levels will not be at 5V levels, which still requires the level converter.
So I wonder why you need to power the sensor with 5V?
Re: ESP8266 question with DHT22 power Supply
Hello, many thanks
I will not do that then.
The reason is taht I have many DHT22 failure, with dht stop transmitting data to ESP (device display NAN).
I have that on R120 and Mega version.
ESP is working fine with other sensors or relay . No problem.
I recover the transmission after a complete power off and on sequance.
I was wondering if it was not a question of power supply on DHT22; My cable are not long; Around 30cm. max
Rgds
I will not do that then.
The reason is taht I have many DHT22 failure, with dht stop transmitting data to ESP (device display NAN).
I have that on R120 and Mega version.
ESP is working fine with other sensors or relay . No problem.
I recover the transmission after a complete power off and on sequance.
I was wondering if it was not a question of power supply on DHT22; My cable are not long; Around 30cm. max
Rgds
Signed XMenne from France
Re: ESP8266 question with DHT22 power Supply
You should not use a version of ESPEasy that is over 2 years old to report issues on that. Newer releases of ESPEasy have been released in the mega branch that are quite stable, and have improved performance and stability, most likely your issues will go away if you upgrade to a more recent version. Download from https://github.com/letscontrolit/ESPEasy/releasesxmenne wrote: ↑03 Nov 2020, 16:23 The reason is taht I have many DHT22 failure, with dht stop transmitting data to ESP (device display NAN).
I have that on R120 and Mega version.
ESP is working fine with other sensors or relay . No problem.
I recover the transmission after a complete power off and on sequance.
Coming from that old version it is advised to first do a wipe of the ESP (flash with a blank.bin of the matching size after taking notes/backup of all your settings), then re-flash with the desired bin file, and reconfigure your device.
/Ton (PayPal.me)
Re: ESP8266 question with DHT22 power Supply
In addition to the other comments, I've heard reports of users experiencing your DHT22 latch-up (non-response) problem. For example, see this discussion:
https://forum.arduino.cc/index.php?topic=432544.0
That discussion mentions that measurements faster than two second intervals might invite the problem. This timing limitation can be affected by a combination of ESPEasy's device task interval setting, your rules, and any command readings. So review/update your device measurement scheduling.
But I suspect that a 100% successful solution may require switching to a different sensor.
- Thomas
https://forum.arduino.cc/index.php?topic=432544.0
That discussion mentions that measurements faster than two second intervals might invite the problem. This timing limitation can be affected by a combination of ESPEasy's device task interval setting, your rules, and any command readings. So review/update your device measurement scheduling.
But I suspect that a 100% successful solution may require switching to a different sensor.
- Thomas
Who is online
Users browsing this forum: Google [Bot] and 16 guests