1-Wire Temperature Sensor - DS18B20 - on Omega2
-
This is true. In the docs under 1-wire communication, I see this:
Note that making these connections is very easy if you have a Expansion, Power, or Arduino Dock since they all expose the Omega’s GPIOs.
Maybe we'll see clarification next week.
Also, I can't upgrade to b151 or b152. Still shows b150This problem of upgrade is cleared
Still Power Dock doesn't expose GPIO19 to use with DS18B20 sensor. What pin should I use instead?
-
@Don-DeGregori you have to wget the b152 to /tmp and then sysupgrade.
-
This post is deleted!
-
@Costas-Costas
OK, I did the wget and I saw the download complete. Now I follow this with sysupgrade command by itself?
-
@Don-DeGregori the full command (for a 2+) is:
sysupgrade -n /tmp/omega2p-v0.1.9-b152.bin
-
@Costas-Costas
Did it before I saw latest post. Left out -n. Any problem?
-
-n tells it not to try to backup and restore your customizations
I'm not sure if the current system configuration supports doing that cleanly; if there's any question, doing a factory reset now or otherwise wiping the overlay would have the same effect at this point as having used the -n option in the upgrade.
-
@Costas-Costas
I guess what I did before was this only with the latest firmware.
Forgot I should have used sysupdate instead or also.wget http://repo.onion.io/omega2/images/omega2p-v0.1.5-b135.bin
OK now. See (b152) in on terminal splash.
Thanks all
-
@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.