RUVIDEO
Поделитесь видео 🙏

simple code using watchdog timer to reset the microcontroller

for other projects related to automotive industry :
https://www.youtube.com/watch?v=nW2bCC4S2VI&list=PLA7ApYZTHTtEAM2U14EH5PN7Rg1ehDTmE


generally speaking the watchdog timer aka (WDT) is used to
1-generate an interrupt
2-generat a reset
3-servicing an interrupt and then resets
and this occurs in situations like hanging or enters an infinite loop ..
WDT is a timer .. takes initial value .. and counts down to zero .. if it reaches zero .. it will reset the system .. but if you with your code reset the WDT .. then it wont ever reaches to zero .. then the system wont reset ..

these links will help you to get to know WDT better ..
1-http://www.embedded.com/electronics-blogs/beginner-s-corner/4023849/Introduction-to-Watchdog-Timers
2-http://www.embedds.com/using-watchdog-timer-in-your-projects/
3- you can download the atmega328 datasheet .. it explains it very well .. actually most peripherals ..

#this simple projects .. what it does ..it turns on the led ..
what potentionmeter does .. to provide a delay before turning on the led ...
if the delay is larger than the watchdog timeout(the time the WDT take to reset the microcontroller) .. then the code resets and never reaches the line which makes the led on ..
if the delay is smaller than the watchdog timeout .. then it will reach the led and it will make it on ...
but note:: that both cases the WDT will keep to reset the mcu ..

*a playlist for other projects
https://www.youtube.com/playlist?list=PLA7ApYZTHTtGI4vcXEbGf8qU9zg1bySd0

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «simple code using watchdog timer to reset the microcontroller», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.