
A ESP8266 temperature logger project from Facelesstech:
I decided to use the esp-01 module because I only need 2 GPIO pins since I was using the DS18B20 temp sensor and the WS2812 LED. This made the hardware really cheap and easy to reproduce too. I normally use FTDI boards when it comes to the USB to serial on my projects but I couldn’t find a FTDI board with micro USB that didn’t cost the earth. That’s why I went with the CP2102 which I hadn’t used before.
I think what really made me feel good about this project was the fact that I came up with the idea to use a Full sided male USB port for power teamed with a AMS1117 3.3v voltage regulator. This would allow me to just plug this straight into a USB wall wart or a phone charger battery bank.
More details at Facelesstech site. All project files and code are available on Github.
Check out the video after the break.

The ESP8266 has a hardware watchdog timer, so you could probably use that to measure temperature to much better resolution that you’d get from a DS18B20. We get better than 0.003C using the technique with cheap Pro Mini Clones:
https://thecavepearlproject.org/2019/02/25/no-parts-temperature-measurement-with-arduino-pro-mini-to-0-005c-or-better/
Ooops, I missed an important aspect of the two clock method – the inter-reading jitter in the micros() reads brings the resolution down to DS18b20 levels. Will be working on timing, and a bit of smoothing to see if I can get that sorted over the next few days. Sorry for over claiming there…