Hi, all
Every once in a while, you run into a problem and you just don't know how to proceed. I am stuck in that situation right now. I am trying to get a MAX197 ADC to work with my Boarduino. This device is very cool. 8 ports, 12bits, ±10V sensing from just a +5V supply, and free samples to boot. Right now, I am just trying to use the standard 0 to +5V range.
I am running into a few issues, but the most pressing is that the read value sticks to the max. I am using a slide pot as a voltage divider and the value only deviates from the maximum in the last millimeter. Even then, it is sporadic, suggesting that I'm getting a lot of noise on the side. I have verified the pot with the built in ADC on the ATMega, and it returns exactly what you would expect to see.
My first hope is that someone can provide some suggestions that are general to external ADCs. I hooked it up exactly how the datasheet says (I think). I will of course check that again tomorrow with fresh eyes.
I am fairly certain that my code is pretty ok because I am still getting results showing some resemblance of correlation. As for configuration options, there aren't very many of them, so I'm pretty sure nothing's wrong there.
Finally, if you have heard of someone getting this particular part to work, that could also be helpful.
Thanks, folks!