Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
chanseng738
PostPosted: Aug 16, 2009 - 05:52 AM
Hangaround


Joined: Feb 24, 2009
Posts: 398


I know AVR Butterfly is based on Atmega169, and Atmega169 got 8 ADC inputs, but the AVR Butterfly only has 3 ADC - one temperature, one voltage, one LDR. What about the other 5 more ADC? How can we use the 5 ADC?

With only 2 ADC available (one for voltage and one for LDR) it makes the Butterfly application very limited. I need to use 5 ADC,what should I do? Get another ADC chip?
 
 View user's profile Send private message  
Reply with quote Back to top
ArnoldB
PostPosted: Aug 16, 2009 - 07:10 AM
Raving lunatic


Joined: Nov 29, 2007
Posts: 3219


Look into the butterfly manual. It has got the butterfly schematic. Locate the ATmega169 in the schematics, locate the ADC pins. See if they are used for something else, see if you can re-purpose them. All this is rather easy, so no need to whine here.

Yes, the butterfly is limited. It is an evaluation, not an application board.
 
 View user's profile Send private message  
Reply with quote Back to top
smileymicros
PostPosted: Aug 16, 2009 - 06:16 PM
Raving lunatic


Joined: Nov 17, 2004
Posts: 6137
Location: Great Smokey Mountains.

chanseng738 wrote:
I know AVR Butterfly is based on Atmega169, and Atmega169 got 8 ADC inputs, but the AVR Butterfly only has 3 ADC - one temperature, one voltage, one LDR. What about the other 5 more ADC? How can we use the 5 ADC?

With only 2 ADC available (one for voltage and one for LDR) it makes the Butterfly application very limited. I need to use 5 ADC,what should I do? Get another ADC chip?
Look at 'Butterfly Alternate Pin Use' available as a pdf from my downloads section. ADC 4,5,6,7 are available on the JTAG port. Three others are used for the light, temperature, and voltage sensors.

Smiley

_________________
FREE TUTORIAL: 'Quick Start Guide for Using the WinAVR C Compiler with ATMEL's AVR Butterfly' AVAILABLE AT: http://www.smileymicros.com
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
chanseng738
PostPosted: Aug 16, 2009 - 06:21 PM
Hangaround


Joined: Feb 24, 2009
Posts: 398


Thanks a lot, smiley!

_________________
cs


I'm happy ytd, today, and tmr Smile
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits