For context:
I have used the DHT11 last month and it was working very fine. I stopped using it for almost 2 weeks and just today, when I tried to use it again with the same code that I used, it only shows "nan" on the LCD. I tried using different code, but the serial monitor only showed zero. I tried another code that I found online, however, the serial monitor showed -999 on both temperature and humidity.
Extra info:
- LCD is i2C
- already tried to disconnect, connect, and change jumpers
2 posts - 2 participants