A watchdog timer (WDT) is a hardware timer that automatically creates a system reset if the main program skips to regularly maintain it. It is often used to automatically reset an embedded device that hangs because of a fault due to hardware and software.