Problem with dht 22 (Error reading temperature! Error reading humidity!)

Hi,
First, sorry for my bad english :confused:
I have problem with dht 22 (AM 2302), use this library
Adafruit Unified Sensor Library: GitHub - adafruit/Adafruit_Sensor: Common sensor library
DHT Sensor Library: GitHub - adafruit/DHT-sensor-library: Arduino library for DHT11, DHT22, etc Temperature & Humidity Sensors
and 10k resistor.
Pictures of the wiring and the results:
http://imgur.com/a/TrfXA
I've spent a lot of time on it but I cannot get it to work.
Please, help me.

That look like a 100K resistor to me.

Its 10k, checked it with multimeter.

It might have helped if you had uses longer wires, coiled up more. It would have helped if all the wires were the same color.

It would definitely have helped if you posted your code AS TEXT not as a picture. It would definitely have helped if you posted your output AS TEXT not as a picture.

Did you try changing the config to a DHT11? Edit - nm, it looks like a 22.

#include <Adafruit_Sensor.h>
#include <DHT.h>
#include <DHT_U.h>

#define DHTPIN 2 // Pin which is connected to the DHT sensor.

// Uncomment the type of sensor in use:
//#define DHTTYPE DHT11 // DHT 11
#define DHTTYPE DHT22 // DHT 22 (AM2302)
//#define DHTTYPE DHT21 // DHT 21 (AM2301)

// See guide for details on sensor wiring and usage:
// Overview | DHT11, DHT22 and AM2302 Sensors | Adafruit Learning System

DHT_Unified dht(DHTPIN, DHTTYPE);

uint32_t delayMS;

void setup() {
Serial.begin(9600);
// Initialize device.
dht.begin();
Serial.println(“DHTxx Unified Sensor Example”);
// Print temperature sensor details.
sensor_t sensor;
dht.temperature().getSensor(&sensor);
Serial.println("------------------------------------");
Serial.println(“Temperature”);
Serial.print ("Sensor: "); Serial.println(sensor.name);
Serial.print (“Driver Ver: “); Serial.println(sensor.version);
Serial.print (“Unique ID: “); Serial.println(sensor.sensor_id);
Serial.print (“Max Value: “); Serial.print(sensor.max_value); Serial.println(” *C”);
Serial.print (“Min Value: “); Serial.print(sensor.min_value); Serial.println(” *C”);
Serial.print (“Resolution: “); Serial.print(sensor.resolution); Serial.println(” *C”);
Serial.println(”------------------------------------”);
// Print humidity sensor details.
dht.humidity().getSensor(&sensor);
Serial.println(”------------------------------------”);
Serial.println(“Humidity”);
Serial.print ("Sensor: "); Serial.println(sensor.name);
Serial.print ("Driver Ver: "); Serial.println(sensor.version);
Serial.print (“Unique ID: “); Serial.println(sensor.sensor_id);
Serial.print (“Max Value: “); Serial.print(sensor.max_value); Serial.println(”%”);
Serial.print (“Min Value: “); Serial.print(sensor.min_value); Serial.println(”%”);
Serial.print (“Resolution: “); Serial.print(sensor.resolution); Serial.println(”%”);
Serial.println(”------------------------------------”);
// Set delay between sensor readings based on sensor details.
delayMS = sensor.min_delay / 500;
}

void loop() {
// Delay between measurements.
delay(delayMS);
// Get temperature event and print its value.
sensors_event_t event;
dht.temperature().getEvent(&event);
if (isnan(event.temperature)) {
Serial.println(“Error reading temperature!”);
}
else {
Serial.print(“Temperature: “);
Serial.print(event.temperature);
Serial.println(” *C”);
}
// Get humidity event and print its value.
dht.humidity().getEvent(&event);
if (isnan(event.relative_humidity)) {
Serial.println(“Error reading humidity!”);
}
else {
Serial.print(“Humidity: “);
Serial.print(event.relative_humidity);
Serial.println(”%”);
}

I tried to change it to DHT 21/ 11, and still not working

Shouldn't the LED on the sensor board be on?

I dont now, when I dont use resistor the LED its off, now shines weakly, if use 4k,7 resistor is shines strongly.
Imgur

Just for kicks, push those pins connectors in all the way. They look iffy.

Now your 4.7K looks like a 47K (it has a yellow band). Is that a camera distortion, or do you have funny resistors?

If I connect DOUT with 5v on bord LED is on (VCC is not connect ) this is strangely for me.
Imgur