Questions tagged [watchdog]

For questions about the use of so-called 'watchdog timers', which detect and allow recovery from system failures, in conjunction with Arduino.

Filter by
Sorted by
Tagged with
0
votes
1answer
85 views

AsyncWebServer giving wdt reset

I am using 3 Esp32 modules. One being master and other two being nodes. Nodes are connecting to the master's AP. Master is connected with GSM module to execute the web api. Master esp is having a ...
0
votes
0answers
45 views

Freezing ESP8266 after 4-8h

Build my own 'Artnet to WS2812b Neopixel' boxes for lighting in a club. Working fine. I have 20 stripes with 50 pxls each. One ESP8266(NodeMCU) is feeding 6 stripes, so it gets 2 DMX universes via ...
0
votes
3answers
92 views

Getting wdt reset + reboots every 5 seconds on simple button/relay code that has worked previously, now it does not and I changed nothing

I have some arduino code I adapted from a simple 2 button 2 relay code I found online. I just multiplied everything so I could have 5 buttons/5relays. I am using a NodeMCU (ESP-12E) for this. I have ...
0
votes
0answers
41 views

Task watchdog gets triggered during Bluetooth initialization

The board ESP32-Dev-WROOM-32D cannot establish a bluetooth connection due to the task watchdog. Here's my code: #include "BluetoothSerial.h" //check if Bluetooth is enabled #if !defined(...
0
votes
0answers
35 views

How much time passes between waking up and sleeping?

I use the watchdog timer to make Arduino sleep for 8 seconds and then wake it right after and make it sleep again if it didn't complete the loop for 450 times. I made it so that it will only do its ...
0
votes
1answer
57 views

Low power error with serial connection

So I want to create an application where I can send data with a SIM-Module, and when it's not needed it should fall into a "standby-mode" because it's battery powered. But I always get this exact ...
0
votes
0answers
72 views

NRF24L01 based project freezes for no good reason

I have built and coded a low power NRF24L01 transmitter and receiver, for purposes of transmitting the temperature of the transmitter's environment. I have used an Atmega328P chip for the project. The ...
1
vote
1answer
116 views

Attiny85 Watchdog fires only once

I build something like a flashlamp with different modi. From the hardware site it's quite simmilar to the Nanjg105c. There is a Attiny85 which generates a PWM signal to an AMC7135. I have one push ...
0
votes
0answers
31 views

freeRTOS tasks never run on Lightblue Bean

Although Punchthrough no longer supports the Bean and Bean+ they still maintain the online compiler and reference materials: Bean Github Bean reference One of the external libraries they've included ...
0
votes
2answers
382 views

ESP12E Soft WDT reset stack trace leads to libraries

Im using ESP12E DevKit v2 (esp8266 wifi module) board for controlling relays and displaying DHT22 temp,humidity on web server. It runs smoothly when the web client is closed but when i leave the ...
1
vote
0answers
298 views

Cant get rid of Soft WDT reset using ESP8266

Im using ESP12E DevKit v2 (esp8266 wifi module) board for controlling relays and displaying DHT22 temp,humidity on web server. It runs smoothly but after while i always get a watchdog timer reset. (If ...
0
votes
2answers
867 views

AVR software reset without watchdog

I wrote a generic avr program wrapper which already use the watchdog timer to restart - and after the watchdog reset - recover the the bad situation. After this recover process i have to restart the ...
-1
votes
2answers
83 views

RC-oscillator calibration in real time

This pesky watchdog RC oscillator is at the limit of its 10% tolerance already at room temperature. i was looking to bringing it to more like 5% (it stems from an internak 128 kHz RC oscillator) and ...
0
votes
0answers
399 views

How to use watchdog timer for the purpose of recovery from failures in Arduino ATmega2560

Here is my tool-set; Visual Studio with plugin called "Visual Micro" Flashing the HEX file using Atmel Studio. via AVRISP mkII on ATmega 2560 MCU And my simple trial code (I have also some others). ...
0
votes
1answer
1k views

I'm getting watchdog timer resets in NodeMCU. How can I permanently disable or stop that?

I'm using NodeMCU for my project. At first it works fine, but after some days it is resetting frequently because of the watchdog timer. I have used the Esp.wdtfeed() method also. But it is not working....