Seeed-Studio / Grove_Temperature_And_Humidity_Sensor

Arduino library for the DHT series temperature&humidity sensors
http://www.seeedstudio.com/depot/grove-temperaturehumidity-sensor-pro-p-838.html
MIT License
66 stars 61 forks source link

Only receive 0 for temp and humidity with DHT22 #22

Open thefueley opened 12 months ago

thefueley commented 12 months ago

I'm using an Arduino MKR WIFI 1010 and DHT22. I can see output from the debug monitor but it just says 0 for both temp and humidity. Looking at the .ino project file, I see Connect a 10K resistor from pin 2 (data) to pin 1 (power) of the sensor.

Is this actually required? The example project page doesn't mention that. If it is required, which 10k resister do I need, 1/4 watt, 1/2 watt?

I should also add that I'm not using a Grove Base Shield. I am connecting the Arduino and the DHT22 via a breadboard.

Lesords commented 1 month ago

Hello,

I'm very sorry to have kept you waiting so long.

Do you still have this problem now?

thefueley commented 1 month ago

Hi, @Lesords. I wasn't able to get a reading on the DHT22 so I switched to a BME280 with no issues.

Lesords commented 1 month ago

Okay, I get it.

I don't have the corresponding hardware device on hand at the moment, so I'll verify it and let you know when I do.