Attempting to read 3x R/C servo pulses.


Results 1 to 5 of 5

Threaded View

  1. #2
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Hello Peter, looks like you are progressing very well. I think your prognosis is right on the nose. In my opinion, interrupts are the way to go. I think the servo's are not at full torque because they do not get fed their pulses at the regular intervals that they need.

    Here is an example of someone using code similar to yours, but only using one input and output: http://www.picbasic.co.uk/forum/show...4056#post84056

    And here is Darrel's 2 servo interrupt based output example: http://www.picbasic.co.uk/forum/show...1993#post81993

    And here is my interrupt based input/output for up to 5 ch inputs, and 4 ch outputs. Only problem is that it does not seem to be compatible with some receivers. http://www.scalerobotics.com/stamps/84-projects/pwm/71-pwm-passthrough.html And there is also a problem with signals that are longer than 2ms, so trims might have to be adjusted accordingly, and a scope helps.
    Last edited by ScaleRobotics; - 11th October 2011 at 05:07.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts