The above images show how the dht22 is wired at present.
Following last months JAM I ordered some sensors from SKPANG and started to build an AirPi
All went fine and two sensors worked perfectly but the DH22/RH03 didn’t want to work. I ended up with all zeros as the output.
I used the software from AirPi and some from Arduino and the AIrPi gives no results just the output of the other sensors
pi@evansthepi ~/Meteoros $ sudo python Upload.py
[‘AirPi.cfg’]
Upload.py:72: RuntimeWarning: This channel is already in use, continuing anyway.
Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(21,GPIO.OUT)
Temp-BMP: 23.6 C
Pressure: 99760.2 Pa
Uploaded data at 2013-08-05 19:49:54.604846
Temp-BMP: 23.6 C
Pressure: 99765.2 Pa
Uploaded data at 2013-08-05 19:49:56.806157
Temp-BMP: 23.6 C
Pressure: 99763.2 Pa
Uploaded data at 2013-08-05 19:49:59.132316
and the Arduino software gives:
pi@evansthepi ~/Adafruit-Raspberry-Pi-Python-Code/Adafruit_DHT_Driver $ !!
sudo ./Adafruit_DHT 2302 4
Using pin #4
Data (0): 0x0 0x0 0x0 0x0 0x0
pi@evansthepi ~/Adafruit-Raspberry-Pi-Python-Code/Adafruit_DHT_Driver $ !!
sudo ./Adafruit_DHT 2302 4
Using pin #4 Data (0): 0x0 0x0 0x0 0x0 0x0
pi@evansthepi ~/Adafruit-Raspberry-Pi-Python-Code/Adafruit_DHT_Driver $
Can anyone help please
Hi Paul,
We met at Bletchley last month. Have you fixed your DHT22 issue?
I have mine up and working recording temperature and humidity.
Only issue I can see from the photographs is there is no connection to 3.3V GPIO pin
on breadboard but I may be missing something. Anyway hope that helps.
Cheers.
Glenn
Glen
Thanks for this, hope you have a good time at the MK Jam today, unfortunately I am away this weekend.
I will double check this but thought two of the pins were attached to power one via the resistor, the third to a GPIO port.
Paul