Hi,
I have some experience with the AM2302 / DHT22 and I can confirm that it
uses a custom serial protocol. It is not i2c. It is a bit finicky in regards to
timing and attempting to take measurements too fast will result in
inaccuracies. I believe that Adafruit has a decent Arduino lib for this sensor.
I'd imagine that porting the code would require some work. As David mentions,
one thing that will most likely be an issue with the BBB is attempting to use
this sensor with standard GPIO. As I mentioned the timing this device requires
is pretty tight. I'd be very surprised if you could get it to work reliably
without employing the PRU. It may just be easier to use something like an
ATTiny (along with the Adafruit lib) in between the sensor and the BBB and dump
the data using a UART. My two cents... FWIW.
Thanks,
Skip
On Nov 12, 2014, at 10:28 AM, David Goodenough wrote:
> AM2320
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.