Introduction

Analog-to-Digital Converters (ADCs) are common peripherals on embedded microcontrollers (MCUs). While it is not difficult to set up and capture values with these peripherals, it is easy to end up with inaccurate or imprecise results. The objective of this guide is to discuss some of the pitfalls in setting up the ADC, sampling analog signals, and how and when to use the ADC features to help filter the signal while minimizing software computations.