Adafruit SleepyDog Arduino Library [](https://github.com/adafruit/AdafruitSleepyDog/actions)[](http://adafruit.github.io/AdafruitSleepyDog/html/index.html)

February 9, 2026 · View on GitHub

Arduino library to use the watchdog timer for system reset. Also provides simple API access for entering/exiting from low power sleep modes.

Supported Platforms

Support LevelPlatform / Board FamilyMCU(s)Notes / Caveats
FullRaspberry Pi PicoRP2040, RP2350
FullESP32 FamilyESP32, ESP32-S2, ESP32-S3
LimitedESP8266ESP8266Software and hardware watchdog timers are fixed-interval and not programmable. See utility/WatchdogESP8266.cpp.
FullArduino Uno / ATmega328P BoardsATmega328P
FullArduino MegaATmega2560, ATmega1280
FullArduino Zero / Adafruit Feather M0ATSAMD21
FullAdafruit Feather M4ATSAMD51
FullArduino Leonardo / 32u4 BoardsATmega32u4USB Serial is disabled during sleep. Logic continues running but Serial appears frozen. Restore after wake with USBDevice.attach(); and reconnect from host.
FullATtiny SeriesATtiny24/44/84, ATtiny25/45/85
PartialTeensy 3.x / LCTeensy 3.x, LCWatchdog supported; sleep not supported.