There 2 ADC input ports on the 40-pin header.
ADC.AIN0 : Pin #40
ADC.AIN1 : Pin #37

You can access the ADC inputs via sysfs nodes.

/sys/class/saradc/saradc_ch0 
/sys/class/saradc/saradc_ch1

ADC's maximum sample rate is 50kSPS with 10bit resolution (0~1023).
But the actual sample rate is 8kSPS if you access it via sysfs due to the limited file IO speed.

The ADC inputs are limited to 1.8Volt.

This WiringPi example code shows how to access the ADC for C/C++ programming.
Introduction C Tinkering Kit on Ubuntu

Library Source code WiringPi port for ODROID-C1

en/c1_hardware_adc.txt · Last modified: 2015/03/01 16:30 by odroid
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0