DHT 22 Sensor does not Work :/
-
@MultiDJRoni I just tested my code with a DHT22 on GPIO11 and it's working just fine and peachy for me. You should check that the pin you're using actually works and that your DHT-module has a pullup-resistor and capacitor (and you should add those, if they are missing).
-
@WereCatf Hmm, it still does not work
-
@MultiDJRoni Did you test that the GPIO-pin works?
-
@WereCatf Yes, i tried 1,6 and 11
-
@WereCatf Hmm, i tried a different Breadboard, re arranged the Cables etc. and i still get an error
-
@MultiDJRoni I would like to help, but I don't know what's wrong. I know it works fine for me, so the error isn't in the code.
-
@WereCatf hmm Well anyways thanks for trying to help me
-
Dropbox link is no longer valid. Does someone have working bins for Omega2?
Thanks!
-
I am also looking for this. Hopefully someone has the file and can re-upload it. Thanks!
-
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) ?