How to Use ADC on Torizon OS
Introduction
This article explains how to use the System on Modules' dedicated Analog-to-Digital Converter (ADC) and read analog inputs using the sysfs interface on Torizon OS. Additionally, it describes how to connect external ADCs and enable required drivers.
Toradex System on Modules collect analog inputs through dedicated ADCs. Since the features of ADCs may differ between modules, always check whether they meet your use case requirements. For detailed information, refer to your SoM's datasheet's Analog Inputs section. If you require additional inputs or a higher sampling rate, you ADC also use external ADCs.
The following sections are covered:
This article complies with the Typographic Conventions for Torizon Documentation.
Prerequisites
- A Toradex System on Module with Torizon OS installed.
- A configured build environment, as described in the Configure Build Environment for Torizon Containers article.
- An understanding of Peripheral Access Overview.