What is watchdog timer ? Explain the implementation of time out for ATM with block diagram and program.

1 Answer

Answer :

A special type of timer is a watchdog timer, which will reset the system after a predefined timeout. Watchdog timer reset timer every X time unit, else timer generates a signal indicating that the system failed. A common use of watchdog timer is to enable an embedded system to restart itself in case of a failure.
Another common use is to support timeouts in a program while keeping the program structure simple.

image

Example of ATM timeout using a watchdog timer:-
In this example, a watchdog timer is used to implement a timer out for an automatic teller machine (ATM).
A normal ATM session introduces a user inserting a bank card, typing in a personal identification number (PIN), and then answering questions about whether to deposit or withdraw money, which account will be involved how much money will be involved, whether another transaction is desired and so on.
We want to design the ATM such that it will terminate the session if at any time the user does not press any button for a minute. In this case, the ATM will eject the bank card and terminate the session.

image

As oscillator signal, OSC is connected to prescaler that divides the oscillator frequency by 12 (OSC/12) to generate a signal clk.
The signal clock is connected to an 11-bit up counter scalereg. When scalereg overflows, it rolls over to "o", and its overflow output causes the 16-bit up counter timer reg to increment.
If timing overflows, it triggers the system reset or an interrupt. To reset the watchdog timer, checkreg must be enabled. Then a value can be loaded into timereg.
When a value is loaded into timereg, the checkreg register is automatically reset. If the checkreg register is not enabled. a value can not be loaded into timereg. This is to prevent erroneous software from unintentionally resetting the watchdog timer.

Related questions

Description : How to Install a Timer Switch

Last Answer : How to Install a Timer Switch A timer switch is a handy device that automatically turns off a switch after a fixed period of time. This is particularly useful when you have kids at home ... safety precautions when installing switches or anything that might put you in the direct path of electricity.

Description : Blackt Electrotech 230V 24x7 Energy Saving Socket Type Digital Programmable Plastic Electronic Timer (White)

Last Answer : Buy from amazon: https://amzn.to/2SUTSdv Buy: http://bit.ly/2ZqlAkS

Description : Why is it called a 555 timer?

Last Answer : Because it have three 5k Ohm resistances.

Description : What is the difference between a counter and a timer?

Last Answer : Counter counts only when the trigger is applied and timer counts continuously with some equal delay.

Description : What is the use of 555 timer?

Last Answer : 555 IC timer is use in timers and oscillators.

Description : I need a schematic...

Last Answer : Look here—a variety of schematics on this page. http://en.wikipedia.org/wiki/555_timer_IC

Description : What is a watchdog timer in Arduino?

Last Answer : A watchdog timer in Arduino is a timer that can be used to monitor the state of the microcontroller and reset the system if it becomes unresponsive or crashes.

Description : What is a watchdog timer in Arduino?

Last Answer : A watchdog timer in Arduino is a hardware timer that can be used to reset the microcontroller if the program stops running or crashes.

Description : What is a watchdog timer in Arduino?

Last Answer : A watchdog timer in Arduino is a hardware timer that can be used to reset the microcontroller if the program stops running or crashes.

Description : What is a watchdog timer in Arduino?

Last Answer : A watchdog timer in Arduino is a hardware timer that can be used to reset the microcontroller if the program stops running or crashes.

Description : What is the function of watchdog timer? a) The watchdog Timer is an external timer that resets the system if the software fails to operate properly. b) The watchdog Timer is an internal timer ... internal timer that resets the system if the software fails to operate properly. d) None of them

Last Answer : b) The watchdog Timer is an internal timer that sets the system if the software fails to operate properly.

Description : What is the function of watchdog timer? a) The watchdog Timer is an external timer that resets the system if the software fails to operate properly. b) The watchdog Timer is an internal timer ... internal timer that resets the system if the software fails to operate properly. d) None of them

Last Answer : c) The watchdog Timer is an internal timer that resets the system if the software fails to operate properly.

Last Answer : A design metric is a measure of a implementations features such as cost, size, performance and power.Commonly used design metrics are:1.NRE cost:NRE stands for non recurring engineering cost. ... to check that manufacturing was correct.11.Safety:The probability that the system will not cause harm.

Description : Explain memory write ability and storage permanence with suitable diagram.

Last Answer : Write ability and storage permanence of memories: Write ability is the manner and speed at which memory can be written. Storage permanence is the ability of memory to hold stored bits ... Holds bits after power is no longer supplied. High end and middle range of storage permanence.

Description : List & explain the timer instruction of PLC. Draw the ladder diagram to verify (i) OR gate& (ii) NOR gate logic 

Last Answer : Depending on the time delay and operation, there are two types of timers  * PLC timer- (i) ON delay timer  (ii) OFF delay timer Description (i) ON delay timer 1) This instruction counts time interval when ... a) OR gate ladder diagram y = A + B b)NOR gate ladder diagram

Description : What is the difference between a watchdog and a commissioner?

Last Answer : The latter is usually paid to oversee as well as manage, whereas a watchdog is there to “bark” at mismanagement or impropriety.

Description : Are you a watchdog of your country's democracy?

Last Answer : answer:I'm very sensitive to it. I've lived in countries that have no democracy to speak of like pre-perestroika Poland, and a short time in Haiti. I've visited in communist East Germany, Cuba, ... of their lives onto the net while their democracy is being stolen in broad daylight. It's beyond me.

Description : Sony playstation are getting the BBC Watchdog once over , will you be watching?

Last Answer : Nope. Works fine and has done since I got it home. I’ve also upgraded the HD with no problems.

Description : “The Right to Information Act acts as a watchdog of democracy.” -SST 10th

Last Answer : . The best laws are those which empower people to carry out democratic reforms. . The Right to Information Act empowers the people to find out the role of government and makes its functioning more ... right to ask what happened and how it happened. It helps them check corruption, malpractices, etc.

Description : Which act of Indian democracy empowers the people and work as watchdog ? -SST 10th

Last Answer : The Right to Information Act 2005 empowers the people and work as watchdog of Indian democracy.

Description : Who looks after the house well?

Last Answer : I will not talk about the breeds and size of the guard dog but about the characteristics There are 4 types of guard dogs 1 - Cricket either - he warns the attacker or only silently prevents the ... the guarded territory. With such a dog, it is dangerous to lean on a perforated gate or fence.

Description : “Auditor is a watchdog and not a blood hound” was a remark made in the case of– (A) The London Oil Storage Co. Ltd. 1904 (B) Kingston Cotton Mills Ltd. 1896 (C) London and General Bank 1895 (D) Delightful Cigarette Co. Ltd. 1943

Last Answer : Answer: Kingston Cotton Mills Ltd. 1896

Description : Which of the following is an independent banking industry watchdog that protects consumers of banking services in the country? A. BBB B. IBA C. BCSBI D. IBRD E. None of the Above

Last Answer : C. BCSBI Explanation: The Banking Codes and Standards Board of India (BCSBI) is an independent banking industry watchdog that protects consumers of banking services in India.

Description : What is used to see if a client is still connected to a NetWare server? A. Spoofing TCP/SAP B. Watchdog packet C. GNS Round Robin D. DNS Round Robin

Last Answer : Watchdog packet

Description : What is the name of the organization helping to foster security standards for cloud computing? A. Cloud Security Standards Working Group B. Cloud Security Alliance C. Cloud Security WatchDog D. Security in the Cloud Alliance

Last Answer : Cloud Security Alliance

Description : What is the name of the organization helping to foster security standards for cloud computing? A. Cloud Security Standards Working. B. Cloud Security Alliance. C. Cloud Security WatchDog. D. Security in the Cloud Alliance.

Last Answer : Cloud Security Alliance.

Description : What is the name of the organization helping to foster security standards for cloud computing? A. Cloud Security Standards Working Group B. Cloud Security Alliance C. Cloud Security WatchDog D. Security in the Cloud Alliance

Last Answer : Cloud Security Alliance

Description : What is the name of the organization helping to foster security standards for cloud computing? A. Cloud Security Standards Working B. Cloud Security Alliance C. Cloud Security WatchDog D. Security in the Cloud Alliance

Last Answer : Cloud Security Alliance

Description : Using the phase diagram for H2O, which of the following correctly describes water at 0°C and 1 atm?

Last Answer : At the melting point(Explanation) if you look at the phase diagram and look at the point where the water is 0 degrees C and 1 atm, they meet right on the line. This is the line that shows the melting point ... , since the point is on the line, water at 0 degrees C and 1 atm is at the melting point.

Description : Using the phase diagram for CO2, what phase is carbon dioxide in at 12 atm pressure and -40 C apex?

Last Answer : liquid

Description : Using the phase diagram for CO2, what phase is carbon dioxide in at 12 atm pressure and -40 C apex?

Last Answer : liquid

Description : How do i write a program in c langua ge for the implementation of binary search with output?

Last Answer : send your answer with source code and output for pratical

Description : How do i write a program in c langua ge for the implementation of binary search with output?

Last Answer : send your answer with source code and output for pratical

Description : Which of the following IS NOT one of the advantages associated with a robotics implementation program? a) Low costs for hardware and software b) Robots work continuously around the clock c) Quality of manufactured goods can be improved d) Reduced company cost for worker fringe benefits

Last Answer : a) Low costs for hardware and software

Description : Which of the following is NOT one of the advantages associated with a robotics implementation program? A : Low costs for hardware and software B : Robots work continuously around the clock C : Quality of manufactured goods can be improved D : Reduced company cost for worker fringe benefits

Last Answer : A : Low costs for hardware and software

Description : Which of the following is NOT one of the advantages associated with a robotics implementation program? A : Low costs for hardware and software B : Robots work continuously around the clock C : Quality of manufactured goods can be improved D : Reduced company cost for worker fringe benefits

Last Answer : A : Low costs for hardware and software

Description : Which of the following is NOT one of the advantages associated with a robotics implementation program? A : Low costs for hardware and software B : Robots work continuously around the clock C : Quality of manufactured goods can be improved D : Reduced company cost for worker fringe benefits

Last Answer : A : Low costs for hardware and software

Description : Which of the following is NOT one of the advantages associated with a robotics implementation program? A : Low costs for hardware and software B : Robots work continuously around the clock C : Quality of manufactured goods can be improved D : Reduced company cost for worker fringe benefits

Last Answer : A : Low costs for hardware and software

Description : Which of the following is NOT one of the advantages associated with a robotics implementation program? A : Low costs for hardware and softwareB : Robots work continuously around the clock C : Quality of manufactured goods can be improved D : Reduced company cost for worker fringe benefits

Last Answer : A : Low costs for hardware and software

Description : Employee recognition can: (a) Be a strong motivator. ; (b) Lead to unrealistic expectations. ; (c) Help with MBO program implementation. ; (d) Assist with goal setting.

Last Answer : (a) Be a strong motivator. ;