Page 7 of 8 FirstFirst ... 345678 LastLast
Results 61 to 70 of 72
  1. #61
    500+ This must be a daytime job



    Join Date
    Jul 2013
    Posts
    917
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Opencockpits USB servo card

    Bill

    Well done, on to the next challenge then

    David

  2. #62
    25+ Posting Member Rockeyes's Avatar
    Join Date
    Apr 2010
    Location
    Nr Royston UK
    Posts
    58
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Opencockpits USB servo card

    The next challenge !

    Whilst I work on my simultaneous equations for calibrating the instrument (Baron58 link), I am wondering how to reverse the servo rotation through the software. The problem, due to the servo fit and gearing used the roll is working in the wrong direction

  3. #63
    500+ This must be a daytime job



    Join Date
    Jul 2013
    Posts
    917
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Opencockpits USB servo card

    Offhand, I would reverse the values on the servo sioc command line for posL to 1023 and posR to 1

    Stand to be corrected though Watch the servo for stall, though I doubt this would happen as I think that the servo does not know left from right - it is just the range of values

  4. #64
    25+ Posting Member Rockeyes's Avatar
    Join Date
    Apr 2010
    Location
    Nr Royston UK
    Posts
    58
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Opencockpits USB servo card

    Sorry for the late reply, this volcanic cloud amongst other things has been keeping me busy.

    I also thought that reversing the values might do it, but unfortunately not.

    As the servo is so small, a modification to its standard direction of travel by swapping over its motor and pot wires was not an option. I've settled for an in-line servo reverser from the local model shop which at the moment seems to be working fine, although an expensive solution.

  5. #65
    500+ This must be a daytime job



    Join Date
    Jul 2013
    Posts
    917
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Opencockpits USB servo card

    Bill

    Glad you got it fixed! Next time perhaps try tinkering with the code - it should be cheaper. In the programme calcs,
    try multiplying with negative numbers or take away the answer from 1024. In the latter case a previous value of 1024 becomes 0 and vice versa. There is a simple coding answer, but you need to get your feet wet

    David

  6. #66
    500+ This must be a daytime job 737NUT's Avatar
    Join Date
    Feb 2006
    Location
    Indianapolis, IN
    Posts
    761
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Opencockpits USB servo card

    Quote Originally Posted by fordgt40 View Post
    Bill

    Glad you got it fixed! Next time perhaps try tinkering with the code - it should be cheaper. In the programme calcs,
    try multiplying with negative numbers or take away the answer from 1024. In the latter case a previous value of 1024 becomes 0 and vice versa. There is a simple coding answer, but you need to get your feet wet

    David
    Yes, you are correct. Simple math in the code for sioc, But he isn't ready for that step yet. Baby steps.

  7. #67
    25+ Posting Member Rockeyes's Avatar
    Join Date
    Apr 2010
    Location
    Nr Royston UK
    Posts
    58
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Opencockpits USB servo card

    So there is the gauntlet being firmly laid down

  8. #68
    500+ This must be a daytime job



    Join Date
    Jul 2013
    Posts
    917
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Opencockpits USB servo card

    No Gain without Pain

  9. #69
    25+ Posting Member Rockeyes's Avatar
    Join Date
    Apr 2010
    Location
    Nr Royston UK
    Posts
    58
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Opencockpits USB servo card


  10. #70
    500+ This must be a daytime job



    Join Date
    Jul 2013
    Posts
    917
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Opencockpits USB servo card

    Bill

    Take a bow and open a can of beer! Well done sir, it looks great - now onto greater things

    David

Page 7 of 8 FirstFirst ... 345678 LastLast

Similar Threads

  1. OpenCockpits Servo Controller Board (with 2 x servos)
    By cjellwood in forum Off Site Articles For Sale
    Replies: 0
    Last Post: 09-11-2010, 08:36 AM
  2. Servo Motor Card from Opencockpits
    By Oter3 in forum OpenCockpits General Discussion
    Replies: 2
    Last Post: 08-02-2009, 08:42 PM
  3. Servo motor card...interesting
    By barkay in forum OpenCockpits General Discussion
    Replies: 0
    Last Post: 05-25-2009, 01:51 AM
  4. How many steps does the servo card do?
    By 737NUT in forum Phidgets & Cockpit Simulator Builder
    Replies: 3
    Last Post: 05-13-2008, 09:24 PM