Shop OBEX P1 Docs P2 Docs Learn Events
Reading ADC channels — Parallax Forums

Reading ADC channels

ArchiverArchiver Posts: 46,084
edited 2001-07-04 15:17 in General Discussion
For the ADC'ers

I have Parallax 12-bit ADC AppKit which comes with the source code to read
Channels 0 and 1 of the LTC1298. That is all very good.

I have a National Semi chip, ADC12034, which is a 4-channel chip with mux1
and mux2 pins. Input channels are 0,1,2,3.

If you are not familiar with the LTC1298 code, readout is controlled by a
config command in binary where in the third bit specifies the channel read.
Since the bit options are 0 and 1, obviously it will control only 2 channels.

I need a source code that will let me read 4 or more channels and some
guidance as to how to connect Stamp to the ADC, i.e., do I tie Din and Dout
together as with the LTC1298 or do I use one of the mux lines to input data
to the Stamp.

Please, do not refer me to a book that I would have to read or to a site that
I will have to hunt down. I just want a code so I can operate this thing.
I'm 79 years old and have a couple of other things I would like to learn.

If I have left out any information essential to you helping me, my apologies.

If you choose to respond please make "For Newzed" the first line of your
response. Sometimes there are so many comments on the list about a subject
you don't know who is writing to who.

Thanks
Sid - W4EKQ
Newzed@a...
Sign In or Register to comment.