Search found 15 matches

by navy
Tue May 07, 2019 9:09 am
Forum: ESP8266 boards
Topic: ESP8266 goes down after sometime [SOLVED]
Replies: 21
Views: 13621

Re: ESP8266 goes down after sometime

Hi all! ESP8266 still working after i changed a power source. Meanwhile i've refactored code a little bit. Added a few try/except. wdt Kevin, explain me please where i should put wdt.feed()? actually i don't understand mechanics. If i uncomment wdt.feed() my program resets after wdt timeout even if ...
by navy
Sun May 05, 2019 6:40 pm
Forum: ESP8266 boards
Topic: ESP8266 goes down after sometime [SOLVED]
Replies: 21
Views: 13621

Re: ESP8266 goes down after sometime

What makes it start working again once it gets to this state? Does the reset button fix it or do you need to remove power altogether? What power source are you using? Do you have a multimeter that you can verify that it's still being powered? when i tried to measure voltage on esp pins, esp just st...
by navy
Sun May 05, 2019 6:26 pm
Forum: ESP8266 boards
Topic: ESP8266 goes down after sometime [SOLVED]
Replies: 21
Views: 13621

Re: ESP8266 goes down after sometime

class WDT: def __init__(self, id=0, timeout=120): self._timeout = timeout / 10 self._counter = 0 self._timer = machine.Timer(id) self.init() def _wdt(self, t): self._counter += self._timeout if self._counter >= self._timeout * 10: machine.reset() def feed(self): self._counter = 0 def init(self, tim...
by navy
Sun May 05, 2019 5:56 pm
Forum: ESP8266 boards
Topic: ESP8266 goes down after sometime [SOLVED]
Replies: 21
Views: 13621

Re: ESP8266 goes down after sometime

Wow, thank you so much for that deep info, guys!!!

I just changed a power source, and now waiting for freeze. I use old phone charger on 5v. Just changed for different one.
Will use WDT and mqtt driver for a current project with ESP32.
by navy
Sat May 04, 2019 6:45 am
Forum: ESP8266 boards
Topic: ESP8266 goes down after sometime [SOLVED]
Replies: 21
Views: 13621

ESP8266 goes down after sometime [SOLVED]

Hi! I have nodemcu v3 or v2 with flashed micropython inside. There are small python script inside,that reads bme280 and send data to mqtt server of thingspeak. So, after power on it works several days and poweroff suddenly. LED is off and no data send to server. I wondering whys its happend? where i...