|
From: | Mattias Svensson |
Subject: | Re: [avr-gcc-list] ADC anomaly |
Date: | Sun, 15 Feb 2004 10:10:08 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030915 |
>>The 3 LSB difference in your case could be >>temperature drift due to the >>device heating up during your several hours test. >>
I thought of that, but the temperature is pretty constant during the test. I'll check that out though.The resistors in the circuit are 1% so I wouldn;t expect that much of an error. Seems that the systemsettles to 508 counts, but is 511 or 512 after a reset. Only a second so I don't think that temperature is a factor in such a short time with uninteruppted power.
Try using the ADC noise canceling techniques mentioned in the datasheet if you need better accuracy.Maybe you are doing something with the device peripherals that causes interferance on chip level...
/Mattias
[Prev in Thread] | Current Thread | [Next in Thread] |