Michal8 Posted January 15, 2017 Share Posted January 15, 2017 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 More sharing options...
Michal8 Posted January 16, 2017 Author Share Posted January 16, 2017 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:) 2 Link to comment Share on other sites More sharing options...
wojtek_b Posted December 11, 2017 Share Posted December 11, 2017 Hi Michal8 - how did you connect the DHT22 to OrangePi Zero? can you share to which pins you connected, as well as your srcipt? Link to comment Share on other sites More sharing options...
Recommended Posts