esp8266 arduino code to read a ds18b20 temperature probe and present a json api
- C++ 100%
| README.md | ||
| tempjson.ino | ||
tempjson
wat
Example of some ESP8266 Arduino code to read a ds18b20 temperature sensor and present the results as a JSON-ish API.
how
open .ino in arduino. edit wifi info and GPIO pin to match the way you wired it up. and upload to your ESP8266.
status screen in serial monitor will show its ip address.
then hit http://[ip]/api and get
{
temp: [
25,
77
]
}
hookup
license
whatever
