ts-7000
[Top] [All Lists]

Re: [ts-7000] Precision Timing

To:
Subject: Re: [ts-7000] Precision Timing
From: Jim Jackson <>
Date: Sun, 20 Mar 2005 22:02:03 +0000 (GMT)


On Sun, 20 Mar 2005, noone_1983 wrote:

> Hey everyone,
>   I was wondering if anyone had any experience controlling hardware
> (in this case a servo) with the board that needed to have precision
> timing.  The signal I generate on the output pin has to be a very
> precisely timed series of pulses, and the nanosleep function just
> doesn't seem to cut it running on the board.  Any ideas?

This is Linux - Linux is not a realtime OS - so there are limits to what
it can do which might mean you can't do what you want to do - maybe :-)

You could have a go at changing the number of timer interrupts per sec.
You could maybe go at 1000/sec instead of 100.
And do some of your signal generation in the interrupt routine.
But then again that doesn't guarantee you anything - linux isn't an RT OS.

You need to define what your timing requirements are, what margin of error
you've got. What happens if, because interrupts are disabled for a longer
than normal period or something else, the signal you generate is no longer
accurate - can your hardware cope, can things be corrected?

If no then maybe use a PIC to do some dedicated signal generation and
timing.





 
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