Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By 1simone0
#71917 Hi all !

I'm a newbie in ESP8266 and I need your help...
I've a very simple project to do:
I have some sensors attached to my Arduino and I would send a GET request to a webserver via esp8266.
I actually can do it but using a standard firmware on ESP8266 and an appropriate code on my Arduino with a library for using ESP8266. But in this way the loop fo my Arduino stops for some seconds (sometimes for 10 seconds or more, it dipends on the wifi signal strength) every time I have a connection to the website.
So to avoid this problem (for me is very important to don't have delays on my Arduino loop) I think maybe is possible to send data via serial from Arduino to the ESP8266, so the ESP8266 store this data and send the GET request whenever I want with no send response to the Arduino so Arduino is not waiting for that and can go on with his loop.

So I m asking you first if it is possible and if yes can You tell me how to do please?