ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: [ts-7250] 5 internal (EP9302) ADC

To:
Subject: Re: [ts-7000] Re: [ts-7250] 5 internal (EP9302) ADC
From: "Eddie Dawydiuk" <>
Date: Wed, 27 Apr 2005 14:49:47 -0700 (MST)
Hi Chris,

> 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.

Sorry I should have reviewed that code before posting it, the ADC wasn't
being initialized... The fact that your calibration values are reading all
zero's is very odd. I would expect them to be 0xFFFF (if your board hasn't
been calibrated) or some valid calibration values(0x0 isn't a valid
calibration value). Anyways, get the updated code then if you still see
0x0 for all of your calibration values then comment out the following
lines

    if(buffer[i] != 0xFF)
        virgin = FALSE;

//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/
 



<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU