Report Bugs Here

Moderator: Mmiscool

User avatar
By its1000
#69255 it is a bug?
I use an original probe connected to a NodemCU and I always have a -127 value returned.

If anyone has a clue, I would really appreciate...

(no issue with a DHT22, works ok, the temp is a little bit too high but I think my DHT is not very accurate)

thank you for your help.
User avatar
By its1000
#69391 found the solution thanks to a good friend... I was stupidely using D2 as pin2 instead of GPIO 2 = D4.

Have plugged the DS18B20 in the D4 and now run great...

just the fact the probe are always giving to high temp, but I think everybody has the same issue..
User avatar
By heckler
#69404 Have you seen this thread...
viewtopic.php?f=41&t=7319&p=37283&hilit=ds18b20#p37283

I have had no problems reading a ds18b20 or even several of them.

if you are still having problems after reading the above post then I suggest you post the code you are trying to run along with the schematic you are using.

regards
dwight

PS you probably will not be able to run the sample code in that thread without correcting some syntax issues as it was written for an earlier version of espbasic. (Mostly adding some commas where needed, see the command reference for each of the basic statements in the sample code)