ESP Easy DS18B20 Negative temperature error

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
VasilijHCN
Normal user
Posts: 18
Joined: 08 Oct 2015, 18:02

ESP Easy DS18B20 Negative temperature error

#1 Post by VasilijHCN » 08 Oct 2015, 18:08

Hi, first thanks for great work !!!
I use ds18b20 temp sensor, in positive temperature range all great, when temperature hit in negative range i got 4000 Celsius. I created my own simple esp8266+ds18b20 domoticz sketch, all works without error.

Its possible to control pwm via html request ? (like http://192.168.1.122/control?cmd=gpio,12,1), if yes please tell correct pwm command.

Martinus

Re: ESP Easy DS18B20 Negative temperature error

#2 Post by Martinus » 09 Oct 2015, 15:25

The negative value should be fixed, although I wasn't in the position of actually testing this. No freezer available in my testlab...
But there was definitely a bug due to a wrong variable type in the code.

Info on direct control of GPIO pins:
http://www.esp8266.nu/index.php/GPIO

menyiv
New user
Posts: 1
Joined: 20 Jan 2016, 15:09

Re: ESP Easy DS18B20 Negative temperature error

#3 Post by menyiv » 20 Jan 2016, 15:19

Hi, good code

but this is problem. Some reason for this error?

ambassadoro
Normal user
Posts: 40
Joined: 17 Nov 2015, 15:58

Re: ESP Easy DS18B20 Negative temperature error

#4 Post by ambassadoro » 21 Jan 2016, 19:55

Double check the cabling and the power source. This often helps alot.

For doing freezing-tests, I use pressurized air in spray cans, use the can upside down and it emitts liquid gas. Be careful! Its flammable.

VasilijHCN
Normal user
Posts: 18
Joined: 08 Oct 2015, 18:02

Re: ESP Easy DS18B20 Negative temperature error

#5 Post by VasilijHCN » 22 Jan 2016, 09:08

// R32 09-10-2015
// Fixed a bug in negative values on Dallas DS18b20 and added CRC check.
I use one external sensor, perfect reading negative temperature. Martinus created great project. If error occurs check pullup resistor from vcc to data pin

Post Reply

Who is online

Users browsing this forum: No registered users and 113 guests