Introduction

Author: Babashree Ingale, Microchip Technology Inc.

An Analog-to-Digital Converter (ADC) of a microcontroller converts an analog voltage signal into a digital number, which can be used in real-time monitoring and feedback control applications. Most analog sensors have the output as a single analog voltage signal (single-ended) or as a difference between two analog voltage signals (differential).

The 12-bit Analog-to-Digital Converter with Computation (ADCC) peripheral of PIC® microcontrollers has with features such as differential and single-ended measurement, channel grouping, operation in Sleep mode, continuous sampling, and threshold comparison. The ADCC has computation modes such as Accumulate, Average, Burst Average, and Low-Pass Filter modes.

This document illustrates the ADCC peripheral of the PIC16F17146 and PIC16F18146 families of microcontrollers. The document also describes how to get started with the ADCC modes and features and use them in various sensing and measurement applications.

Refer to the respective device data sheet for a detailed description of the peripheral and register level details.