Sending data from an Arduino to the internet using an ESP8266 module.
Other PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

About Arduino-ESP8266

These are experiments in getting an Arduino to send data to the internet using the ESP8266 wifi module. These experiments use the data collected from a DHT22 temperature and humidity sensor and a photo resistor.

Files

ThingSpeak_noLCD_public

Initial code to get the ESP8266 online, sending data to Thing Speak.

ThingSpeak_LCD_public

Adds LCD to base code.

PHPpage_LCD_public

Changes ThingSpeak_LCD_public to send data to a webhost where data is inserted into a table in a MySQL database.

PHPpage_ThingSpeak_LCD_public

Combines ThingSpeak_LCD_public and PHPpage_LCD_public so that data is sent to both the MySQL database and Thing Speak.

stats.php

On the PHP Page Demo (link below), there are some statistics calculated by some PHP code (under the Last Day Stats heading). This file has that PHP code if you're interested.

Guides

I used these guides to get started:
http://www.instructables.com/id/ESP8266-Wifi-Temperature-Logger/?ALLSTEPS
http://randomnerdtutorials.com/getting-started-with-esp8266-wifi-transceiver-review/
http://mcuoneclipse.com/2014/12/14/tutorial-iot-datalogger-with-esp8266-wifi-module-and-frdm-kl25z/

My Links

PHP Page Demo

http://mwhprojects.com/esp8266

Thing Speak Channel

http://thingspeak.com/channels/22770

Blog

I cover the hardware aspect of this project on my blog: https://mwhprojects.wordpress.com/category/projects-2/arduino/esp8266-module/