I want to start sending sensor data to a webpage with the ESP8266. I've been looking for libraries for 2 days no and cant seem to get anything to work besides the simple AT commands. Could someone steer me in the right direction?
I want to start sending sensor data to a webpage with the ESP8266. I've been looking for libraries for 2 days no and cant seem to get anything to work besides the simple AT commands. Could someone steer me in the right direction?
https://www.facebook.com/esp8266wifi
http://tech.scargill.net/esp8266-and-mqtt-a-marriage-made-in-heaven/
These two may help alot, Pete is a life long friend of mine, he lives primarily in the uk and is in constant contact with the developer working on the OS/Firmware that is contained within the ESPxxx
He also now has even a 300 LED string of WS2812 (Addressable LEDs) being driven directly by this (No Arduino or PI needed as it is a uController in its own right
check it out on his ESP Facebook page
Peter
your question is not very clear... AT commands are one way to send data.
if you just want the basics, then this should do:
http://allaboutee.com/2014/12/30/esp8266-and-arduino-webserver/
A very detailed reference is this:
you can do more advanced stuff like modifying the esp8266 firmware directly
How to Directly Program an Inexpensive ESP8266 WiFi Module | Hackaday
or program an Arduino remotely via the esp8266
Programming an Arduino over WiFi with the ESP8266 | Hackaday
Hope these help,
Manolis
Same problem. I got to know what AT commands does using Putty. But I am not getting how to send a data, say, analog values of temperature sensor to Webpage.
You can use TCP and GET/POST to send data from arduino using ESP8266. I have a tutorial around it using AT commands you can check that out for reference.
You don't send data to a web page (Normally), the web page requests data from you (your ESP8266 Module)
.one thing that may help you alot with this is to think of the ESP8266 as just a TCP/IP (Network) processor. Use the Arduino to send the data to an MQTT server and use a web page to read from MQTT, Or a phone, or any other computer.
Making the ESP8266 run a web page is also a possibility but not very efficient and not very discoverable. Using the Arduino would be a sure way to run out of RAM and FLASH.
So. Arduino collects all sorts of data your interested in and publishes it to an MQTT server (Mosquitto, Eclipse, Other free services can provide the actual server if you dont want to run your own).
A browser can subscribe to the MQTT server directly or via a web page. You can also easily get other Arduinos or PI, or ... to subscribe and publish to this MQTT server and so now you have a solid target to get the data. You have seperation of your data sources and what is used to view the data.
I have many videos on my YouTube channel that shows this in operation, and there are many more beyond my videos too.
If you can describe from end to end what your trying to achieve then I can advise on a solution better.