Search found 14 matches: arduino wdt

Searched query: arduino wdt

by Bijumon
Mon Jun 30, 2025 3:49 pm
Forum: General
Topic: Arduino Uno WDT
Replies: 2
Views: 56

Re: Arduino Uno WDT

Solved..
Thanks...
by Steve-Matrix
Mon Jun 30, 2025 2:19 pm
Forum: General
Topic: Arduino Uno WDT
Replies: 2
Views: 56

Re: Arduino Uno WDT

Searching these forums is a good place to start. For example:
search.php?keywords=arduino+wdt

There seem to be a few posts with info and solutions to this.
by Bijumon
Mon Jun 30, 2025 1:54 pm
Forum: General
Topic: Arduino Uno WDT
Replies: 2
Views: 56

Arduino Uno WDT

Hello everyone,

How can Enable WDT and set the timeout period (eg. 1 or 2Sec.) in Arduino Uno. also need to be clear it end of main loop.

Regards
Bijumon.
by bazkhf
Sat Feb 22, 2025 7:52 am
Forum: General
Topic: Inquiry about Enabling the Watchdog Timer and Reset
Replies: 6
Views: 2229

Re: Inquiry about Enabling the Watchdog Timer and Reset

... to function. But after writing my last message, I realized that this option causes the timer to be automatically cleared, which prevented the Arduino from resetting as I had expected. Once I understood this, I re-tested the code without enabling the AutoClear watchdog option and only included ...
by bazkhf
Sat Feb 22, 2025 7:28 am
Forum: General
Topic: Inquiry about Enabling the Watchdog Timer and Reset
Replies: 6
Views: 2229

Re: Inquiry about Enabling the Watchdog Timer and Reset

Hello Martin, Thank you once again for your help! I have tried the method you mentioned. Here’s what I did: I selected the Arduino Uno board for programming. I enabled the AutoClear watchdog option. I added an LED and connected it to pin D13. I added the following line before starting ...
by bazkhf
Tue Feb 18, 2025 10:39 am
Forum: General
Topic: Inquiry about Enabling the Watchdog Timer and Reset
Replies: 6
Views: 2229

Inquiry about Enabling the Watchdog Timer and Reset

Hello everyone, I need help with enabling the Watchdog Timer on an Arduino board. I have searched through several articles on the topic, but I wasn't able to fully understand the correct way to enable the Watchdog as needed. I understand that the Watchdog ...
by mnfisher
Thu Jan 02, 2025 7:18 pm
Forum: Projects - Embedded
Topic: Knight's Tour
Replies: 0
Views: 3468

Knight's Tour

... the esp32 can solve a Knight's tour for a 45 x 45 chess board and the Arduino version here happily solves for 10 x 10. It is slightly odd - for ... 'kludge' - every 1000000 recursive calls it has a 10ms delay to stop wdt issues. Using the heuristic it takes a few ms (on the esp32) even for ...
by mnfisher
Sun Sep 29, 2024 9:38 pm
Forum: General
Topic: Tips for resetting the Arduino
Replies: 5
Views: 4627

Re: Tips for resetting the Arduino

I didn't try - but the pulse would stay high until the MCU resets?

The attached program demonstrates calling address 0... This works AOK.

WDT is used automatically - on PIC / esp32 etc but not so on AVR - again didn't test this.

Martin
by mnfisher
Sun Sep 29, 2024 6:30 pm
Forum: General
Topic: Tips for resetting the Arduino
Replies: 5
Views: 4627

Re: Tips for resetting the Arduino

... to reset 2) Call address 0 (see attached) This outputs some text to UART (at 115200 baud) - then resets after 5s and does it again... 3) Using the wdt timer (#import <avr/wdt.h> (for example wdt_enable(WDTO_15MS); ) Martin
by mnfisher
Fri Dec 01, 2023 10:31 pm
Forum: General
Topic: OLED display issues, gLCD_SH1106_I2C1, Arduino Nano
Replies: 50
Views: 170675

Re: OLED display issues, gLCD_SH1106_I2C1, Arduino Nano

... I'll have a fiddle and see if I can get it to use transaction_write. This means the i2c might not be running at 1MHz in the sample? Also - the wdt is indeed kicking in - and this outputs an error message to the USB port every time it overflows. Martin