Easy Microprocessors & Microcontrollers Interrupts & Timers
What is a watchdog timer and why is it important?
Answer
A watchdog timer (WDT) is a hardware timer that resets the microcontroller if not periodically refreshed by software. The program must 'kick' or 'feed' the watchdog regularly; if the program hangs or crashes and fails to do so, the watchdog times out and triggers a reset, recovering the system. Watchdogs are essential for reliability in embedded systems, especially autonomous devices where manual reset is impractical. Configuration includes timeout period, reset action, and window mode (prevents too-frequent kicks).
IIT Certified
Master These Concepts with IIT Certification
175+ hours of industry projects. Get placed at Bosch, Tata Motors, L&T and 500+ companies.
Relevant for Roles
Embedded Engineer Firmware Developer Electronics Engineer