I got this DHT22 sensor (COM-FOUR DHT22 AM2302) but I'm not able to extract any data from it...
Current setup is Rpi2 -> Breadboard -> DHT22 Pi is based on standard configuration where I've only activated i2c interface to read from another sensor (this part work) in case it matter.
I've downloaded the Adafruit python library and installed following the instruction but all I can get is:
$ ./AdafruitDHT.py 22 6
Failed to get reading. Try again!
For sake of testing I've tried also 2303... but no luck.
Following this question How to know if DHT11/DHT22 is working? I've also tested the following:
#define DHT_GOOD 0
#define DHT_BAD_CHECKSUM 1
#define DHT_BAD_DATA 2
#define DHT_TIMEOUT 3
$ sudo pigpiod
$ ./DHTXXD -g6
3 0.0 0.0
The sensor have a little break out that have (+),(out),(-) that I've connected to 3.3V, GPIO6 and Ground. I've also tried with and without a 10k resistor.
Any idea what I could check?