Cayenne is a great platform, I am trying to use the ESP8266 with it,
My project work ok using the W5100 UNO interface.
When using the WeMos D1 S2 or the NodeMCU the WDT reset happens
this reset happens every 8-10 seconds, using NodeMCU LUA WiFi V1.0 ESP8266, it stops when the Cayenne.run(); is commented out , this also happens when using WeMos D1 S2, any help would be great
Yes current IDE, 1.6.12
with NodeMCU LUA WiFi V1.0 ESP8266 and the WeMos D1s2 board.
This happens only when using the Cayenne library with simple blynk code below
#define CAYENNE_DEBUG // Uncomment to show debug messages
#define CAYENNE_PRINT Serial // Comment this out to disable prints and save space
#include "CayenneDefines.h"
#include "BlynkSimpleEsp8266.h"
#include "CayenneWiFiClient.h"
int i=0;
// Cayenne authentication token. This should be obtained from the Cayenne Dashboard.
char token[] = "xxxxxxxx";
// Your network name and password.
char ssid[] = "xxx";
char password[] = "xxxxxxxxxxxxxxxxxxxxxxxxxx";
void setup()
{
Serial.begin(9600);
Cayenne.begin(token, ssid, password);
}
void loop()
{
Cayenne.run();
//Serial.println (i);
//delay(3000);
//i++;
}
IP address from DHCP all good , WiFi good but WDT resets than all good till next reset 8-15sec.
Power is good , other wifi projects run OK , might be something in the Cayenne or BlynkSimple library,
I can have other functions in the void loop, IP address always online , WDT resets when Cayenne.run(); is in ⌠weird , I wonder if other users had any luck with the ESP8266 modues
Yes, Iâve been playing with Esp12-e modules.
Pretty robust IoT devices,
-and you canât beat the price of $2.40.
Iâve been buying them 10 at a time.
Yesterday, I sent out (2) new PCB designs.
Now, the waiting beginsâŚ
#define CAYENNE_DEBUG // Uncomment to show debug messages
#define CAYENNE_PRINT Serial // Comment this out to disable prints and save space
#include "CayenneDefines.h"
#include "BlynkSimpleEsp8266.h"
#include "CayenneWiFiClient.h"
int i=0;
// Cayenne authentication token. This should be obtained from the Cayenne Dashboard.
char token[] = "xxxxxxxx";
// Your network name and password.
char ssid[] = "xxx";
char password[] = "xxxxxxxxxxxxxxxxxxxxxxxxxx";
void setup()
{
Serial.begin(9600);
Cayenne.begin(token, ssid, password);
}
void loop()
{
ESP.wdtDisable();
Cayenne.run();
//Serial.println (i);
//delay(3000);
//i++;
}
If this works weâll have to figure out whatâs taking so long in cayenne.run();
WDT resets still happening with the âESP.wdtDisable();â command line on both the WeMos D1 S2 and NodeMCU boards. The sketch uploads OK on both boards, no WDT resets when using non Cayenne dash boards.
Thanks for your help !!!
Cheers !!
I am facing same issue as above, could not connect board and still says âWaiting for board to connectâŚâ. WeMos D1 Mini board in Arduino IDE, baud rate 115200, update port & WIFI details in sketch.