Basic ADC Example

Reads and interprets the value of an ADC.

API Features Demonstrated


This app works on:

Requirements and Prerequisites

Requires a ZentriOS evaluation board, such as an AMWx06-E03 (Moray), that includes a thermistor.


The lookup table, therm_celsius_lut.csv located in the app resources directory, is downloaded to the device.


This app demonstrates how to read the raw value of an Analog-Digital Converter (ADC) and convert the value into a temperature value using a look up table.


Usage Instructions

Open a ZentriOS serial terminal to the device. See Getting Started, Opening a ZentriOS Terminal.

This app requires no interaction. It logs results to the ZentriOS terminal.


The app runs to completion performing the following steps.

Source Code