New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeMCU: WDT Reset in combination with HX711.h #23

Open
stonerolling opened this Issue Jan 2, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@stonerolling
Copy link

stonerolling commented Jan 2, 2019

I am using a NodeMCU 1.0 ESP-12E with Arduino HX711 to connect load cells.
Your library constantly produces WDT reset in combination with the HX711 library. Unfortunately this stops me from using Thinger.io
https://github.com/bogde/HX711

The code I used:
SDK:2.2.1(cfd48f3)/Core:2.4.2/lwIP:2.0.3(STABLE-2_0_3_RELEASE/glue:arduino-2.4.1-13-g163bb82)/BearSSL:6d1cefc

#include <ThingerESP8266.h>
#include <HX711.h>



#define USERNAME "xx"
#define DEVICE_ID "xx"
#define DEVICE_CREDENTIAL "xx"

#define SSID "xx"
#define SSID_PASSWORD "xx"

ThingerESP8266 thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);

void setup() {
  Serial.begin(74880);
  Serial.setTimeout(2000);
  // Wait for serial to initialize.
  while (!Serial) { }
  pinMode(LED_BUILTIN, OUTPUT);

  thing.add_wifi(SSID, SSID_PASSWORD);

  // digital pin control example (i.e. turning on/off a light, a relay, configuring a parameter, etc)
  thing["led"] << digitalPin(LED_BUILTIN);

  // resource output example (i.e. reading a sensor value)
  thing["millis"] >> outputValue(millis());

  // more details at http://docs.thinger.io/arduino/
}

void loop() {
  thing.handle();
}

The Error:

SDK:2.2.1(cfd48f3)/Core:2.4.2/lwIP:2.0.3(STABLE-2_0_3_RELEASE/glue:arduino-2.4.1-13-g163bb82)/BearSSL:6d1cefc
[NETWORK] Starting connection...
[NETWORK] Connecting to network wrt_2_4
mode : sta(80:7d:3a:69:30:f2) + softAP(82:7d:3a:69:30:f2)
add if0

Soft WDT reset

ctx: cont
sp: 3ffffd50 end: 3fffffd0 offset: 01b0

stack>>>
3fffff00: 426f7437 00002179 000001c8 4010020c
3fffff10: 00000000 4bc6a7f0 67ef9db2 00000000
3fffff20: 00000000 00000000 4bc6a7f0 00000000
3fffff30: 3ffefb00 000001dc 40106848 0000671a
3fffff40: 4023be76 3ffef948 00007530 00000003
3fffff50: 4023d043 0000002c 00000038 3ffefa68
3fffff60: 3fff01e4 402046d4 3ffef948 3ffefa68
3fffff70: 00005a9e 00007530 3ffef948 40202b4d
3fffff80: 00000000 3ffef8e0 0000002c 40206a1d
3fffff90: 3fffdad0 00000001 3ffef8bc 402040c5
3fffffa0: 3fffdad0 00000000 3ffef8bc 402041d8
3fffffb0: feefeffe 00000000 3ffefa60 40206bd4
3fffffc0: feefeffe feefeffe 3ffe8624 40100a49
<<<stack<<<

@stonerolling

This comment has been minimized.

Copy link

stonerolling commented Jan 2, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment