Michal8 Posted January 15, 2017 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?
Michal8 Posted January 16, 2017 Author 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
wojtek_b Posted December 11, 2017 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?
Recommended Posts