I try the same thing as you do, but I do not find the OneWire library for esp8266. How did you get it ?
Thanks for helping,
Alain (from France)
Explore... Chat... Share...
Moderator: igrr
Dennis wrote:Hello all,
I've problems getting the OneWire library to work. I downloaded the 1.6.1 IDE windows from the github repo, erased the onewire folder in users\me\documents\arduino\libraries, and the new IDE is using the proper customized version of OneWire.h for esp8266, the one that was included in the esp8266 arduino IDE download.
Still, every example of onewire ds18x20 temperature readout I try, as well as every example of dallastemperaturecontrol.h, only gives a temperature reading of "0.0" or says "no more addresses"...
I have attached the ds18b20 to GPIO2, the data pin pulled to VCC via 4k7 resistor, and I am using esp-01 module...
Webserver example runs fine, just not the ds18b20 sensor.
I suspected a broken sensor, or faulty wiring, BUT with different firmware from here (and with identical hardware, wiring, same sensor), http://homes-smart.ru/index.php/oborudo ... arodmon-ru
the esp shows the device address and gives correct reading of the ds18b20, so it must be some software issue...
Any ideas? Has Anyone got ds18b20 working?
regards
Dennis
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]