ADC
Symbol Explanation
SDK$
: Refers to the source code path.console$
: Generally refers to the command-line console of the mainboard. Mainboard Command-line ConsoleADB$
: Android Debug Bridge command-line tool, generally refers to the environment where ADB can be run.
Hardware Location
The ADC is located in the expansion pins, as shown in the following figure.

Read ADC Values
console$ cat /sys/bus/iio/devices/iio\:device0/in_voltage*_raw
Example:
Read the voltage value of channel 4.
console$ cat /sys/bus/iio/devices/iio\:device0/in_voltage4_raw
Last updated