esp8266 Temperature Logger with Dynamic Data Plotting

d1_boardBelow is the dynamic data plot from the temperature logger in my workshop. The temperature logger uses a low cost Chinese sourced esp8266 D1 board and measures temperature and humidity every 5 seconds using a DHT11 sensor. Readings are sent to this site’s web server and stored in a MySQL database. The last 20 stored readings are graphed dynamically on this page and the blue horizontal line is set at 20oC. This post is set to auto refresh so that the most recent 20 data points are plotted every 5 minutes.

I have used a combination of easy to get off-the-self hardware devices, third party open source libraries, and some custom PHP coding to get this all working.  The graph above uses a great open source lightweight PHP-based graphing library called PHPGraphLib by Elliott Brueggeman.

This whole IoT demonstrator project will be described in a series of published blog posts as one of my more advanced projects. If the temperature falls below the blue line, it is too cold to work on projects.

About Louie

I have actively been interested and working in electronics, technology, computing, and scientific research for many years both as a practicing enthusiast and advanced maker, and in my professional career as an Experimental Scientist, Technology Manager, and IT Consultant. There are many insights I have gained over the years however, my failures have been my biggest source of frustration and learning.

I created the “Research Lab Notes” site to capture and share my thoughts, discoveries, resources, and show case my projects with people who share the same passion for learning and innovation.

While I will make ever effort to keep this blog simple and interesting, I will from time to time be blogging about advanced and complex topics because of my deeper interests. I hope you will find something of interest and more importantly learn something of value.

Did you like this article?
  • Fascinated
  • Happy
  • Sad
  • Angry
  • Bored
  • Afraid
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments