CrazyEngineers Archive
Old, but evergreen and popular discussions on CrazyEngineers, presented to you in read-only mode.
@devi pujitha • 20 May, 2012 • 1 like

What is the difference between timer and watchdog timer?

@Ankita Katdare • 20 May, 2012 devi pujitha I am sure the definition of a 'timer' is not hard to find.
But, we can explain you the 'watchdog timer'. It is a timing device such that it is set for a preset time interval and an event must occur during that interval. On failure to get that event in the watched time interval, the device generates the timeout signal.

The easiest example to understand the application of a watchdog timer is the mobile phone display.
i.e. the display of your mobile phone is turned off if no GUI interaction happens within a specified time. For eg: You can set it to 10 sec or 20 sec. If you don't touch the screen or use any buttons in that time interval, the display will be off.

This is used to save power.
@Harshad Italiya • 20 May, 2012 • 3 likes Good explaination by AKD.
Want to add little more about watchdog if you're using it in microcontroller then a simple timer gives you a interrupt or any signal when it overflows if your code is hang at any position you can say to program counter. Then also you're recieving interrupt from timer while using watchdog once you'd feed watchdog with predefined time, before that time get's over your program counter must increased or changed if your program counter is remain at same position for that much interval watchdog issues a signal you can use it to take some septicular action like in mobile device to turn off display in case of microcontroller based small application mostly people use it to reset the system. Hope this is clear to you.
@Noothan Kumar • 24 Jan, 2020 • 1 like

Watchdog is a kind of dog which keeps an eye on the software and performs some function whenever the system hangs. This function is normally reset function.

This term watchdog is actually derived from watchman and his dog(watch dog). The responsibility of the watchman and his dog is to protect the society from any kind of illegal activity and if there is any illegal activity, he turns on the alarm.

A timer is a specialized type of clock used for measuring specific time intervals. Timers can be categorized into two main types. A timer which counts upwards from zero for measuring elapsed time is often called a stopwatch, while a device which counts down from a specified time interval is more usually called a timer


Related Posts

@An-nisa · Jan 4, 2012

Im a final year mechanical engineering student who is interested to do the main project on piping area...I dont have that much knowledge in piping field, anyways 😐 ...but still...

@Kaustubh Katdare · May 5, 2014

When I was first introduced to the computers years ago, I wasn't impressed. All I wanted to know whether the machine would provide me answers to the questions I directly...

@PuneetVerma · Aug 17, 2014

All the Mechanical Engineering Students who are preparing for GATE-2015 or so may post their queries here. I will try my best to solve. P.S. I am not a GATE...

@Dileep Kumar · Jul 17, 2014

Hi Guys, Well I have been involved in this android app for city buses for quite some time and launched for Chennai buses. One of the major problems faced by...

@Ankita Katdare · Apr 27, 2014

A team of neuroscience researchers from Newcastle University have developed what are being called the world's tiniest "3D glasses". The research team has been trying to understand 3D vision among...