esp8266 restart problems! #280
Replies: 8 comments
-
I did a bit of google search on that (watchdog reset), and found few possible causes. I must note that I haven't yet tried Telegram sketch. Have you tried other examples, does same thing happens on them? It could be power-supply related, implying that wiring is good (soldered, no breadboard/dupoint wires and powersupply close to nodemcu). It could also be Code-related, have you done any code modifications, or changing pins? Hope it helps as thats all I can think of, maybe other can help you more. |
Beta Was this translation helpful? Give feedback.
-
thank you @kricon for your answer! I will take into account the recommendation of the 47mF capacitors on rst/vcc pins to gnd! I have tried power supplies of all kinds from 5v adapters and from the USB computer! I have used 5 modules esp8266! 2 nodemcu and 3 only esp12-E but in all the problem happens I have even tried with different PC585 panels. |
Beta Was this translation helpful? Give feedback.
-
I forgot capacitor on EN pin. Value isn't critical, it can be anywhere 47mF-100mF. |
Beta Was this translation helpful? Give feedback.
-
In my experience with esp8266's one of the main culprits for hardware WDT reboots have usually been ISR routines taking too long to run. The ESP is very sensitive to timing due to it's other background processes with WIFI connections. I have not seen this with this library but have seen it in other code. It's possible the telegram example you mentioned using needs some optimizing to keep the WDT timers fed regularly. Edit: I had a quick look at the telegram example and it looks fine. From this cursory look, nothing stands out as a possible cause. The only thing that perhaps could be an issue is the telegrambot.sendmessage function which uses an external library. If this takes too long to run, that might also be something to look into. |
Beta Was this translation helpful? Give feedback.
-
Hi @javierferwolf - is this still an issue when testing with the other example sketches, or is it only happening with Telegram? |
Beta Was this translation helpful? Give feedback.
-
Hi @taligentx - yes, indeed the ESP8266 continues with the reboot problem, I don't know if this is related to the instability of the internet connection. So my question, how can I monitor the internet to have a reference and rule out that the problem is the internet? apparently I have a stable connection but I don't know if it is stable enough for the ESP8266 |
Beta Was this translation helpful? Give feedback.
-
HI, I had the same problem, sometimes a day the telegram sketch reboot the ESP8266. I did a modification on the sketch in order that when reseted do not send again, connection message. I check boot error reason and most of the time is reason 2 , and there were just two times that the reason was 1. So what I did is if reset reason is 2, then I did not initialize telegram sending message of connection. |
Beta Was this translation helpful? Give feedback.
-
I have been absent for several days but finally I have had time and I have seen your message thank you @hcoiro for your answer! |
Beta Was this translation helpful? Give feedback.
-
The problem of constant restart of at least 3 times a day and sometimes up to many more times! I have tested on various PC858 panels and i always get the same problem esp89266 reboot!
I have fixed the serial port error and got the following Debug Messages
ets Jan 8 2013,rst cause:4, boot mode:(3,6) esp8266
wdt reset
load 0x4010f000, len 1392, room 16
tail 0
chksum 0xd0
csum 0xd0
v3d128e5c
~ld
Module: [Generic ESP8266 Module|Nodemcu]
Development Env: [Arduino IDE 1.8.13]
Core Version: [2.7.4] and tested too 2.6.3
I use the example of telegram!
I have tried different power supplies and esp8266 modules nodemcu! and i get the same problem!
please is there any solution or someone has the same problem?
thank you!
Beta Was this translation helpful? Give feedback.
All reactions