Categories

ESP8266 temperature logger

Posted on Thursday, July 21st, 2016 in wireless by DP

phimg_20160301_204007-600

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.

This entry was posted on Thursday, July 21st, 2016 at 4:08 am and is filed under wireless. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

2 Responses to “ESP8266 temperature logger”

  1. 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/

  2. 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…

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments