EveryCircuit
Contact
Reviews
Home
tyfoza
modified 3 years ago

Arduino freeze detector - AUTO RESET - Missing pulses detector

5
1
765
07:10:41
red LED on = no reset red LED off = reset (active in LOW) The switch turns off the regular pulses. You can test the response if the MCU freezes in LOW or HIGH. This is an example of external watchdog timer**. It looks complicated, but it's easy. They are two identical circuits. The 555 on the left detects LOW - when the signal freezes at LOW, the yellow LED goes out The 555 on the right detects HIGH - when the signal freezes at HIGH, the green LED goes out yellow LED on pulse HIGH greed LED on pulse LOW Arduino UNO blinking BUILTIN LED every 500ms is eaual to MCU sending pulses on D13 every X ms. If the pulses stop - the MCU freezes - the missing pulse detector resets the Arduino PIN. RESET PIN is active in LOW - red diode means noRESET. The switch turns off the regular pulses. You can test the response if the MCU freezes in LOW or HIGH. Two IC only NE556N and 7404/7414 Two NPN transistors. 2xNE555 in one NE556N Inverter 7404 od Schmitt inverter 7417 Transistors BC337 or MPSA06 or similar. I know thar two diodes and an inverter can be exchanged for a NOR gate from a red LED. I used inverters and i have six in one chip, no reason to add more IC. ---------------- real application test: The 20uF capacitor is connected to the RESET pin. If capacitor discharges the Arduino resets. **AVR processors in the regular Arduino support a hardware watchdog timer. No need to connect anything externally. You just set the time to reset and if you don't set it again, it means your program has stopped and the watchdog will restart automatically.
published 3 years ago
seh
2 years ago
IR2153

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy