free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
pdi33
Sat Mar 08 2008, 11:21AM

 User Offline
Registered Member #1329
Joined: Mon Jun 04 2007, 09:28AM

Posts: 655
Thanked 144 times in 140 posts
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.



* inspired to develop,developing to inspire *
Back to top


Ajay
Sun Mar 09 2008, 11:31AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3753
Thanked 696 times in 655 posts
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?

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


pdi33
Tue Mar 11 2008, 01:04PM

 User Offline
Registered Member #1329
Joined: Mon Jun 04 2007, 09:28AM

Posts: 655
Thanked 144 times in 140 posts
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.

* inspired to develop,developing to inspire *
Back to top


pdi33
Tue Mar 11 2008, 01:05PM

 User Offline
Registered Member #1329
Joined: Mon Jun 04 2007, 09:28AM

Posts: 655
Thanked 144 times in 140 posts
the normal mode is 10 bit resolution and works fine.
javascript:addtext(':mad',true)

* inspired to develop,developing to inspire *
Back to top


Ajay
Wed Mar 12 2008, 10:57AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3753
Thanked 696 times in 655 posts
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?

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems