Introduction

Microchip tinyAVR® devices have a successive approximation Analog-to-Digital Converter (ADC) capable of conversion rates up to 15 ksps with a resolution of 10 bits. It features a flexible multiplexer, which allows the ADC to measure the voltage at multiple single ended inputs and at internal channels from the device. Single ended input channels are referred to ground.

This application note describes the basic functionality of the ADC in Microchip tinyAVR devices in single ended mode with code examples on Microchip ATtiny88 to get started. The code examples are written using assembly and C language by using Atmel Studio 7. The code is available in Atmel START.

Note: For specific details about features and functionality of ADC modules, refer to the specific device data sheet.