The Webserver

A project log for ESP8266 Current Monitor

Basic energy monitor using the ESP8266 and the ATMega328

Patrick McDonnellPatrick McDonnell 01/21/2015 at 03:511 Comment

Things have been pretty busy on my end and I haven't had too much time to work on the current monitor. Apologies to all the two people who are anxiously awaiting to hear more. I thought I'd take some time to show you guys just how the web interface works and how data gets from the arduino to the website.

The main page of the current monitor, branded for my school because I can and because I was too lazy to remove that part of the code.

The basic flow of the data transmission is as follows:

Timer on board sends a GET request to the webserver's special php GET page via the ESP8266.
GET Page on webserver takes data from URL and inserts it into a MySQL table
Website polls MySql data from the past two hours and displays data on the website.

I'll give a more detailed description of the process as soon as I can make some handy graphics to show it.

That's all for now!


atef24848 wrote 04/20/2016 at 12:36 point

Could you give me the code please, i have to develop something like this for my project

  Are you sure? yes | no