Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

DHT11 DHT22 orange pi zero

Featured Replies

hello, i have installed WiringOP it works good for switching relay module but I cannot make DHT 22 to work. Output looks like this

 
Humidity = 0.0 % Temperature = 0.0 *C (32.0 *F)
Humidity = 0.0 % Temperature = 0.0 *C (32.0 *F)
Humidity = 0.0 % Temperature = 0.0 *C (32.0 *F)
Humidity = 0.0 % Temperature = 0.0 *C (32.0 *F)
Humidity = 0.0 % Temperature = 0.0 *C (32.0 *F)
Humidity = 0.0 % Temperature = 0.0 *C (32.0 *F)
Humidity = 0.0 % Temperature = 0.0 *C (32.0 *F)
Humidity = 0.0 % Temperature = 0.0 *C (32.0 *F)
Data not good, skip
Humidity = 0.0 % Temperature = 0.0 *C (32.0 *F)
Data not good, skip
 
On one line there were possible good values bud it was one line of 1000. I have tried the script from http://www.piprojects.xyz/temperature-humidity-sensor-orange-pi/I don't have an idea how to debug this, can anyone help or confirm that it should work?
  • Author

Hi, I have finally found the solution, the problem is in /etc/default/cpufrequtils where MIN_SPEED was set to 240MHz and it is too low. I set the MIN_SPEED to 600MHz and conservative governor. Now it WORKS as expected. Maybe it helps someone:)

Hi Michal8 - how did you connect the DHT22 to OrangePi Zero? can you share to which pins you connected, as well as your srcipt?

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.