Chat freely about anything...

User avatar
By Rohit Mathur
#71238
Is the code that you posted the exact same code that gives the exception(0) ?


Yes, it was the same code. This same code runs on my ESP-01 but not on nodemcu. Nodemcu throws this error every time, for this program and other programs as well (other programs include example sketch like HelloServer too).

The nodemcu is connected via tha USB cable directly. It worked brilliantly in the beginning but suddenly it started to malfunction. And the ESP-01 is interfaced with Arduino UNO. Connections are below

Arduino 5V -> LD33V (Vin)
Arduino GND -> LD33V (GND)
Arduino (Rx) --> ESP-01 (Rx)
Arduino (Tx) --> ESP-01 (Tx)
ESP-01 (Vcc) --> LD33V (Vout)
ESP-01 (CH_PD) --> LD33V (Vout)
ESP-01 (GND) --> LD33V(GND)
ESP-01 (GPIO0) --> LD33V(GND)
User avatar
By hatters
#73318 First of all I wanted to say "hi!" as this is my first post here.

I have a very strange issue:
Hardware - NodeMCU1.0, two relays and BME280
Software - Arduino IDE 1.8.5
Libraries - Arduino OTA, BLYNK, WiFi Manager
compiled with ARDUINO CORE ESP8266 V2.3.0

So far everything is ok and it runs smoothly more than 3 months.
Recently I put together one more device which is exactly the same in terms of hardware. The only difference is the AUTH key for BLYNK and it was compiled with ARDUINO CORE ESP8266 V2.4.0 - the latest update.

And here the problem with WDT RESET started. The old device still works fine but the new resets on random base every 2-3 minutes. So I put together one more device( I have 10 PCB ordered for this project ) but the RESETS persist.

I've try to put ESP.wdtDisable(); and ESP.wdtEnable(WDTO_8S); in SETUP and ESP.wdtFeed(); in LOOP but this does not help at all.

Any ideas how to resolve it?

Best regards and many thanks in advance for your kind cooperation,
Hatters