Free Elektor Circuit – An NE555 Watchdog Timer

Free Elektor Circuit – An NE555 Watchdog Timer

1343
Views
0 Comments

from an Idea by Wolfgang Borst (Germany)

Virtually every modern microcontroller has a built-in watchdog. It prevents the microcontroller ‘hanging’ which may be the result of a programming error or an unforeseen operating condition, where, for example, the program becomes trapped in an infinite loop and no longer reacts to external or internal input. In principle, this built-in watchdog feature is a timer that needs to be regularly reset by a special command within a certain time interval. If this command is not issued it indicates that the program has gone off-piste, the timer times-out and issues a reset. This will then initiate a system reboot.

So that covers every eventuality?

Well, not necessarily, in very rare cases CMOS circuits – and a microcontroller is just that – can suffer a latch-up condition. In this state nothing works and even a reset cannot bring the microcontroller to its senses. If you want to prevent this rare condition, you will need to rely on an external watchdog mechanism. Those of you familiar with the works of Murphy will know that his First Law states that if anything can go wrong, it will. If you ignore the possibility of latch up, it will come back and bite you… eventually.

Free Elektor Circuit – An NE555 Watchdog Timer – [Link]

Mike is the founder and editor of Electronics-Lab.com, an electronics engineering community/news and project sharing platform. He studied Electronics and Physics and enjoys everything that has moving electrons and fun. His interests lying on solar cells, microcontrollers and switchmode power supplies. Feel free to reach him for feedback, random tips or just to say hello :-)

view all posts by admin

Leave a Reply

Archives