DHT20

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Lonzo
New user
Posts: 7
Joined: 10 Jun 2020, 20:52

DHT20

#1 Post by Lonzo » 06 Nov 2023, 14:09

I want to connect a DHT20 (I2C Address: 0x38). Has anyone experiences to do that?

bidrohini
Normal user
Posts: 106
Joined: 03 Nov 2022, 16:24

Re: DHT20

#2 Post by bidrohini » 06 Nov 2023, 14:46

ESPeasy supports DHT11 and DHT22. But there is no mention of DHT20 here:
https://www.letscontrolit.com/wiki/inde ... HT11_DHT22

User avatar
Ath
Normal user
Posts: 3522
Joined: 10 Jun 2018, 12:06
Location: NL

Re: DHT20

#3 Post by Ath » 06 Nov 2023, 14:47

This sensor, though similar to a DHT12, isn't yet supported by ESPEasy (AFAICS). Might be best to add it to the DHT12 plugin, as that is already using I2C, but haven't looked at the details yet. Will have a look later today, on what's possible.
/Ton (PayPal.me)

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: DHT20

#4 Post by TD-er » 06 Nov 2023, 14:47

Hmm we do have support for DHT12 (I2C), which is P034
And the DHT11/12/22 which use their own bit-banging protocol.

I don't know the DHT20, but perhaps you can test using the DHT12(I2C) plugin to see if it is working with this sensor also?

Let's hope they now make decent sensors, as the DHT11 was absolute rubbish and the DHT22 was better but still rubbish.

User avatar
Ath
Normal user
Posts: 3522
Joined: 10 Jun 2018, 12:06
Location: NL

Re: DHT20

#5 Post by Ath » 06 Nov 2023, 22:41

Did some investigation, but the DHT20 has quite a different protocol from the DHT12, so it's not a simple, drop-in, replacement.

Still the best solution seems to be to add this as a selectable option to P034, as the measuring capabilities are quite similar, same kind of accuracy for both the temperature and the humidity.
The documentation mentions it being an improved replacement for the DHT11, but using an I2C connection. :roll:
/Ton (PayPal.me)

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: DHT20

#6 Post by TD-er » 06 Nov 2023, 22:52

It really isn't that hard to be an improvement over a DHT11.
Literally anything is an improvement over a DHT11.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 35 guests