1. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  2. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  3. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Question 2DOF RC servos harness tensioner with PT Mover

Discussion in 'DIY Motion Simulator Projects' started by RacingMat, Nov 20, 2020.

  1. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,094
    Location:
    Marseille - FRANCE
    Balance:
    19,092Coins
    Ratings:
    +1,974 / 20 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hi!

    Here is my work in progress (nearly finished hopefully):

    principle:
    2 DOF harness -> the strength on the right shoulder and left shoulder will be different

    both will react along Surge (longitudinal acceleration)
    and Sway (lateral acceleration) will tight one shoulder or the other (depending on left turn or right turn)
    (maybe later add some heave information?)

    harness : 5 points
    the 5th will prevent the harness to move up hence we'll have actually some tension (vs movement)!

    actuators:
    RC servos 35kg.cm (5V to 8,3V)
    PSU @7,3V

    arduino:
    code for 4 servos as I want to combine the harness and the pressure bladders also RC servo driven.

    software:
    PT mover from @pmvcda :thumbs
  2. Ads Master

    Ads Master

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
  3. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,094
    Location:
    Marseille - FRANCE
    Balance:
    19,092Coins
    Ratings:
    +1,974 / 20 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    here is the prototype board
    components are glued with hot glue. A good way to prevent short-circuits...
    racingMat harness (2).jpg

    1/ before all, move the servo without anything mounted on it:
    mark the way the servo goes from 0 to full
    and mark the middle position.
    Useful to prevent any damage, and to mount it the right way at the first try ;)
    racingMat harness (3).jpg racingMat harness (4).jpg

    2/ in place, use T-raps to link the harness and the servos
    Quickly done! and nice mechanical fuse by the way
    racingMat harness (1).jpg
    • Like Like x 2
    Last edited: Nov 20, 2020
  4. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,094
    Location:
    Marseille - FRANCE
    Balance:
    19,092Coins
    Ratings:
    +1,974 / 20 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Serial Setup:
    PTMover send 1 byte in binary (value from 0 to 255) for each Rig Key
    @8 bits, 115200 bauds
    I followed the example Output String: <255><255><LeftBelt><RightBelt>

    To find the beginning of the serial output string, it's advised to look for 2 following 255.
    After some trials, it appears that some times (when clipping) 2 axis are @255 and the serial is badly read.

    I'm ready to loose a little range by constraining the output value between 0 and 254
    in order to free the 255 value and be sure it'll be unique.
    But in the RIG windows, CROP(Value, 0,254) or REMAP(Value, 0,255,0,254) doesn't work... I still have 255 value outputed in serial. :confused:

    Can you advice me @pmvcda, please? I post the screen shots in the following message :)
    Last edited: Nov 20, 2020
  5. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,094
    Location:
    Marseille - FRANCE
    Balance:
    19,092Coins
    Ratings:
    +1,974 / 20 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    PT Mover:

    Here is a video showing step by step how I drive the 2 DOF belt with Fly PTmover:

    Attached Files:

    • Informative Informative x 1
    Last edited: Nov 26, 2020 at 10:13
  6. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,094
    Location:
    Marseille - FRANCE
    Balance:
    19,092Coins
    Ratings:
    +1,974 / 20 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
  7. pmvcda

    pmvcda aka FlyPT

    Joined:
    Nov 3, 2010
    Messages:
    1,403
    Location:
    Portugal
    Balance:
    10,921Coins
    Ratings:
    +1,467 / 13 / -0
    My Motion Simulator:
    6DOF

    Why use the pose?
    For seat belts, directs are enough.
    upload_2020-11-21_7-16-34.png
    Create one for each seat belt
    Put 8 bits (0 to 255)
    Value range to bit range is what values you want to map to the 256 bit values.
    I used -10 m/s^2 acceleration is bit 255
    4 m/s^2 is bit 0
    Default value is zero.
    I use negative values here, so on acceleration you would feel the belt loosing, but not so much as we have in braking.

    Now crop the value to ensure you don't get 255.
    Since 255 is achieved at value -4, I used 3.99 in the crop.
    So the resulting bit never reaches 255.

    I have bee making changes in the code. And made some small ones in the directs. I think what I say is working. But I remember that 10 to -4 might not work. You might have to use -4 to 10.
    The image is the build I'm working on. That is now corrected.

    Also, use the multi direct. The simple direct might disappear soon, there's no reason to exist.

    EDIT:
    Note acceleration is positive values
    Braking negative
    So I might have swapped the values. Should be between -10 and +4.
    It all depends on what is bit 255 and bit 0 mechanically
    • Informative Informative x 1
    • Useful Useful x 1
  8. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    15,804
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    115,446Coins
    Ratings:
    +9,228 / 46 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  9. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,094
    Location:
    Marseille - FRANCE
    Balance:
    19,092Coins
    Ratings:
    +1,974 / 20 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Bingo! It works like a charm:thumbs
    Here is a video showing step by step how I drive the 2 DOF belt with Fly PTmover:



    thanks @pmvcda
    • Like Like x 1
    Last edited: Nov 25, 2020 at 10:06