Sorry to bring this thread out of the dead and happy holidays!
I’m wondering if anybody’s been able to get the RHT-03 working with the Imp since I saw an Imp library for the DHT11 and they seem visually identical…?
I don’t really know what the difference between the two sensors is so I’d really appreciate some info from anyone who can help out.
Thanks in advance!
p.s. I just saw a page which stated that the RHT-03 is also known as DHT22. There’s even some example code detailing how to get it working with RPi - http://davidjkaleta.com/?page_id=26
p.s. 2 Here’s a link to Adafruit with some more info on the difference between the two sensors - https://learn.adafruit.com/dht
I’m afraid I can’t help here. I didn’t write that driver; they aren’t “official drivers”, just drivers written by engineers here and released under an MIT license. Had a quick look around the lab and couldn’t see any maxdetect parts to try it myself either.
Seems like chrischi has no issues here; are you sure the sensor isn’t dead?
I’m pretty sure the sensor is fine since it works when hooked up to an Arduino and also @osherl confirmed that he’s seeing the exact same issue as me.
How can we go about troubleshooting this since I really love the Imp platform and have been wanting to implement this sensor into my project for nearly two years now…
@Hugo - sadly, I don’t have a Scope on hand (and I probably wouldn’t be able to find the specific issue, even if I did).
If all else fails, I can always try another sensor, as suggested - do you know off the top of your head a drop-in replacement for the DHT22? I’m referring to the following:
Breadboard-friendly - perhaps someone has developed a breakout board? I’d really prefer not to go SMD for this project
No external components
Similar price range
Ideally carried by SparkFun since it’s one of the few overseas companies I can get parts from
@Chrischi - that’s very strange. Myself and @osherl seem to be having issues with the exact same code & sensor which is working for you… Must be something else.
Thanks for the replies! Too bad these sensors always seem to be a pain when trying to interface with various mCs. Perhaps, I’ll get an HTU21D as suggested and just forget about getting the DHTs working with the Imp for the time being…