Copyright ©

Mongoose OS Forum

ATTENTION! This forum has moved to:

Do not post any new messages.

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

edited January 2019 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?


  • Erk, I've just double checked and in fact the sensor doesn't work with the Arduino - it must have died. Please delete this post!

This discussion has been closed.