http://learn.adafruit.com/dht-humidity- ... cs-logging
However I'm getting nothing back from the port, I've posted infor on the RPi forum, ( http://www.raspberrypi.org/phpBB3/viewt ... 37&t=15755 ) however still waiting for answers.
1) Yes I have a Pull up resistor in Place,
2) Yes I have an Oscilloscope,
Using the code in
$ sudo ./Adafruit_DHT, the responce I get back is:
- Code: Select all | TOGGLE FULL SIZE
pi@raspberrypi ~/Adafruit-Raspberry-Pi-Python-Code/Adafruit_DHT_Driver $ sudo ./Adafruit_DHT 22 4
Using pin #4
Data (0): 0x0 0x0 0x0 0x0 0x0
Here are the oscillsope traces:
https://picasaweb.google.com/1132605127 ... directlink
So clearly the pin goes low and then comes back up high, though the routine doesn't appear to pul back the data
I've tried different pins - no different, and I;ve tried other routines to do other things using the same pin and they work OK.
I've tried 5V and linked both pins 3 and 4 to gnd (see comments here: https://www.sparkfun.com/products/10167 )