Copyright ©

Mongoose OS Forum


Can't get a reading from my DHT22 using the example code

edited January 7 in Mongoose OS

Hi folks,

Just started with Mongoose OS today using an ESP32. I've done the basic quickstart and got things up and running in mDash. I've now moved on to trying to get a temperature reading using a DHT22 sensor. However, despite the build and flash going fine, all I get in the console is Temperature: nan. I have double checked the wiring, and the sensor works fine with my Arduino. Any ideas?


This discussion has been closed.