Blynk keeps on disconnecting from ESP8266

Hello everyone. I recently have been experiencing this issue with Blynk. It keeps on disconnecting in matter of 10 seconds. My project was working fine before and this issue has just started. I simplified the code to see where the problem was and it led me blynk.

#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

char auth[] = "TheCode"; // these are obv changed but they are correct. 
char ssid[] = "Wifi (2.4 GHz)";
char pass[] = "wifipass";

void setup()
{
  Serial.begin(9600);
  Blynk.begin(auth, ssid, pass);
}

void loop()
{
  Blynk.run();
}

'This is what the serial monitor read' 
    
___  __          __
   / _ )/ /_ _____  / /__
  / _  / / // / _ \/  '_/
 /____/_/\_, /_//_/_/\_\
        /___/ v0.5.3 on NodeMCU

  Give Blynk a Github star! => https://github.com/blynkkk/blynk-library

[23740] Connecting to blynk-cloud.com:80
[23863] Ready (ping: 31ms).
⸮Z⸮  //this appears after the device has disconnected.

Serial monitor seems normal, do you have more info?

This is all the code and the serial monitor hasn’t changed from when my code worked. Do you think the issue is not from the chip or the code but rather from my internet?

It’s really hard to tell. I don’t know what board you are using, but I would check both USB cable and Power supply.

1 Like