AD7490 interface

Started by Patrick May 19, 2008
Has anyone worked with AD7490, 16-channel 12bit AtoD converter and
BasicX? It's got SPI interface so it must be possible to use with
BasicX, correct?

The whole reason why this even came up is my need for more than 8
channel A/D that are built-in on BasicX. I need a total of 16
channels and in the previous project I ended up using 2 BasicXs and
that wasn't the best solution. Ideally having all 16 channel on the
same chip would work the best.

Any suggestions would be very helpful. Thanks, Patrick.
i've used many SPI ic's with the BasicX and they all work 100%. The BasicX has a hardware SPI port, so it's very easy to make it work with any SPI ic.

Go ahead and buy one. Try it and if you have problems, re-post and i will send you some code....

Stephane Richard
----- Original Message -----
From: Patrick
To: b...
Sent: Monday, May 19, 2008 4:30 PM
Subject: [BasicX] AD7490 interface
Has anyone worked with AD7490, 16-channel 12bit AtoD converter and
BasicX? It's got SPI interface so it must be possible to use with
BasicX, correct?

The whole reason why this even came up is my need for more than 8
channel A/D that are built-in on BasicX. I need a total of 16
channels and in the previous project I ended up using 2 BasicXs and
that wasn't the best solution. Ideally having all 16 channel on the
same chip would work the best.

Any suggestions would be very helpful. Thanks, Patrick.

------

7:44 AM

Yup... It works. I've got one running in a test setup we're using to test
phototube bases.

You might be able to score a couple of samples if you look on the Analog
Devices site.

-----------------------------------
Bob Tilden, t...@northwestern.edu
High Energy Physics Group
Northwestern University

-----Original Message-----
From: b... [mailto:b...] On Behalf Of
Patrick
Sent: Monday, May 19, 2008 3:31 PM
To: b...
Subject: [BasicX] AD7490 interface

Has anyone worked with AD7490, 16-channel 12bit AtoD converter and
BasicX? It's got SPI interface so it must be possible to use with
BasicX, correct?

The whole reason why this even came up is my need for more than 8
channel A/D that are built-in on BasicX. I need a total of 16
channels and in the previous project I ended up using 2 BasicXs and
that wasn't the best solution. Ideally having all 16 channel on the
same chip would work the best.

Any suggestions would be very helpful. Thanks, Patrick.
I used A/D converteres from maxxim because they offer free samples that they send to your place, they have a phone line in case of any doubts (this works very well! I used it a couple of times) and their manuals are very straight and simple. SPI protocol is also very straightforward to use
BR
David
----- Original Message -----
From: Patrick
To: b...
Sent: Monday, May 19, 2008 8:30 PM
Subject: [BasicX] AD7490 interface
Has anyone worked with AD7490, 16-channel 12bit AtoD converter and
BasicX? It's got SPI interface so it must be possible to use with
BasicX, correct?

The whole reason why this even came up is my need for more than 8
channel A/D that are built-in on BasicX. I need a total of 16
channels and in the previous project I ended up using 2 BasicXs and
that wasn't the best solution. Ideally having all 16 channel on the
same chip would work the best.

Any suggestions would be very helpful. Thanks, Patrick.


It just so happens that i'm using 16 channels in the BX24 through a
multiplexer 4052 but you could just as easily use the 4051
Also i'm using the 74hc595 to control sensor emitters and the
multiplexer at the same time on my little robot

Does this help?

>Has anyone worked with AD7490, 16-channel 12bit AtoD converter and
>BasicX? It's got SPI interface so it must be possible to use with
>BasicX, correct?
>
>The whole reason why this even came up is my need for more than 8
>channel A/D that are built-in on BasicX. I need a total of 16
>channels and in the previous project I ended up using 2 BasicXs and
>that wasn't the best solution. Ideally having all 16 channel on the
>same chip would work the best.
>
>Any suggestions would be very helpful. Thanks, Patrick.


Multiplexer is a great idea! I haven't even explored this option but
it could be another way to solve my problem.

Thanks, Patrick

--- In b..., Gary T wrote:
>
> It just so happens that i'm using 16 channels in the BX24 through a
> multiplexer 4052 but you could just as easily use the 4051
> Also i'm using the 74hc595 to control sensor emitters and the
> multiplexer at the same time on my little robot
>
> Does this help?
>
> >Has anyone worked with AD7490, 16-channel 12bit AtoD converter and
> >BasicX? It's got SPI interface so it must be possible to use with
> >BasicX, correct?
> >
> >The whole reason why this even came up is my need for more than 8
> >channel A/D that are built-in on BasicX. I need a total of 16
> >channels and in the previous project I ended up using 2 BasicXs and
> >that wasn't the best solution. Ideally having all 16 channel on the
> >same chip would work the best.
> >
> >Any suggestions would be very helpful. Thanks, Patrick.
> >
> >
>

Do you have a sample code I can start with? I'd help me out a lot.
Thanks, Patrick.

--- In b..., "Robert Tilden" wrote:
> Yup... It works. I've got one running in a test setup we're using to
test
> phototube bases.
>
> You might be able to score a couple of samples if you look on the Analog
> Devices site.
>
> -----------------------------------
> Bob Tilden, tilden@...
> High Energy Physics Group
> Northwestern University
>
> -----Original Message-----
> From: b... [mailto:b...] On
Behalf Of
> Patrick
> Sent: Monday, May 19, 2008 3:31 PM
> To: b...
> Subject: [BasicX] AD7490 interface
>
> Has anyone worked with AD7490, 16-channel 12bit AtoD converter and
> BasicX? It's got SPI interface so it must be possible to use with
> BasicX, correct?
>
> The whole reason why this even came up is my need for more than 8
> channel A/D that are built-in on BasicX. I need a total of 16
> channels and in the previous project I ended up using 2 BasicXs and
> that wasn't the best solution. Ideally having all 16 channel on the
> same chip would work the best.
>
> Any suggestions would be very helpful. Thanks, Patrick.
>
Hello,

This is just an update on my project. I went with the multiplex
idea. I used two of the 4051 and hook analog pins to each of them. I
also hooked 3 I/O pins to the address pins on both 4051 chips. It
works very well at getting 16 different outputs. I'll have to explore
AD7490 later since I think it'll work well too. Thanks for everyone's
suggestions.

-Patrick

--- In b..., "patratacus" wrote:
>
> Multiplexer is a great idea! I haven't even explored this option but
> it could be another way to solve my problem.
>
> Thanks, Patrick
>
> --- In b..., Gary T wrote:
> >
> > It just so happens that i'm using 16 channels in the BX24 through a
> > multiplexer 4052 but you could just as easily use the 4051
> > Also i'm using the 74hc595 to control sensor emitters and the
> > multiplexer at the same time on my little robot
> >
> > Does this help?
> >
> >
> >
> > >Has anyone worked with AD7490, 16-channel 12bit AtoD converter and
> > >BasicX? It's got SPI interface so it must be possible to use with
> > >BasicX, correct?
> > >
> > >The whole reason why this even came up is my need for more than 8
> > >channel A/D that are built-in on BasicX. I need a total of 16
> > >channels and in the previous project I ended up using 2 BasicXs and
> > >that wasn't the best solution. Ideally having all 16 channel on the
> > >same chip would work the best.
> > >
> > >Any suggestions would be very helpful. Thanks, Patrick.
> > >
> > >
> >
> >
> >
> >
>