Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By tytower
#24280 DHT dht(DHT_PIN,DHT22,15); for a DHT22 speed is 15

DHT::DHT(uint8_t pin, uint8_t type, uint8_t count) in your library DHT.cpp I think
Last edited by tytower on Mon Jul 27, 2015 12:23 am, edited 1 time in total.
User avatar
By Angelo Santagata
#24332 OK. Im now stumped again...

For some reason I no longer get any readings.. and constantly get Failed to read from DHT Sensor in my code, not always but 80% of the time....

Code is trivial.. and Im now baffled again..
Ive set the 3rd param to 15.. baffling]
User avatar
By tytower
#24349
Angelo Santagata wrote:tytower, do you know what the correct speed for a DH11 is? 15 doesnt make much difference

I don't it is trial and error at this stage . There is a default rate set in the code I think . You will have to look it up . There is also a thread with a few posts on DHT22 and speeds . If I find it I'll post back. From memory I tried from 6 to about 40 and settled on 15 as did someone else in that thread.