Quote:
|
Originally Posted by Kevin Watson
How much drift are you seeing (you need to calibrate the scaling factor first).
-Kevin
|
We used the code with the ADXRS300 as well and were seeing about 8 degrees of drift over 2-1/2 minutes on a motionless robot. We modified the code to average the bias over more than a single group of samples and increased the sample size to 16 to get the extra precision. That seemed to improve the results.
Can you tell us what you were seeing for drift over time? I just wasn't sure what to expect for results and so we tried these modifications.
Also, I have a question. You're locking the A/D onto Channel 1 to presumably eliminate that acquisition time when switching channels. How much time does actually take (for teams that want more than one analog input)?
And do you know what the conversion time is once the channel is switched?
Thanks again for posting the code.
Brad