DHT 22 Sensor does not Work :/
-
Any updates about this?
-
I am looking to, any hints?
-
Maybe if you use an arduino as interface between sensor and omega2, arduino libraries work very well and then trough UART you can pass the values to omega and read serial port with PHP or python., i was tryinig to adapt this python code (http://www.uugear.com/portfolio/dht11-humidity-temperature-sensor-module/) from raspberry PI to omega2 changing respective GPIO libraries without succes, so i decide implement arduino interface. https://ibb.co/evW87k
-
This post is deleted!
-
Hi all
Good news. I migrated original code successfully to work on Omega2!
See https://github.com/h0l0gram/omega2-checkHumidity for binary and source.Make sure your Omega2 has firmware >=0.1.10 b160 or it won't work.
root@Omega-1234:~# oupgrade -c > Device Firmware Version: 0.1.10 b160 > Checking latest version online... > Repo Firmware Version: 0.1.10 b160 > Comparing version numbers > Device firmware is up to date! root@Omega-1234:~#
See https://docs.onion.io/omega2-docs/using-the-omega-updating.html
-
@h0l0gram PSA: wiki.onion.io is documentation from the original Omega1 days!
See docs.onion.io for our shiny, brand new documentation.
For updating, see: https://docs.onion.io/omega2-docs/using-the-omega-updating.html
-
@MultiDJRoni ,
The picture of the connections show the wires on one side and the sensor on the other side of the breadboard. These lines usually don't connect across the middle. IE it is an open circuit, so you can place an IC in the middle. Try connecting it all on one side.
-
This post is deleted!
-
@h0l0gram Thank you for the excellent conversion code for checkhumidity. It works great for me. The only issue I am having is that if the DHT22 sensor is plugged into the Omega before the omega is turned on, the omega won't boot. I have to disconnect the sensor to gt the omega2 to boot.
Has anyone else seen this?
-
@Andrew-Bialock Which gpio are you using for the data? Is it one of the ones required to boot (1,6,7,8,12,45) ?