DHT Random Failures


#1

Hi

I have a DHT Pro connected to my GrovePi+ + RaspberryPi 3B+ on port D8. I have two more sensors connected to I2C1 and I2C2 on the same.

Occasionally (Once in 2/3 days) the DHT stops working (Returns -1) as shown below.

I notice that when this happens, the GrovePi has some internal issue due to which it does not show up at address 04 when I do a sudo i2cdetect -y 1 (I can see the two other sensors though, possibly because the I2C ports on the GrovePi+ are just a passthrough.

I am left with two choices now

  1. Power cycle the unit (A reboot does NOT work)
  2. Force a firmware upgrade (Not ideal at all in a field deployment)

I’d like to know if there’s anything else I can try. This issue only happens with the DHT+ and not with any of the other sensors I have in this setup or others.

I can even live with a periodic “Reset” of the GrovePi+ as long as I can set that up as a cron job from the RPi.

Best
Yogi


#2

Hi @ygopalan,

If you’re currently running version 1.2.7 of the firmware, can you update to 1.3.0 and then tell us if this made the “hiccups” disappear? Of course, I mean leave it running for a few days and then tell us if it went well.

Here’s where you can find the instructions:

Thank you!