Preventing Embedded Fails with Watchdogs

Watchdog timers are an often overlooked feature of microcontrollers. They function as failsafes to reset the device in case of a software failure. If your code somehow ends up in an infinite loop, the watchdog will trigger. This is a necessity for safety critical devices. If the firmware in a pacemaker or a aircraft’s avionics system gets stuck, it isn’t going to end well.

In this oldie-but-goodie, [Jack Ganssle] provides us with a great write up on watchdog timers. This tells the story of a failed Clementine spacecraft mission that could have been saved by a watchdog, and elaborates on …read more

Continue reading Preventing Embedded Fails with Watchdogs

3D Printer Guardian Watches for Worst-case Failures

Some devices have one job to do, but that job can have many facets. To [jmcservv], an example of this is the job of protecting against worst-case failures in a 3D printer, and it led him to develop the 3D Printer Watchdog Guardian. When it comes to fire, secondary protection is the name of the game because it’s one thing to detect thermal runaway and turn off a heater, but what if that isn’t enough? The MOSFET controlling the heater could have failed closed and can no longer be turned off in a normal sense. In such cases, some kind …read more

Continue reading 3D Printer Guardian Watches for Worst-case Failures

Arduino Watchdog Has Bite And Doesn’t Need Treats

My dog Jasper isn’t much of a watchdog: he’s too interested in sleeping and chasing my cats to keep an eye on things. Fortunately, [Vadim] has come up with a more reliable alternative with this simple Arduino watchdog. It’s designed to work with crypto coin mining rigs, but it could be easily adapted for other high-uptime uses, such as file servers or doomsday weapons.

The way it works is simple: a small program on the watched computer sends a command over the serial port: a polite “hello”. The Arduino watchdog picks this up and responds with an equally polite “HELLO”. …read more

Continue reading Arduino Watchdog Has Bite And Doesn’t Need Treats