I am trying to configure ESP8266 to work as a shield with arduino UNO. I already configured the ESP 8266 to work at 9600 baud, so I can connect to it via altsoftserial (I read that at higher bauds the software serial can work poorly).
I used the example ESP8266_Shield, only changed it (and the libraries) to work with altsoftserial instead of normal software serial.
The ESP8266 connects to my home access point, here is the log from the software monitor:
[99] Blynk v0.3.0
[100] Connecting to Network-c04a000645d6
[3497] IP: +CIFSR:STAIP,“192.168.0.103”
+CIFSR:STAMAC,“18:fe:34:a2:3d:69”
OK
[3545] Connected to WiFi
[10780] Ready (ping: 34ms).
And I can connect to it with blynk on my mobile phone, and switch the led on/off etc. However, it works only for about 10 seconds, then stops and blynk shows “Your Arduino UNO is not in network”. However on the serial monitor i don’t see any error messages, and when i check my Access Point, it shows that the ESP8266 is still connected to it. Also, when i was configuring the ESP8266 manually with a USB/serial converter, it held a stable connection (at least for half an hour).
What can be the problem?
EDIT: Checked it back with the original softwareserial, works exactly the same.