Adafruit #570 in Inc 5000 & #11 in manufacturing - fastest-growing private companies in America - INC 5000 - Read more!

sensors: DHT21 vs DHT22

by gerberone on Wed Dec 05, 2012 2: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 2:01 pm