1-Wire Temperature Sensor - DS18B20 - on Omega2
-
@Lazar-Demin
The Power Dock does not expose GPIO19. Which pin would be a substitute?
-
@Don-DeGregori they should all work, I've personally tested with 18 & 19 and had no issues!
-
On the Power Dock, pin 0 works. The other numbered GPIOs on the bottom row should work as well.
Gabe
-
@Lazar-Demin
The Power Dock does not expose pin 19. That's why I asked the question. How would I tell which GPIO pin I can use without having to use the multiflex function to change pin modes?
-
OK, I'll try pin 0.
Pin 0 and 1 work and probably more. Just wondered why Administrator picked 19, like it was special. I'm done!
-
This post is deleted!
-
@administrators I am trying to connect the DHT11 sensor to GPIO 18/19. I am failed to connect it to Omega2p. It's working perfectly fine on my Arduino Board. But the only time it is getting the DeviceID when it's Data pin is not connected to GPIO. As soon as I insert the Data pin to GPIO 18/19 it doesn't get the DeviceID anymore. DHT11 sensor doesn't require any pull-up resistor as it has already on the breakout board. But still I tried with pull-up resistor on breadboard. But it doesn't work. Any suggestions.
-
@VIKAS-MALIK Have you followed the steps mentioned here : ??
https://wiki.onion.io/Tutorials/PHP-DHT11-DHT22-Sensor-Examples
It uses PHP for this tutorial.
-
@Manuel-Godinez Hi Manuel...I tried but this program binary is giving error.
Also, my connections are all correct but the thing is when I am doing the 1 wire transfer communication as mentioned in the steps here
https://docs.onion.io/omega2-docs/communicating-with-1w-devices.html
The DHT11 sensor is never detected.
@administrators I would like to know why this is still a problem? I am using the latest firmware b160.
-
@VIKAS-MALIK DHT11/DHT22 do not use the one-wire protocol, they use their own one. You can't use them with 1w.