• Try putting a 1k pullup to Vcc on the data line.

    Also, DHT11's are terrible - the temperature is okay, the humidity is very often totally bogus. The DHT22 sucks less. Both of them will instantly fail if you connect power backwards, so don't do that.


Avatar for DrAzzy @DrAzzy started