Hello, so I wired up my DHT sensor like this:
and I’m using the DHT library and example from Adafruit to read from it (only changed the pin to D0), but I get the error message that it was not possible to read from the sensor.
Any idea why?
Hello, so I wired up my DHT sensor like this:
and I’m using the DHT library and example from Adafruit to read from it (only changed the pin to D0), but I get the error message that it was not possible to read from the sensor.
Any idea why?
I believe the library is interrupted based and D0 can’t be used for interrupts. I would suggest the PietteTech_DHT library as it has been more refined. You still can’t use D0 with it for the same reason.
I have used other pins too, maybe encountered the same issue. Will try again with a different library and pin. Thanks!