Hi,

I tried to setup DHT11 sensor on the latest AndroidThing Preview 1, by 
following the GPIO SDK 
<https://developer.android.com/things/sdk/pio/gpio.html>, but failed. Data 
can't be received successfully.

Looks like each function call of the Gpio.getValue() may take about 270us. 
It can't fit the timing requirement of DHT11, which needs about 20us or 
less.

Any suggestions or idea to work it out on AndroidThings? Thanks.

Reference: DHT11 Humidity & Temperature Sensor 
<http://www.micropik.com/PDF/dht11.pdf> 

Regards,
Moontain

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/7da1ebd1-fd93-4aef-a381-3d8210f0dc69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to