Hi,
It’s been a while I’m trying to overcome a problem without success so far.
I’m trying to connect to a cloud server with the ESP8266-01 through NANO using software serial.
For a while it works poorly and very unstable, and now its not working any more.
I know my hardware is good, by testing several non-BLYNK examples of TCP client/server etc. and everything was perfect/
Using DEBUG I receive in my serial monitor the following:
[19] **
** ___ __ __
** / _ )/ /_ _____ / /**
** / _ / / // / _ / '/**
** ///_, /////_**
** // v0.4.6 on Arduino Nano**
[104] Free RAM: 698
[625] Connecting to YanHad
[3812] AT version:1.1.0.0(May 11 2016 18:09:56)
SDK version:1.5.4(baaeaebb)
Ai-Thinker Technology Co. Ltd.
Jun 13 2016 11:29:20
OK
[11111] +CIFSR:STAIP,"192.168.2.107"
+CIFSR:STAMAC,"5c:cf:7f:99:ae:a7"
[11120] Connected to WiFi
[21714] <[02|00|01|00] 5e43a9656853421b814cb3dcd675f017
[33085] <[02|00|01|00] 5e43a9656853421b814cb3dcd675f017
…and so on every 11 sec or so.
As I mentioned, for a while it works and i got in the serial monitor “ready” and “ping[]” messages but only after tens to hundreds connection attempts (11 sec interval).
I tried to change pins, use simpleTimer and a lot of other ideas I found out in this forum and others.
I read about the altsoftwareserial option but I assume it will disable the option to us irsend lib due to occupation of the internal timer.
My sketch is based on the “ESP8266_Shield” built-in example with minor changes.
PLEASE HELP