Discussion in "AVR Discussion Forum" started by    islurpundalik    Mar 9, 2008.
Sun Mar 09 2008, 12:51 am
#1
I have tried and tested al features of AVR and are working satisfactorily except the ADC part.
Actually for my applications, the ADC resolution required is atleast 12 bits. So i used the Oversampling method suggested by atmel application notes to enhance resolution upto 16 bits. It works well and readings are quite stable. But the problem occurs when i reduce the analog input to less than 10% of the full scale. here the linearity drastically differs. I have also removed all digital outputs from portC to eliminate cross interference of digital noise but the problem persists. suggest any solution if possible.
Mon Mar 10 2008, 12:01 am
#2
did you see the ADC response graphs on application notes?.. what they say about oversampling?

try it in normal mode with 12bit resolution and see the response. if its still the same then must be some problem with interfering signal or something.

can i see your circuit?
Wed Mar 12 2008, 01:34 am
#3
actually the circuit is the same as in the avr application note on atmels site. the only modification i have done is to connect a multiplexed display using port B and Port D.
the application note no is AVR121 on atmel application notes.
Wed Mar 12 2008, 01:35 am
#4
the normal mode is 10 bit resolution and works fine.##SANITISED##addtext(':mad',true)
Wed Mar 12 2008, 11:27 pm
#5
do this.. can you remove or stop using multiplexed display..
try sending the ADC o/p of 16-bit to UART (high 8-bit and low 8-bit).. and see if there is any change in that..

Also make this change in hardware.. connect a 100nF cap close to VCC pin of controller. can i see your circuit?

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

KevinTab
Sun Apr 28 2024, 05:35 am
Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm
StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am
ktaletrryp
Fri Apr 26 2024, 10:55 pm
Robertrip
Fri Apr 26 2024, 11:20 am