Atmel AVR Microcontroller discussion group.
[AVR club] External ADC - magsina - Oct 4 15:03:32 2008
Hello friends
I'm making a line follower robot. i decide to use external ADC(my
micro controller is MEGA16). but I don't know
what the name of the chip is(8 bits external ADC)!!!
also i don't know anything about writing the program for external ADC
(i use codevision )and i don't know how it send the digital output to
micro controller. because the input of micro should be analog or
digital 0,1. for example you cant send 234 to micro controller!(am I
right?)
by the way i don't like to use op-amp or internal ADC.
Would you please help me?
------------------------------------

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )
Re: [AVR club] External ADC - Zack Widup - Oct 4 15:06:16 2008
First off, you aren't going to be able to do anything wothout a data sheet
for the external ADC you're using. DO you know the part number and do you
have the data sheet?
If not, you might as well give up on that setup.
If you do, the data sheet should give you the info on how to set up and
use the chip.
Zack
On Sat, 4 Oct 2008, magsina wrote:
> Hello friends
>
> I'm making a line follower robot. i decide to use external ADC(my
> micro controller is MEGA16). but I don't know
> what the name of the chip is(8 bits external ADC)!!!
> also i don't know anything about writing the program for external ADC
> (i use codevision )and i don't know how it send the digital output to
> micro controller. because the input of micro should be analog or
> digital 0,1. for example you cant send 234 to micro controller!(am I
> right?)
> by the way i don't like to use op-amp or internal ADC.
> Would you please help me?
------------------------------------

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )
Re: [AVR club] External ADC - Jim Ronald - Oct 4 17:44:49 2008
Use the ADC on the atmega16, it is pretty easy, way easier than using a external ADC.
Although it uses GCC (WinAVR), I would suggest looking at the SRS workshop robot for an
atmega16 ADC example.
----- Original Message -----
From: magsina
To: a...@yahoogroups.com
Sent: Saturday, October 04, 2008 2:22 PM
Subject: [AVR club] External ADC
Hello friends
I'm making a line follower robot. i decide to use external ADC(my
micro controller is MEGA16). but I don't know
what the name of the chip is(8 bits external ADC)!!!
also i don't know anything about writing the program for external ADC
(i use codevision )and i don't know how it send the digital output to
micro controller. because the input of micro should be analog or
digital 0,1. for example you cant send 234 to micro controller!(am I
right?)
by the way i don't like to use op-amp or internal ADC.
Would you please help me?
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )
[AVR club] Re: External ADC - magsina - Oct 5 11:59:08 2008
--- In a...@yahoogroups.com, "Jim Ronald"
wrote:
> Use the ADC on the atmega16, it is pretty easy, way easier than
using a external ADC. Although it uses GCC (WinAVR), I would suggest
looking at the SRS workshop robot for an atmega16 ADC example.
> ----- Original Message -----
> From: magsina
> To: a...@yahoogroups.com
> Sent: Saturday, October 04, 2008 2:22 PM
> Subject: [AVR club] External ADC
> Hello friends
>
> I'm making a line follower robot. i decide to use external ADC(my
> micro controller is MEGA16). but I don't know
> what the name of the chip is(8 bits external ADC)!!!
> also i don't know anything about writing the program for external ADC
> (i use codevision )and i don't know how it send the digital output to
> micro controller. because the input of micro should be analog or
> digital 0,1. for example you cant send 234 to micro controller!(am I
> right?)
> by the way i don't like to use op-amp or internal ADC.
> Would you please help me?
>
>
>
> [Non-text portions of this message have been removed]
>
I wanted to know the name of that chip(8 bits external ADC)
also i told that i don't want to use the ADC of mega16. because you
can't use PWM and ADC simultaneously(mega16 may hang!!!)
so would you help me find a good external ADC and tell me how it works?
------------------------------------

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )Bls: [AVR club] Re: External ADC - Indra Gani - Oct 5 16:48:51 2008
ADC0804
--- Pada Ming, 5/10/08, magsina
menulis:
Dari: magsina
Topik: [AVR club] Re: External ADC
Kepada: a...@yahoogroups.com
Tanggal: Minggu, 5 Oktober, 2008, 3:19 PM
--- In avrclub@yahoogroups .com, "Jim Ronald" wrote:
> Use the ADC on the atmega16, it is pretty easy, way easier than
using a external ADC. Although it uses GCC (WinAVR), I would suggest
looking at the SRS workshop robot for an atmega16 ADC example.
> ----- Original Message -----
> From: magsina
> To: avrclub@yahoogroups .com
> Sent: Saturday, October 04, 2008 2:22 PM
> Subject: [AVR club] External ADC
> Hello friends
>
> I'm making a line follower robot. i decide to use external ADC(my
> micro controller is MEGA16). but I don't know
> what the name of the chip is(8 bits external ADC)!!!
> also i don't know anything about writing the program for external ADC
> (i use codevision )and i don't know how it send the digital output to
> micro controller. because the input of micro should be analog or
> digital 0,1. for example you cant send 234 to micro controller!( am I
> right?)
> by the way i don't like to use op-amp or internal ADC.
> Would you please help me?
>
> [Non-text portions of this message have been removed]
>
I wanted to know the name of that chip(8 bits external ADC)
also i told that i don't want to use the ADC of mega16. because you
can't use PWM and ADC simultaneously( mega16 may hang!!!)
so would you help me find a good external ADC and tell me how it works?
___________________________________________________________________________
Dapatkan alamat Email baru Anda!
Dapatkan nama yang selalu Anda inginkan sebelum diambil orang lain!
http://mail.promotions.yahoo.com/newdomains/id/
[Non-text portions of this message have been removed]
------------------------------------
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )Re: [AVR club] Re: External ADC - Jim Ronald - Oct 5 16:49:27 2008
>> Hello friends
>>
>> I'm making a line follower robot. i decide to use external ADC(my
>> micro controller is MEGA16). but I don't know
>> what the name of the chip is(8 bits external ADC)!!!
>> also i don't know anything about writing the program for external ADC
>> (i use codevision )and i don't know how it send the digital output to
>> micro controller. because the input of micro should be analog or
>> digital 0,1. for example you cant send 234 to micro controller!(am I
>> right?)
>> by the way i don't like to use op-amp or internal ADC.
>> Would you please help me?
> Use the ADC on the atmega16, it is pretty easy, way easier than
>using a external ADC. Although it uses GCC (WinAVR), I would suggest
>looking at the SRS workshop robot for an atmega16 ADC example.
>
I wanted to know the name of that chip(8 bits external ADC)
also i told that i don't want to use the ADC of mega16. because you
can't use PWM and ADC simultaneously(mega16 may hang!!!)
so would you help me find a good external ADC and tell me how it works?
There are dozens of 8 bits external ADC chips.
The ATmega16 can do ADC, PWM and serial I/O without breaking a sweat.
Again, look at the Example SRS Workshop Robot code it's a good example.
Or take a look at Pascal Stang's AVRLib examples not to be confused with
AVRLibc
Regards
JR
------------------------------------

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )
[AVR club] Re: External ADC - vid_tech - Oct 6 2:00:25 2008
Hi,
ADC0801 to 0809 are 8 bit parallel interface type ADC from national semi.
PCF8591 from philips (NXP) is 8bit ADC with I2C interface.
But why don't you use internal 10 bit ADC of mega16 ?
Kishor Soni
--- In a...@yahoogroups.com, "Jim Ronald"
wrote:
>
> >> Hello friends
> >>
> >> I'm making a line follower robot. i decide to use external ADC(my
> >> micro controller is MEGA16). but I don't know
> >> what the name of the chip is(8 bits external ADC)!!!
> >> also i don't know anything about writing the program for external ADC
> >> (i use codevision )and i don't know how it send the digital output to
> >> micro controller. because the input of micro should be analog or
> >> digital 0,1. for example you cant send 234 to micro controller!(am I
> >> right?)
> >> by the way i don't like to use op-amp or internal ADC.
> >> Would you please help me?
> >
> >
> > Use the ADC on the atmega16, it is pretty easy, way easier than
> >using a external ADC. Although it uses GCC (WinAVR), I would suggest
> >looking at the SRS workshop robot for an atmega16 ADC example.
> >
> I wanted to know the name of that chip(8 bits external ADC)
> also i told that i don't want to use the ADC of mega16. because you
> can't use PWM and ADC simultaneously(mega16 may hang!!!)
> so would you help me find a good external ADC and tell me how it works?
>
> There are dozens of 8 bits external ADC chips.
>
> The ATmega16 can do ADC, PWM and serial I/O without breaking a sweat.
> Again, look at the Example SRS Workshop Robot code it's a good example.
>
> Or take a look at Pascal Stang's AVRLib examples not to be confused
with
> AVRLibc
>
> Regards
> JR
>
------------------------------------

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )Re: [AVR club] Re: External ADC - Zack Widup - Oct 6 8:56:35 2008
>>> Hello friends
>>>
>>> I'm making a line follower robot. i decide to use external ADC(my
>>> micro controller is MEGA16). but I don't know
>>> what the name of the chip is(8 bits external ADC)!!!
>>> also i don't know anything about writing the program for external ADC
>>> (i use codevision )and i don't know how it send the digital output to
>>> micro controller. because the input of micro should be analog or
>>> digital 0,1. for example you cant send 234 to micro controller!(am I
>>> right?)
>>> by the way i don't like to use op-amp or internal ADC.
>>> Would you please help me?
>> Use the ADC on the atmega16, it is pretty easy, way easier than
>> using a external ADC. Although it uses GCC (WinAVR), I would suggest
>> looking at the SRS workshop robot for an atmega16 ADC example.
>>
> I wanted to know the name of that chip(8 bits external ADC)
> also i told that i don't want to use the ADC of mega16. because you
> can't use PWM and ADC simultaneously(mega16 may hang!!!)
> so would you help me find a good external ADC and tell me how it works?
>
I have never had any trouble with using the ADC and PWM on any AVR chip at
the same time. In fact, it's a great way to do simple DSP of audio
signals (FIR filters, etc).
Whoever said they had problems probably didn't initialize the functions
properly.
The data sheets should show you how to initialize the correct registers.
Zack
------------------------------------

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )
Re: [AVR club] Re: External ADC - Adam Aliyya Machfud - Oct 6 10:27:45 2008
Hi friends,
Well, I never find anything wrong also when using internal ADC of AVR uC (Mega8, Tiny2313,
Mega8535, and the latest, Mega128). It worked fine in control system using ADC to
digitized sensor data and PWM to drive DC motor at the same time. Maybe you should check
the configuration code or change your uC :)
But if you insist on using external ADC, I have ever used one, but serial 12-bit, TLV2543.
Great one, but a little bit complex in the code, it is up to you.
Regards,
Adam
----- Original Message ----
From: Zack Widup
To: a...@yahoogroups.com
Sent: Monday, October 6, 2008 7:56:17 PM
Subject: Re: [AVR club] Re: External ADC
>>> Hello friends
>>>
>>> I'm making a line follower robot. i decide to use external ADC(my
>>> micro controller is MEGA16). but I don't know
>>> what the name of the chip is(8 bits external ADC)!!!
>>> also i don't know anything about writing the program for external ADC
>>> (i use codevision )and i don't know how it send the digital output to
>>> micro controller. because the input of micro should be analog or
>>> digital 0,1. for example you cant send 234 to micro controller!( am I
>>> right?)
>>> by the way i don't like to use op-amp or internal ADC.
>>> Would you please help me?
>> Use the ADC on the atmega16, it is pretty easy, way easier than
>> using a external ADC. Although it uses GCC (WinAVR), I would suggest
>> looking at the SRS workshop robot for an atmega16 ADC example.
>>
> I wanted to know the name of that chip(8 bits external ADC)
> also i told that i don't want to use the ADC of mega16. because you
> can't use PWM and ADC simultaneously( mega16 may hang!!!)
> so would you help me find a good external ADC and tell me how it works?
>
I have never had any trouble with using the ADC and PWM on any AVR chip at
the same time. In fact, it's a great way to do simple DSP of audio
signals (FIR filters, etc).
Whoever said they had problems probably didn't initialize the functions
properly.
The data sheets should show you how to initialize the correct registers.
Zack
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )Re: Re: [AVR club] Re: External ADC - raj - Oct 7 8:39:29 2008
Dear Adam,=20
Could you pls send me code of AVR MIcro for me.I want to use i=
t in 2313 or 88 series.
Thanks in advance,
Regards,
kundan=A0
On Mon, 06 Oct 2008 Adam Aliyya Machfud wrote :
>Hi friends,
>
>Well, I never find anything wrong also when using internal ADC of AVR uC (=
Mega8, Tiny2313, Mega8535, and the latest, Mega128). It worked fine in cont=
rol system using ADC to digitized sensor data and PWM to drive DC motor at =
the same time. Maybe you should check the configuration code or change your=
uC :)
>
>But if you insist on using external ADC, I have ever used one, but serial =
12-bit, TLV2543. Great one, but a little bit complex in the code, it is up =
to you.
>
>Regards,
>Adam
>
>----- Original Message ----
> From: Zack Widup
>To: a...@yahoogroups.com
>Sent: Monday, October 6, 2008 7:56:17 PM
>Subject: Re: [AVR club] Re: External ADC
>
> >>> Hello friends
> >>>
> >>> I'm making a line follower robot. i decide to use external ADC(my
> >>> micro controller is MEGA16). but I don't know
> >>> what the name of the chip is(8 bits external ADC)!!!
> >>> also i don't know anything about writing the program for external ADC
> >>> (i use codevision )and i don't know how it send the digital output to
> >>> micro controller. because the input of micro should be analog or
> >>> digital 0,1. for example you cant send 234 to micro controller!( am I
> >>> right?)
> >>> by the way i don't like to use op-amp or internal ADC.
> >>> Would you please help me?
> >>
> >>
> >> Use the ADC on the atmega16, it is pretty easy, way easier than
> >> using a external ADC. Although it uses GCC (WinAVR), I would suggest
> >> looking at the SRS workshop robot for an atmega16 ADC example.
> >>
> > I wanted to know the name of that chip(8 bits external ADC)
> > also i told that i don't want to use the ADC of mega16. because you
> > can't use PWM and ADC simultaneously( mega16 may hang!!!)
> > so would you help me find a good external ADC and tell me how it works?
> >I have never had any trouble with using the ADC and PWM on any AVR chip at
>the same time. In fact, it's a great way to do simple DSP of audio
>signals (FIR filters, etc).
>
>Whoever said they had problems probably didn't initialize the functions
>properly.
>
>The data sheets should show you how to initialize the correct registers.
>
>Zack
>
>[Non-text portions of this message have been removed]
>
Sr. FAE=0D
Excel Eltech inc. =0D
A-76, EOK. New Delhi=0D
110065=0D
ph:9811675688=0D
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )