Hello,
I still cannot get anything but the 0V from all of my samples. Even
if I connect 2.8V to the ADC, I see nothing. I am sure that I am
using the correct pins. Could there be any other problems I am not
seeing? Is there perhaps any jumper settings or other board settings
I have not done?
Here is the output I get from executing the posted code:
Calibration Values =
[ 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 ]
Board has been calibrated by Technologic Systems...
Channel 0: 2.500V
Channel 1: 2.500V
Channel 2: 2.500V
Channel 3: 2.500V
Channel 4: 2.500V
This output is shown everytime. The code says that if the sample is
below a certain amount, to add 0x10000 to the sample, which explains
the 2.5V reading from samples of 0V.
Thanks,
Chris Luu
--- In "Eddie Dawydiuk" <> wrote:
> Hi Chris,
>
> > I try using the example code posted in the files section for the
ts-
> > 7250 ADC, but it doesn't seem to work. All of my samples are 0
when I
> > connect the channels to ~2.8V. I am assuming that the channels are
> > those 10 pins (not the 16 pins) labeled A/D.
> > Do I need to do anything
> > else to get it to work? Am I using the right pins?
>
>
> The 10 pin header labeled A/D is the correct header. The pinout is
below
>
> ADC
> Channel | Pin #
> ----------------------
> 0 | 1
> 1 | 3
> 2 | 5
> 3 | 7
> 4 | 9
>
> We recently started storing board specific calibration values to the
> eeprom. The sample code assumed that your board had these
calibration
> values.... I just updated the code so it will work with or without
these
> calibration values.
>
> //Eddie
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|