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.
ESP Easy DS18B20 Negative temperature error
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 18
- Joined: 08 Oct 2015, 18:02
Re: ESP Easy DS18B20 Negative temperature error
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
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
Re: ESP Easy DS18B20 Negative temperature error
Hi, good code
but this is problem. Some reason for this error?
but this is problem. Some reason for this error?
-
- Normal user
- Posts: 40
- Joined: 17 Nov 2015, 15:58
Re: ESP Easy DS18B20 Negative temperature error
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.
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.
-
- Normal user
- Posts: 18
- Joined: 08 Oct 2015, 18:02
Re: ESP Easy DS18B20 Negative temperature error
// 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
// 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
Who is online
Users browsing this forum: No registered users and 113 guests