Jump to content

DHT11 DHT22 orange pi zero


Michal8

Recommended Posts

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?
Link to comment
Share on other sites

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:)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines