Hi Binder Tronics. Please explain that we will use wdt in such kind of real project and I want to make a project that a led will be on 3 times in a day for instant delay_hours(8); and output_high(led1), such programming is possible or I should use timer0 , timer1, timer2 specifiction?-thanks
WDT is there to prevent a MCU form stalling. I suggest using a RTC to switch your LED. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-VsWx12BDuVo.html ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-tu4vGNo6mvc.html
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-KSI6fzOPVz0.html ru-vid.com/group/PLtuqBdbsL-DtSo1a9pS4sLkoaU3Or2pl3 More up to date version ru-vid.com/group/PLtuqBdbsL-DuQB1DQAowWUEhTdI4KCVIZ
Yes you can. I use WDTs with FreeRTOS with no problems. Create a task or timer with low priority and reset the WDT in that task/timer. If you know witch task is locking up then put the WDT rest there. Note it's better to find what is causing the lockup.
@@BinderTronics Yep, you're right. Of course I should know the cause of the lockup, but you know in case if any external issue happened; like, missing a signal, hardware problem .. etc. But also I'm in the beginning, I have a lot to learn about designing systems.
74LS90 decade counter. Some sort of clock source (NE555 easiest). Microcontroller pin firing at a set interval to the 74LS90 reset. Output pin from 74LS90 (QD) to Microcontroller reset. Output pin (QD) from 74LS90 to 74LS90 reset. Most Microcontroller need a active low input to reset so the reset outputs may need a not gate.
@@SA-ys8eg WDO to Microcontroller reset. Microcontroller pin firing (high low) at a set interval to WDI. SET0 - SET2 Table 1. Minimum Timeout Settings in the datasheet.