Jordan1x Posted 2 hours ago Posted 2 hours ago 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 0 Quote
laibsch Posted 2 hours ago Posted 2 hours ago Providing logs with armbianmonitor -u helps with troubleshooting and significantly raises chances that issue gets addressed. 0 Quote
Recommended Posts
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.