Gustavo Goretkin wrote: > I do have access to the scope, and the signal looks clean to me. > Furthermore, when I switch the two channels and axes, the error is > pertinent to the input channel of the ADC, and not the output of the sensor Did you measure directly at the pin of the atmel or do you have any "preprocessing" ciruit like an amplifier, filter, buffer etc.? If your input on the pin of the ADC is fine, only two possiblities remain. You could have a faulty chip or some problem with your software. I haven't read the datasheet of the atmega32, but I can't imagine any misconfiguration that would produce random noise on the input. I once had a problem with the ADC because I didn't wait long enough after switching channels, so I got data from the wrong channel sometimes, which produced strange results of course. AS
Message
Re: [AVR-Chat] Weird values on ADC channel 4
2007-09-12 by Andreas Stemmer
Attachments
- No local attachments were found for this message.