16 channel ADC

Started by Hugo Desmeules November 8, 2004
Hi!
I'm new to basicx, but I've multiple projects with other
microcontrollers. I searched the group for adc but didn't find what i
was looking for so: I would like to interface an ADC0817CC, an 8-bit
16 channel a/d converter to the basicX-24. My guess is that I won't be
using the basicx ADC pins and won't be needing the getADC command.?
right? What commands will be necessary and is there an online example
that I missed? Any other info is appreciated!

Thank you!
Hugo




Why wouldn't you use GetADC ? For a first-time user, I would suggest using the on-board 10-bit ADC. If you find later that you need to sample more than 8 analog signals, then expand further with additional hardware. Don't forget GetADC only works for pins 13-20.

Hope that helps...
Thad

Hugo Desmeules <> wrote:
Hi!
I'm new to basicx, but I've multiple projects with other
microcontrollers. I searched the group for adc but didn't find what i
was looking for so: I would like to interface an ADC0817CC, an 8-bit
16 channel a/d converter to the basicX-24. My guess is that I won't be
using the basicx ADC pins and won't be needing the getADC command.?
right? What commands will be necessary and is there an online example
that I missed? Any other info is appreciated!

Thank you!
Hugo

Yahoo! Groups Sponsor
Get unlimited calls to

U.S./Canada ---------------------------------
Yahoo! Groups Links

To
---------------------------------



I know I need at least 12 ADCs for my current project, I will try the
GetADC command though for learning purposes, but I will eventually
have to find how to code for external multiple channel ADC. Anybody
tried it succesfully? On Tue, 9 Nov 2004 04:38:53 -0800 (PST), Thad Larson
<> wrote:
>
> Why wouldn't you use GetADC ? For a first-time user, I would suggest using the on-board 10-bit ADC. If you find later that you need to sample more than 8 analog signals, then expand further with additional hardware. Don't forget GetADC only works for pins 13-20.
>
> Hope that helps...
> Thad >
> Hugo Desmeules <> wrote:
> Hi!
> I'm new to basicx, but I've multiple projects with other
> microcontrollers. I searched the group for adc but didn't find what i
> was looking for so: I would like to interface an ADC0817CC, an 8-bit
> 16 channel a/d converter to the basicX-24. My guess is that I won't be
> using the basicx ADC pins and won't be needing the getADC command.?
> right? What commands will be necessary and is there an online example
> that I missed? Any other info is appreciated!
>
> Thank you!
> Hugo
>
> Yahoo! Groups Sponsor
> Get unlimited calls to
>
> U.S./Canada
>
> ---------------------------------
> Yahoo! Groups Links
>
> To
>
> --------------------------------- >
>
> Yahoo! Groups Links





--- In , Hugo Desmeules <hugobox@g...> wrote:
> I know I need at least 12 ADCs for my current project [...]

You might consider using an analog multiplexer such as the
74HCT4052. This device contains two 4 channel devices which share
select logic. If you used two of these you could multiplex 16 analog
inputs onto 4 of the BX-24's ADC inputs.

These devices are available from DigiKey for about 50 cents each.
This is much cheaper than you could get external A/D converters.



Hmmm, excellent idea there. I'll try this and post my results if conclusive...
Thanks! On Wed, 10 Nov 2004 03:01:21 -0000, Don Kinzer <> wrote:
>
>
> --- In , Hugo Desmeules <hugobox@g...> wrote:
> > I know I need at least 12 ADCs for my current project [...]
>
> You might consider using an analog multiplexer such as the
> 74HCT4052. This device contains two 4 channel devices which share
> select logic. If you used two of these you could multiplex 16 analog
> inputs onto 4 of the BX-24's ADC inputs.
>
> These devices are available from DigiKey for about 50 cents each.
> This is much cheaper than you could get external A/D converters. > Yahoo! Groups Links