Jump to content

Recommended Posts

Posted

Hi all,

I'm trying to use a DHT11 temperature and humidity sensor with my Armbian-based Orange Pi. I grabbed this DHT11 module. It’s cheap and seemed ideal for simple readings. The wiring matches the usual 3.3 V setup (VCC, data, GND), and I'm using the Adafruit_DHT Python library with the right pin number.

 

Here’s my problem: Readings work perfectly right after reboot. tempo is consistent and logical. After a few minutes, the humidity values hang (stuck at 0 %), and temperature readings start to spike randomly or freeze. Resetting the board or restarting the Python script often fixes it temporarily. I've double-checked wiring (no loose connections), shielded against shorts, and even tried using a 10 k pull-up resistor on the data line. but the issue persists.

 

Questions:

Could this be a timing issue with how the Armbian kernel handles the GPIO?

Any known quirks with DHT11 + Armbian or Orange Pi boards?

Would using a level shifter or adding a small capacitor help stabilize the data line?

Would love to hear from anyone who’s successfully run DHT11 sensors on Armbian or suggestions on how to dig into what's causing the freeze-up.

 

Thanks for any help!
—Jordan

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines