Adafruit - THE MUSICAL - is here! Get a musical tour of Becky's favorite tools around the Adafruit factory (video) and subscribe!

sensors: DHT21 vs DHT22
Moderators: adafruit_support_bill, adafruit

sensors: DHT21 vs DHT22

by gerberone on Wed Dec 05, 2012 3:11 pm


in the arduino library for the DHT humidity/temperature sensors, apart of the more common DHT11 and DHT22, also the DHT21 is listed, but I don't see any project using it.
From datasheet it seems to me that DHT 21 and DHT22 are pretty similar.

I happen to have one of these DHT21 sensors.
Can anyone please tell me if I can basically treat it the same as a DHT22 (except of course declare a different type in the Arduino setup code) ?
Why they are not mentioned together with the '22 type?

Posts: 2
Joined: Wed Dec 05, 2012 3:01 pm