Does your system have a brown out detector (BOD)? Do you know how to detect supply voltage dropping? Curious how AVR Brown out Detect works? Do you want to avoid your device breaking at low voltage? Check out this introduction on how to use Brown Out detector.
Learn how to monitor supply voltage and send the AVR device into reset mode automatically. The device automatically enters reset when the supply voltage drops below the falling supply voltage threshold, and rises when the supply voltage rises. The tutorial below shows how to set up the Brown Out Detector, or BOD, and this can help save writing incorrectly to the EEPROM or Flash in low power situations.
Documentation references
--------------------------------------------------------------
Atmel Tools Documentation:
https://mchp.us/2HhqF8k
AVR Libc reference manual:
https://mchp.us/2vUPO2b
ATmega 324PB Xplained Pro User Guide:
http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-42633-ATmega324PB-Xplained-Pro_User-Guide.pdf
ATmega324PB datasheet - Brown Out Detection:
http://ww1.microchip.com/downloads/en/DeviceDoc/40001908A.pdf#page=65
ATmega324PB datasheet - BOD disable:
http://ww1.microchip.com/downloads/en/DeviceDoc/40001908A.pdf#page=53
ATmega324PB datasheet - BOD threshold:
http://ww1.microchip.com/downloads/en/DeviceDoc/40001908A.pdf#page=414
ATmega324PB datasheet - BODLEVEL fuse coding:
http://ww1.microchip.com/downloads/en/DeviceDoc/40001908A.pdf#page=387
App note AVR180: External Brown-Out Protection
http://www.microchip.com//wwwAppNotes/AppNotes.aspx?appnote=en591404
AVR, MCU, ATmega324PB, mega324, mega, mega324PB, example ,explained, xplained, xplain, insights, insight, tinyAVR, megaAVR, tiny, Microchip ,Atmel,
BOD, brown out detector, voltage drop, reset ,threshold ,falling supply voltage, rising supply voltage, trigger ,timeout, hysteresis, supply ,Vcc, VCC flash, EEPROM, write protect, undefined behavior, undefined behaviour, BODLEVEL fuse, operating conditions, AVR180, What is brown out detection, brownout detector, atmega brown-out, bod avr, avr brown-out, arduino brown out detection