NEW AI Edge
UP Board Linux
UP Board has any ADC Pin
Hi UP Creators,
Can I verify if there is any ADC pin in the 40 pinout( Pin 7)? Can you provide more developmental information if it is available. Example, is there any example code so that developers can know how to use it.
edited April 2016
There is indeed an 8-bit ADC available on pin 7. It operates on the 0V to 3.3V range. On supported versions of Linux, digital values can be read directly through
We'll be updating the documentation shortly with more detail.
See the CPLD and ADC blocks in the updated diagram of the UP-Board on page 2 of the latest datasheet:
The pinout for the UP Board is also shown on page 2. The ADC is indeed indicated on pin 7.
With respect to the ADC pin. Can it be read with the mraa library?
ex: self._analog=mraa.Aio(7) in python
The short answer is: "not yet".
However, if you want it quickly and are happy to build MRAA from source code, you might be interested in this pull request: