Pedro,

I'm not sure if you're still working on this, but I've worked on doing 
exactly what you are doing. Two things:

1) What sort of power supply are you using? I had to stop using a power 
supply plugged into the wall because it couldn't keep a stable 5V rail when 
the servo(s) started moving quickly. The servos will still attempt to work 
even with less than 5V but performance will suffer and that's one place a 
saw in intermittent jitter. 

2) If you are sleeping your loop() method too long, the servo performance 
will appear delayed and jitter. For example, with a sleep(50), there will 
be a noticeable "coarseness" to the servo movement, but sleep(10) should 
make it smooth again! 

Hope that helps!

Tyler

On Thursday, June 26, 2014 9:09:54 PM UTC-5, Pedro Ramon wrote:
>
> Well, the problem was solved, i just reconnect the wires of the receiver 
> and the jitter was fixed. I don't know why lol
> Is there any advantage in using the buffered Pulse Input for reducing 
> jitter?
> Thank you Ytai
>
> Em quinta-feira, 26 de junho de 2014 08h36min22s UTC-7, Ytai escreveu:
>>
>> The PWM output signal does not in itself introduce any (significant) 
>> jitter. It is either coming from your software or from whatever electronics 
>> you have past the output. Try to change the software so that it just sends 
>> out a constant value to figure out where the problem is.
>> Is it possible that your PPM decoder sometimes glitches? Are you using 
>> the buffered version of PulseInput?
>>
>>
>> On Thu, Jun 26, 2014 at 3:53 AM, Pedro Ramon <[email protected]> wrote:
>>
>>> Hi!
>>> I did a android program who uses the pulse input function to get the 
>>> pulse width from a RC Receiver, and after that, outputs a PWM varying from 
>>> 0 to 100% depending on the width of the receiver output(its pulse width).
>>> The program seems to read the correct pulse width, but the PWM output is 
>>> jittering a lot, as if it had some noise.
>>> This PWM output passes through a RC Filter to be a analog output, but 
>>> the signal is too coarse, because of the jitter.
>>> How can i remove this jitter?
>>> Thank you!
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "ioio-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/ioio-users.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to