Push Data From ESP Webserver to Client

2,824

26

1

Maybe you used Ajax to pull your data off your webbrowser?

With modern browsers you now can also push data.

It's a technique that is used by Facebook and Twitter amongst others.

In this instructable I used an ESP8266 with the Arduino IDE, but it will doubtlessly work with other webservers too.

In the next step I will show you the easy HTML

and then for those who also use the ESP, there is a simple example sketch.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: The HTML Part

Step 2: The ESP Sketch Part (for Arduino IDE)

Step 3:

The full sketch and html is in the push.zip file

Be the First to Share

    Recommendations

    • Assistive Tech Contest

      Assistive Tech Contest
    • Reuse Contest

      Reuse Contest
    • Made with Math Contest

      Made with Math Contest

    Discussions

    0
    None
    wold630

    3 years ago

    Great information! Thanks!