[Autopilot] Re: A/D on the mega163
Status: Alpha
Brought to you by:
tramm
From: Larry B. <la...@ba...> - 2002-11-19 01:05:24
|
I found that by separating Avcc from Avref, bypassing just Avref and connecting Avcc to Vcc, and using the REFS0 bit on the A/D mux, I get much improved results with the mega163 A/D converter (ref table 40 in the complete data sheet) Using 1/64 clock, with Avref & Avcc tied together, bypassed and connected to +5v, I got about a 5 count dither on my results (a simple potentiometer fed into channel 0). When using the Avcc with bypass cap on Avref technique I got one count dither. With minimal filtering, I get bit stable results. This says nothing about accuracy, just noise. Something to consider for the next rev of the autopilot board. Cheers! |