#33 Internet of Things with ESP8266 #5: Watchdogs, Timers & Stability

#33 Internet of Things with ESP8266 #5: Watchdogs, Timers & Stability

Andreas Spiess

8 лет назад

77,910 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Dr JML
Dr JML - 05.12.2022 17:42

Great tutorial as usual. I can't compile, I get this error message:
/Users/joelleon/Downloads/Ticker-main-2/examples/Ticker/Ticker.ino:12:33: error: no matching function for call to 'Ticker::Ticker(void (&)(), int, int)'
Ticker timer1(printMessage, 0, 1);
^

Compilation error: no matching function for call to 'Ticker::Ticker(void (&)(), int, int)'

Ответить
Jeroen van der Velden
Jeroen van der Velden - 20.02.2022 15:53

I’m using a NodeMCU with an Apple HomeKit Arduino sketch but every couple days it stops working. Will try your watchdog example and see how it improves, thanks for sharing your knowledge!

Ответить
rizomeEs
rizomeEs - 15.02.2022 07:34

This old video is great!!! Thanks Andreas!

Ответить
TurboTobi Deluxe
TurboTobi Deluxe - 30.07.2021 19:27

Could it be that "ESP.reset" has changed in the meantime and now is "ESP.restart"? I always get errors with ESP.reset. Or is it because I use an ESP32 not an ESP8266? Thanks for your answers in advance!

Ответить
SpinStar1956
SpinStar1956 - 26.07.2021 07:26

Are these same constraints the same on the 12E version?
Thanks for all your great videos!
73…

Ответить
Naseer Najibi
Naseer Najibi - 13.05.2021 17:29

Sir you are a great man , your guidance solved my hanging problem so far!!!!!!

Ответить
M. S.
M. S. - 28.08.2020 10:53

This video was again very helpful and solved my problem. Thank you very much.

Ответить
KJ Archer
KJ Archer - 22.08.2020 15:36

Hi Andreas i am using an esp32 to control my automatic curtain . The curtain takes 13 seconds to close so the internal watchdog timer bit. I had to insert esp_task_wdt_reset(); into the subroutine that runs the stepper motor to keep the esp from restarting. So it has an internal WDT.
BUT today the esp became unresponsive and did not reset itself i could not get any reaction from it so had to pull the power. once restarted it worked fine. I could later see from a temp and barometric sensor i have attached exactly when it crashed. it was out for several hours. i guess my only way to counteract this automatically is to make an external WDT as the internal one seems to have failed. I will make a node red routine that checks for missing updates from the temp /barometric sensor so i know when it happens again. do you have any other insights or suggestions ? Thank you for your videos they are always helpful.

Ответить
Asmar Khan
Asmar Khan - 13.08.2020 20:41

Hello sir, thanks for sharing info about watchdogs, I appreciate that a lot, also I am working on my college project based on esp 8266
But it automatically resets after every 40-50sec while receiving data from firebase. I would be very thankful if you share your email id for further discussion

Warm regards

Ответить
I.A EMON
I.A EMON - 25.06.2020 00:26

Hello bro
First of all thank you for giving us such a beautiful and informative video.
I had some questions about ESP8266 NodeMCU v3. If I want to make a repeater with it. So my question is
1 / What will be the maximum range of NodeMCU repeater?
2 / What is the maximum data speed of NodeMCU WiFi?
3 / NodeMCU repeater maximum number of people can use together?

Ответить
TS
TS - 05.06.2020 19:32

feed or leave our watchdog unstable? Sounds like training a pig 🐖 to kill on command by withholding 💰 er I mean food.

Ответить
Farzad Derafshi
Farzad Derafshi - 02.04.2020 11:05

Very clear and straight to the point!!! Well done and thank you.

Ответить
Veronica Kaur
Veronica Kaur - 29.03.2020 21:08

Sir, I'm making code for AC light dimming process. N I've included yield(). But it isn't helping. I'm continuously getting the problem of rat cause:2, boot mode:(3,6)

Ответить
Martin Macko
Martin Macko - 01.02.2020 21:08

Hi I tried implement your code into my existing code but it always ends with message watchdog bites .... Could you please help?

Ответить
Mahmoud Abulwafa
Mahmoud Abulwafa - 02.01.2020 23:52

Excuse me , i got a different problem which is resetting because of
Exception 9,
So what can i do with this exception ,
Thanks in advance
Thanks for the video

Ответить
refak makeen
refak makeen - 07.10.2019 09:06

I have been using an ESP_01 with an Arduino Mega to get data from an aquaculture plant.
The data collected are pH,Temperature and Dissolved oxygen. The oxygen level is controlled using a servo motor and all the data are viewed and controlled using Blynk application. Lately i have been having issues with the ESP_01 module i think it freezes because i have to transfer too much data.And the resetting is to be done manually can you suggest me a solution for this?

Ответить
dikke j
dikke j - 04.09.2019 23:58

Yay I finally got my wemos weather station to run without crashing. Thank you very much for sharing!

Ответить
Giveme Random
Giveme Random - 28.07.2019 03:39

Holly sh*t! My poor heart have stumble when he saw that blue screen!!

Ответить
Imran Alam
Imran Alam - 29.05.2019 21:21

one word. Excellent explanation.

Ответить
banditboy6444
banditboy6444 - 22.05.2019 21:38

That's a mean looking watchdog :)

Ответить