Skip to content

Read temperature from a DS18B20 and send it via an ESP8266 to a webserver

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt
Notifications You must be signed in to change notification settings

tommybobbins/ESP8266-DS18B20

Repository files navigation

ESP8266-DS18B20

Read the temperature from a DS18B20 sensor and publish it to an HTTP server over WiFi.

Please note that according to this thread: http://www.esp8266.com/viewtopic.php?f=32&t=6763 You need pull-up on both GPIO 0 and 2 pins (Vcc --->4.7K --> GPIO2, Vcc --> 4.7K -->GPIO0). What happens is sometimes deep wake-up causes ESP hang so we need to pull-up on pins. - See more at: http://www.esp8266.com/viewtopic.php?f=32&t=6763#sthash.bKspk7bU.dpuf

192.168.1.134 - - [05/Nov/2015:01:45:17 +0000] "GET /checkin/18:fe:34:f4:d2:77/temperature/13.8125/ HTTP/1.1" 200 636 "-" "-"

One more thing - LUA is integer-based and this can cause problems with conversion to Centigrade. I had to download and flash a floating-point-capable firmware image (nodemcu_float_*.bin) from https://github.com/nodemcu/nodemcu-firmware/releases.

About

Read temperature from a DS18B20 and send it via an ESP8266 to a webserver

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published