I'm not sure I can answer the "reduce jitter" question, since I'm not sure
exactly what you're referring to as "jitter". As I said earlier, the jitter
in the PWM output, in the sense of what is the deviation of the actual
pulse-width / period from their nominal values is in the order of +/-0.01%.
So I find it hard to believe that this is actually something that you're
seeing and/or care about.
If you don't use the buffered version of PulseInput, you're forcing some
strict timing requirements on your Android app, which is not generally a
good idea. This means that every once in a while, if your Android app does
not read from the PulseInput fast enough, you'll miss a pulse.
In buffered mode, each and every captured pulse will wait for you until you
read it.


On Thu, Jun 26, 2014 at 7:09 PM, Pedro Ramon <[email protected]>
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.
>

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