Olimex Support Forum

Others => UEXT => Topic started by: vikingaca on September 10, 2014, 03:12:20 PM

Title: MOD-IO ADC
Post by: vikingaca on September 10, 2014, 03:12:20 PM
Hi everybody!
I am interested in about using AIN inputs on my MOD-IO for connecting variable resistors. Idea after that is to use ADC for calculating voltage level. Is it possible to use the ADC input over the AIN? My experience with the ADC on LPC2148 is that it's very easy, I hope that here is also.
Thanks!
Title: Re: MOD-IO ADC
Post by: Lurch on September 11, 2014, 06:09:35 PM
Sure. Download the documents and code from the Wiki. They are 10bit.
"The board features four 10bit resolution analogue inputs (input voltages from 0 - 3.3V) and each of them is read with a separate command."
Title: Re: MOD-IO ADC
Post by: dave-at-axon on September 16, 2014, 08:02:10 AM
The inputs work but they are a bit noisy so as long as you don't worry to much about this, it will be fine.
Title: Re: MOD-IO ADC
Post by: vikingaca on September 22, 2014, 03:06:06 PM
Hi!
It turns out that AD conversion is much more easy then on ARM7... But thanks for reply ;D Now I'm trying to send some chars over the UART and RS232 on Hyper Terminal, so some hint would be helpful.
Thanks a lot once more guys!