ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: max sample rate?

To:
Subject: Re: [ts-7000] Re: max sample rate?
From: Jim Jackson <>
Date: Fri, 12 Oct 2007 13:14:36 +0100 (BST)
Actually there is NO problem....

> now loading a 5V unipolar build of the module:
>
> echo "2" > /proc/driver/adc/frequency
> :adc-0.0.2# cat /dev/adc4
> 1042
> 1041
> 1041
> 1041
> 1041

a reading of 1041 on the 5v unipolar range is the voltage 1.27v
what you get as output is the integer count (unscaled) of the
ADC chip. So you have to scale it. Check the source for adc-logger to see
how it scales the output.

>
> :adc-0.0.2# cat /dev/adc6
> 1004
> 1005
> 1004
> 1005
> 1005

1005 = 1.23

>
> :adc-0.0.2# cat /dev/adc3
> 0
> 0
> 0
> 0
> 0

= 0v :-)

>
> :adc_logger#  ./adc_logger -T -f 3 -c 4 -p 500 -r 0 3 5 2
> 10:25:05 1.281 1.235 0.000
> 10:25:06 1.281 1.235 0.000
> 10:25:06 1.282 1.235 0.000
> 10:25:07 1.283 1.234 0.000

which sort of matches.

So all ok

Jim


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

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