ESP8266 with a MySQL database


MWH Projects Blog

If you been following my blog since the beginning, you should remember a tour of some of the websites I’ve built in the past. The last websites I built back then involved PHP and MySQL databases and, even though it’s been such a long time, it certainly helped with this next experiment I did with the ESP8266 module.

tableI now have the ESP8266 module accessing a URL that contains the sensor information. Some PHP code grabs the information from the URL and inserts it into a table on a MySQL database. Check out the code on GitHub. Soon, I’ll have it sending data to both the database and Thing Speak, as it’s currently only sending data to the database.

You can view the live demo at mwhprojects.com/esp8266.

Once I finish up with the code, it’ll be time to put it into an enclosure… though I’m still waiting for…

View original post 9 more words