ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: TS-7800 ADC as far as I could go...

To:
Subject: Re: [ts-7000] Re: TS-7800 ADC as far as I could go...
From: Jerome Leboeuf <>
Date: Wed, 15 Jun 2011 14:13:03 -0700 (PDT)


Thanks Harold,
I rode several threads giving this information and I also program successfully the ADC-24. Moreover my test programs on onboard ADC perform several sampling  (I effectively send another "start command") but all programs including the ts7800ctl.c provided by TS freeze after a few minutes. Why ?
And why cannot we get a simple library that includes the two basic functions twi_init() and twi_getData() ?



--- On Tue, 6/14/11, Harold <> wrote:

From: Harold <>
Subject: [ts-7000] Re: TS-7800 ADC as far as I could go...
To:
Date: Tuesday, June 14, 2011, 12:19 PM

 

When the command to take ADC samples is sent to the AVR, it captures 2048 samples at 2 KHz. Thus it samples for 1.024 seconds, then stops. You must then send it another start command to get another 2048 samples. I have had boards take samples for several hours in this way.

You would have to do something similar with the TS-ADC24. That is, you would tell it to start taking ADC samples, it would take 512 samples, then stop, and then you would tell it to take more samples.

--- In , Jerome Leboeuf <> wrote:
>
> Thanks Harold.
> Thus even when ADC sampling starts properly there is no way to keep it running for more than a few minutes ? (My test program seems to confirm this odd behaviour,)
> Then, the only solution is to perform analogical sampling using a TS-ADC24 ?
> Regards.
>
>
>
>
> --- On Mon, 6/13/11, Harold <> wrote:
>
> From: Harold <>
> Subject: [ts-7000] Re: TS-7800 ADC as far as I could go...
> To:
> Date: Monday, June 13, 2011, 12:39 PM
>
>
>
>
>
>
>
>  
>
>
>
>
>
>
>
>
>
> This has been discussed before. See the thread that starts with message #18895.
>
> http://tech.groups.yahoo.com/group/ts-7000/message/18895
>
>
>
> I have used the TS-7800 ADC without any problems. As long as I do not send a TWSI command to the AVR microcontroller while it is sampling, it works fine.
>
>
>
> --- In , "Jerome" <jeromelp@> wrote:
>
> >
>
> > Hi everybody,
>
> >
>
> > Concerning ADC sampling, it appears to me that ts7800ctl.c works quite fine though nobody has been able to convert this code to build a ADC class. At least, strangely, no other code has been published to perform ADC sampling...
>
> >
>
> > Hi,
>
> >
>
> > I also failed in that attempt but cannot explain why : my ts7800ctl-V4.c version works (when it doesn't stuck at starting) but next version ts7800ctl-V5.c does not. Both versions are closed between them and also to ts7800ctl.c ;then I can't explain their respective behaviors.
>
> >
>
> > Moreover, when the ADC cycle fails, a cold reboot appears to be the only solution...
>
> >
>
> > So :
>
> >
>
> > 1) I'd liked to know if someone succeeded in performing ADC sampling, at least I would spend more time in this quest !
>
> >
>
> > 2) if you want to investigate further, email me and I'll send you my code.
>
> >
>
> > 3) Some information from Technologic Systems would be appreciated.
>
> >
>
> > Thanks
>
> >
>
> > Jerome
>
> >
>



__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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