Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Weird values on ADC channel 4

2007-09-10 by Andreas Stemmer

Gustavo Goretkin wrote:
> After I average 3 and 4's values for a while to get the bias of the
>  accelerometer's outputs, 3 always returns a value of zero (after
>  removing the bias and having the sensor still), but 4 always returns
>  some random value that is anywhere from 15-30 ADC units off. I have
>  switched the sensor configuration (swapped 3 and 4), and still 4
>  returns non-ideal values and 3 is fine.

Is the "random value" always off in the same direction or is it really
random? In the first case I suspect some error in the way you're
removing the bias. In the latter case, it looks like you have too much
noise, so a check of the signal preparation circuitry would perhaps
reveal something. Do you have access to a scope?

AS

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.