Go Down

Topic: Dht22 arduino libary ? (Read 714 times) previous topic - next topic

flak88

Hi Im using the arduino DHTLib with multiple dht22 sensors however its a bit slow every time I take a read of the temperature and humidity which is every 2 sec.Is there a library available that wont cause as much of a delay when I read the data from the sensor?

kd7eir

The DHT22 has a maximum .5 Hz sampling rate - once every two seconds.  Nothing in the library can change that.

robtillaart

The 2 seconds delay is in the datasheet, you may shorten this delay but you should know you're operating outside the formal specification.
It might work e.g. 1 second intervals or even shorter, but there is no guarantee.

Is the temperature / humidity of your process changing so rapidly that you need a faster measurement?
For temperature you could consider the DS18B20 which is at the same precision about 10x faster.

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy