This is an old revision of the document!
Using the ADC ports on 30pin header
There are two ADC inputs on the 30pin header provides 12-bit analog-to-digital converter.
CON10 - 2×15 pins
Pin Number | Net Name | GPIO & Export No |
---|---|---|
3 | ADC_0.AIN0 | XADC0AIN_0 |
23 | ADC_0.AIN3 | XADC0AIN_3 |
Read raw data.(ADC Channel 0)
cat /sys/devices/12d10000.adc/iio:device0/in_voltage0_raw
Read raw data.(ADC Channel 3)
cat /sys/devices/12d10000.adc/iio:device0/in_voltage3_raw
Input voltage range is 0~1.8Volt. Otherwise your ODROID will be damaged permanently.