Hello! I am having an issue connecting to Blynk’s cloud server with my Arduino Nano + ESP8266 shield project. According to the debug output, the device successfully connects to the WiFi network but then ceases to print anything else.
According to Dmitriy at Blynk, they are not experiencing any outages on their end. Any ideas what could be the issue?
Blynk Debug output:
[2751] Connecting to WiFi_SSID
[5838] AT version:1.4.0.0(May 5 2017 16:10:59)
SDK version:2.1.0(116b762)
compile time:May 5 2017 16:37:48
OK
[9023] +CIFSR:STAIP,“60.25.32.64”
+CIFSR:STAMAC,“5c:cf:7f:3c:c9:9c”
[9097] Connected to WiFi
Seeing the documentation you shared, I thought I’d rewire the Debug Serial to my Nano’s Serial and the ESP8266 to a SoftwareSerial. Adding in the BLYNK_DEBUG definition now gives a slightly more detailed output, but still halts after connection:
[688] Connecting to WiFi_SSID
[13723] WIFI CONNECTED
WIFI GOT IP
AT wersion:1.4.0.0(May 5 2017 16:10:i2
[17804] +CIFSR:STAIP,“60.25.12.64”
+CIFSR:STAMAC,“5c:cf:7f:3c:c8:9c”
[17815] Connected to WiFi
*Note: I am powering the device directly from a power supply, so I don’t expect any interference on the Debug serial bus.
This might (but not necessary IS) the issue. I don’t know if Blynk has been “approved” to work with this AT version. There might be different response format (for example), which library can’t handle. For me SDK 2.0.0 is working fine now, but I do remember I do have issues with that too. modifying a library a bit fixed that issue.
Thanks for the suggestion. I rolled back the ESP8266 SDK to v2.0.0 and inserted that wifi disconnect line into the Blynk library, but they were ineffective. Here is the resulting output:
[771] Disconnect from previous Wifi AP
[1312] Connecting to WiFi_SSID
[4396] AT version:1.3.0.0(Jul 14 2016 18:54:01)
SDK version:2.0.0(656edbf)
compile time:Jul 19 2016 18:44:44
OK
[10658] +CIFSR:STAIP,“60.25.32.64”
+CIFSR:STAMAC,“5c:cf:7f:3c:c9:9c”
[10733] Connected to WiFi