https://github.com/MicrochipTech/avr_insights
Learn how to increase the resolution of your Analog to Digital Converter (ADC) using the AVR ADC noise Reduction mode. Cancel out the noise on your AVR ADC by enabling Noise Reduction mode on AVR devices. Increase resolution in the ADC peripheral, and decrease the power consumption, by putting the core to sleep while the ADC measurements occur. Noise reduction mode turns the clocks off, which then reduces the noise on the Analog to Digital converter input. Use the api avr/sleep.h to put the different ADC modes into effect, and check out the example code for megaAVR below to see how to reduce the noise using Noise Reduction mode.
Documentation references
--------------------------------------------------------------
Atmel Tools Documentation:
https://mchp.us/2LFSvQ2
AVR Libc reference manual:
https://mchp.us/2JhFtGe
ATmega324PB datasheet - ADC Noise Reduction:
http://ww1.microchip.com/downloads/en/DeviceDoc/40001908A.pdf#page=59
http://ww1.microchip.com/downloads/en/DeviceDoc/40001908A.pdf#page=332
ATmega324PB Xplained Pro User Guide:
http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-42633-ATmega324PB-Xplained-Pro_User-Guide.pdf
App Note AVR126: ADC of megaAVR in Single-Ended Mode
http://www.microchip.com//wwwAppNotes/AppNotes.aspx?appnote=en591909
App Note AVR122: Calibration of the AVR`s Internal Temperature Reference
http://www.microchip.com//wwwAppNotes/AppNotes.aspx?appnote=en591573
To view this video, please click manage cookies below and accept functional cookies.
{"SalesForceSecurePath":"https://microchip.my.salesforce-scrt.com","EmbeddedServiceName":"Messaging_For_Microchip","SalesForcePath":"https://microchip.my.site.com/ESWMessagingForMicrochi1755319480924","AgentAvailableHeader":"No problem. Chat with our engineering experts or schedule a call that's convenient for you.","ScheduleCallUrl":"https://microchip.my.site.com/schedulemeetingportal/s/","SalesforceOrgId":"00Do0000000KAkK","JsUrl":"https://microchip.my.site.com/ESWMessagingForMicrochi1755319480924/assets/js/bootstrap.min.js"}