ESP8266 as a shield Error

Hello,
Second day I can’t figure out how to make compiling ESP8266 Standalone example.
I have lates arduino IDE 1.6.5 r5 and lates Blynk 0.3.0
I have already downloaded and installed ESP8266 from https://github.com/esp8266/Arduino as written in example. (No luck with compiling)
I have find ESP8266WiFi.h library and paste it into library folder. (Now in sketch it is orange, but still no luck with compiling. Now I stuck on this error

In file included from C:\Users\EL Laptop\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:32:0,
                 from ESP8266_Standalone.ino:26:
C:\Users\EL Laptop\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiClient.h:28:18: fatal error: memory: No such file or directory
 #include <memory>
                  ^
compilation terminated.
Error compiling.

Why all is so difficult? I just want to run simple example.

I don’t understand how all others can run simple Blynk example on Arduino with ESP8266 wifi module if it is impossible to compile example with ESP8266? And no one can explain that compile error. For luck I have Arduino Ethernet shield, this example are working without problems. But how is possible run example with ESP8266, I don’t understand. :disappointed:

There is a tutorial about that. Have you checked it?

Ou sorry, my mistake, I mean I would like to run Arduino and using ESP8266 as WiFi module. I have ESP8266 01 module connected to Arduino, so witch example I need to use? Or there is some special setting needed?

Please use google search or search the forum. We are always happy to help, but each time we answer questions that already been answered - we don’t build Blynk… :clock1:

2 Likes

Ok, sorry I can’t find it before.

I have do all as in instruction - I was loaded AT22SDK10020150320boot12.bin firmware to the ESP8266, and in Arduino loaded ESP8266_Shield example. But all what I have get on serial monitor is

[19] Blynk v0.3.0
[19] Connecting to MyWiFiName
ATE0
[1030] Failed to disable Echo
AT+CIPCLOSE
AT+CIPSTART=“TCP”,“cloud.blynk.cc”,8442
AT+CIPCLOSE
AT+CIPSTART=“TCP”,“cloud.blynk.cc”,8442
AT+CIPCLOSE
AT+CIPSTART=“TCP”,“cloud.blynk.cc”,8442
AT+CIPCLOSE
AT+CIPSTART=“TCP”,“cloud.blynk.cc”,8442
AT+CIPCLOSE
AT+CIPSTART=“TCP”,“cloud.blynk.cc”,8442
AT+CIPCLOSE

instead of this

[19] Blynk v0.2.5-beta [20] Connecting to Courtyards-Wireless
ATE0
AT+CWMODE?
AT+CWJAP=“Courtyards-Wireless”,""
AT+CIFSR
[3088] IP: +CIFSR:STAIP,“100.65.10.162”
+CIFSR:STAMAC,“18:fe:34:a3:a3:01” OK
AT+CIPMUX=0
[3110] Connected to WiFi
AT+CIPCLOSE
AT+CIPSTART=“TCP”,“cloud.blynk.cc”,8442
AT+CIPSEND=5
AT+CIPSEND=32
15e942483a7141d5acceb9c657274d17[10176] Ready (ping: 11ms).

And I cant find solution for this. And as I see in forums, I have not alone with this problem.

I will re-check the ESP8266 with some recent firmware…

Check out the latest library release ,it comes bundled with some required libraries for ESP8266 Shield: https://github.com/blynkkk/blynk-library/releases/latest

Please note you should not mix the debug serial and the serial to ESP8266, as you did…

I have write new blynk library
Still no connection
have the same
AT+CIPSTART=“TCP”,“cloud.blynk.cc”,8442
AT+CIPCLOSE

May be someone can write some good instruction from start to finish how to correct flash ESP8266 on windows and until at end ESP8266 is connecting and blink was work, I think it will solve all prblems. I have spend a lot of hours and days to make it work with Arduino, but still no luck!

did you happen to get any solution…

I got an error before too…
I use esp8266 with arduino mega and used hardware serial connected to tx0 and rx0 reverse the connection few times
&& modified ESP8266_Hardser.h as follw for tcp time out connection and worked fine…