Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: jess on November 05, 2013, 06:04:19 AM

Title: A20 and A2D
Post by: jess on November 05, 2013, 06:04:19 AM
I need to measure a 0-5VDC level with 12-bit accuracy.
Does the A20 board have a built-in analog to digital converter?
Title: Re: A20 and A2D
Post by: martinayotte on November 06, 2013, 03:41:58 PM
If you don't need high speed sampling rate, you can easily attach a external A/D converter on I2C bus, such as the MCP3428, it is a 16 bits multi channel inputs.
Title: Re: A20 and A2D
Post by: jess on November 10, 2013, 07:41:58 AM
Thanks.... are there any I2C code samples on how to use that interface so I can get some understanding of how to do it in A20?
Title: Re: A20 and A2D
Post by: olimex on November 11, 2013, 12:11:04 PM
Github have many examples with A13 how to interface different I2C UEXT boards with A20 is same
Title: Re: A20 and A2D
Post by: jess on November 13, 2013, 06:43:22 PM
I found it here https://olimex.wordpress.com/tag/i2c/