Simple Blynk example with NodeMcu showing soft wdt reset

Before creating the topic

  1. Search forum for similar topics
  2. Check http://docs.blynk.cc and http://help.blynk.cc/
  3. Add details :
    • Hardware model + communication type. For example: Arduino UNO with Ethernet Shield
    • Smartphone OS (iOS or Android) + version
    • Blynk server or local server
    • Blynk Library version
    • Add your sketch code. :point_up:Code should be formatted as example below.

Simply paste your code between ``` If you don’t format your code, your topic can be deleted by moderators.

#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

char auth[] = "GD49FPCqM__O99lpZErhwvocrFpikPn4";//Enter your Auth token
char ssid[] = "Nachu";//Enter your WIFI name
char pass[] = "nv@nv@2021";//Enter your WIFI password

void setup() {
  Serial.begin(115200);
  pinMode(D0, OUTPUT);
  Blynk.begin(auth, ssid, pass);
  //ESP.wdtDisable();
  //ESP.wdtEnable(WDTO_8S);

}
void loop() {
  Serial.println(F("Blynk monitor"));
  Blynk.run();
  //ESP.wdtFeed();
}
//#define BLYNK_TEMPLATE_ID "TMPL3o7Axw0Vj"
//#define BLYNK_TEMPLATE_NAME "FirstIOT"
//#define BLYNK_AUTH_TOKEN "GD49FPCqM__O99lpZErhwvocrFpikPn4"

This is the error I get
[4417] Connected to WiFi
[4417] IP: 192.168.0.133
[4417]
___ __ __
/ _ )/ /_ _____ / /__
/ _ / / // / _ / '/
/
//_, /////_
/
__/ v0.6.1 on ESP8266

[4423] Connecting to blynk-cloud.com:80

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Soft WDT reset

Exception (4):
epc1=0x401002be epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

stack>>>

ctx: cont
sp: 3ffffd90 end: 3fffffd0 offset: 0160
3ffffef0: 00000000 00001955 c76c8b43 00000000
3fffff00: 00002327 00000000 00001955 4020418d
3fffff10: 00000000 00001955 cb439581 001d4b33
3fffff20: 00000000 00001955 c6a7ef9d 00001147
3fffff30: 00002327 00001955 00000000 402047f8
3fffff40: 00002327 00001955 3ffeeafc 40201149
3fffff50: 00002327 00000000 3ffeead8 40201a01
3fffff60: 00000000 00001955 c5a1cac0 001d4b2c
3fffff70: 00000027 0000008c 3ffeeb6c 00001147
3fffff80: 00002327 3ffeead8 00000000 40201e5c
3fffff90: 40207594 8500a8c0 feefeffe feefeffe
3fffffa0: feefeffe feefeffe feefeffe 3ffeecf4
3fffffb0: 3fffdad0 00000000 3ffeecc8 40204234
3fffffc0: feefeffe feefeffe 3fffdab0 40100d95
<<<stack<<<

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 3424, room 16
tail 0
chksum 0x2e
load 0x3fff20b8, len 40, room 8
tail 0
chksum 0x2b
csum 0x2b
v000464c0

Are you using Blynk IoT or Blynk Legacy?

What version of the ESP32 arduous using?

Pete.

I am using Blynk IOT
And it’s ESP8266

you’ve

You should be using Blynk library version 1.2.0 and I’d recommend opening the latest version of the example you are using, once you’ve installed that version I’d recommend opening one of the examples that are installed with that library.

What version of the ESP8266 Core do you have installed?

Pete.

It’s 3.1.2

It worked with the library update of the Blynk

1 Like