Pro Mini: Brown-out and restart

by VladM

2 parts

Pro Mini: Brown-out and restart A supply that sags from 5 V to 2.5 V and back every 4 s shows the ATmega328P's brown-out detector at work. The Pro Mini's fuses set it to 2.7 V: below 2.675 V the chip is held in reset, and above 2.725 V it starts again from the top (the data sheet's typical level and its 50 mV of hysteresis). On the scope, VCC is the triangle, and D13 toggles every 250 ms while the chip runs. Each sag stops the chip at about 2.674 V, and D13 falls to 0 V. 0.32 s later, at about 2.726 V, it starts again: the Serial monitor empties and prints "boot", then the milliseconds since the start (0, 249, 499, 749, 1000). Each run lasts 3.68 s.