Temp Humid sensor error question

Grove is a modulated, ready-to-use tool set.
Much like Lego, it takes a building block approach to assembling electronics.

Moderators: violet, jeremy882, crail.lyu969

Post Reply
mhinton
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Mon Dec 31, 2018 8:03 am

Temp Humid sensor error question

Post by mhinton » Sun Mar 10, 2019 11:57 am

Setup:
Arduino IDE 1.8.8
Seeeduino V4.2
Base Shield
Grove Temperature&Humidity Sensor

So i set this up as per the directions on the Temp and Humid webpage. However, I kept getting error message in the serial monitor that it could not read the sensor. "Read failFailed to read from DHT Humidity: 0.00 % Temperature: 0.00 *C"
To get it to work, I moved the sensor from D2 to I2C Grove Connector. Then changed the DHTPIN variable from 2 to 19. It works!
I went to reproduce the error with the original setup (D2 and DHTPIN=2). It worked the second time around. Any ideas as to what caused the original error ?

bill.yu
Elementary-4
Elementary-4
Posts: 400
Joined: Mon Apr 02, 2018 11:05 am

Re: Temp Humid sensor error question

Post by bill.yu » Thu Mar 14, 2019 11:34 am

Hi there,

I try to simulate the issue, but no luck, i can not get the error code.
i use this library, https://github.com/Seeed-Studio/Grove_T ... ity_Sensor,
please let us know which library do you use. thanks.

Post Reply