1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. 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!
  3. 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
  4. 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

Ultraforce GS-4 DIY - Software

Discussion in 'DIY Motion Simulator Projects' started by Schluzu, Mar 7, 2014.

  1. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,431Coins
    Ratings:
    +1,684 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    Your more than welcome @Schluzu any mods needed to it go for it and republish it as a Gseat code modded by you.

    P.S I can help to mod it further if you require, but its pretty easy and @aarondc did place a good amount of comments in it too.

    How many servos are you running from one card, should be able to run up to 6 servo's.

    This could be taken a step further and use proper rc cards, but would require a custom app between SimTools and G Seat, mmm forget that you would have to write all the adjustment and setting into the app, but would be a cool way for newbies to setup instead of the clumsy Ard IDE.
  2. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,236
    Location:
    Marseille - FRANCE
    Balance:
    20,962Coins
    Ratings:
    +2,089 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Schluzu uses 2 arduinos to optimize the transfert of information from Simtools
    For 7€, the "baud rate" is doubled.

    @yobuddy : I'm wondering where could be the bottleneck in the configuration? Simtools / usb / arduino
    With 4 arduinos, linked to 4 interfaces: would actually Simtools send data 4 times quickier?
    Thks
    Mat :)
  3. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,431Coins
    Ratings:
    +1,684 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    Shouldn't be an issue I and others have controlled 6 servos on one Ard, speed is fine no notable lag in movements, The code posted in the first post is not very efficient hence my servo code which he has based parts from , which is fine, had been improved on greatly.
    Most Jrk users would feel lag or something like that if it was an issue in timing of multiply interfaces.
    Timings involved is with in the Ard code , not simtools. This is the trick in writing code for the Ard and both motion software's, you can set SimTools down to 10ms timings if your code is efficient enough to read it. Jrks run down there without issue, Ard should be able too, but personally I run mine at 20ms pid periods, very, very hard to physically feel a difference in motion.
    • Like Like x 1
    • Informative Informative x 1
  4. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,282
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,202Coins
    Ratings:
    +5,093 / 18 / -0
    Each interface uses its own thread, so it's able to loop over and over doing it's thing.
    So while each interface is more load on the PC, using multiple interfaces would be faster than using 1 interface and doing the same thing.
    yobuddy
    • Informative Informative x 2
  5. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,236
    Location:
    Marseille - FRANCE
    Balance:
    20,962Coins
    Ratings:
    +2,089 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Thanks @eaorobbie @yobuddy!

    With 3$ Mini Pro Arduino here: it is a good way to simplify and optimize transfert rate!

    _____________
    edit : these ones have no USB serial :-(
    Last edited: Apr 6, 2014
  6. Roadster2

    Roadster2 Member

    Joined:
    Apr 20, 2007
    Messages:
    170
    Location:
    UK
    Balance:
    1,194Coins
    Ratings:
    +42 / 2 / -0
    Hi Martin. In your wiring diagram that you kindly attached, can you confirm the signal names for the pin 8 and 9 connections - based on the attached pinout diagram - D8 and D9 ?
    (just want to make sure I don't screw anything up).
    Thanks

    Nano Pinout.jpg
    • Like Like x 1
    Last edited: Apr 6, 2014
  7. Roadster2

    Roadster2 Member

    Joined:
    Apr 20, 2007
    Messages:
    170
    Location:
    UK
    Balance:
    1,194Coins
    Ratings:
    +42 / 2 / -0
    Found a load more photo's of the GS-4 seat, some including dimensions. Also photo's of the servo's used - Hitec HS805-BB.

    http://www.ultraforcesim.com/pub/GS-4/Pictures/

    This is actually a sub-folder from the page linked to in the earlier post but one that I didn't notice when originally searching through the list.

    I see they use 8 x servo's on the base. Four on each plate and doubled up i.e. two servo's driving one actuator rod.
    Last edited: Apr 6, 2014
  8. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,431Coins
    Ratings:
    +1,684 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    You can easily change the pin names in the code to where you have the signal wire hooked in, its all changeable.
    • Like Like x 1
  9. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,236
    Location:
    Marseille - FRANCE
    Balance:
    20,962Coins
    Ratings:
    +2,089 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
  10. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,431Coins
    Ratings:
    +1,684 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    @RacingMat , yes totally agree, instead of trying to save a buck use the UNO , or even a bigger one so you can use one card to control all,
    I can control up to 12 servos, well multiplys of 6 with one single UNO, Its actually quite easy.
    • Informative Informative x 1
  11. Schluzu

    Schluzu New Member

    Joined:
    Mar 5, 2014
    Messages:
    27
    Balance:
    37Coins
    Ratings:
    +23 / 0 / -0
    My Motion Simulator:
    Arduino, 6DOF
    hi guys,

    please dont be angree, concerning silence.
    in the last time i have a lot of familiar problems (death/heart-attack,.....) so i do not spend any
    time on the seat or here, if this circumstances change, i will be present.

    gl 2 all
  12. ferslash

    ferslash Active Member

    Joined:
    Feb 8, 2011
    Messages:
    495
    Balance:
    4,798Coins
    Ratings:
    +181 / 2 / -0
    man, i hope everything is getting better.
  13. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,236
    Location:
    Marseille - FRANCE
    Balance:
    20,962Coins
    Ratings:
    +2,089 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Best wishes! and come back soon :)
  14. Schluzu

    Schluzu New Member

    Joined:
    Mar 5, 2014
    Messages:
    27
    Balance:
    37Coins
    Ratings:
    +23 / 0 / -0
    My Motion Simulator:
    Arduino, 6DOF
    Hello fellas!


    I'm back with changes on the seat.
    The bottom-plates are history - long sessions on the butt hurts more and more - I moved them to the sides to get pressure on my upper legs and save 2 servos as well. The back-plates are also updated. I get much more feeling in the longitudinal and transverse directions , therefor i loose the heave axis, but thats no problem for me. photos will follow tonight - currently i´m seating in the office.

    cu
  15. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,236
    Location:
    Marseille - FRANCE
    Balance:
    20,962Coins
    Ratings:
    +2,089 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Good news!
    We wait for update details and picture of course! :D

    Interesting: you're getting closer to gekosystems... rather than GS4
  16. RiftFlyer

    RiftFlyer Active Member Gold Contributor

    Joined:
    Apr 15, 2014
    Messages:
    198
    Balance:
    1,711Coins
    Ratings:
    +121 / 0 / -0
    My Motion Simulator:
    DC motor
    Glad you are back. Hope all is well. Looking forward to seeing pictures
  17. Roadster2

    Roadster2 Member

    Joined:
    Apr 20, 2007
    Messages:
    170
    Location:
    UK
    Balance:
    1,194Coins
    Ratings:
    +42 / 2 / -0
    Nice to see you back. I pickup my second-hand Kirkey seat next week so will be interested to see your changes before I get started.
  18. Schluzu

    Schluzu New Member

    Joined:
    Mar 5, 2014
    Messages:
    27
    Balance:
    37Coins
    Ratings:
    +23 / 0 / -0
    My Motion Simulator:
    Arduino, 6DOF
    Hi guys

    so as promised, the photos and a short video

    NOTE this is a Beta-Version, if i satisfied with it i will posh th seat up.
    IMG_0008.JPG IMG_0008axis.jpg IMG_0009.JPG IMG_0010.JPG



    greetings
    • Like Like x 6
    • Informative Informative x 1
  19. berty

    berty Member

    Joined:
    Sep 10, 2014
    Messages:
    72
    Balance:
    164Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    Arduino
    Hi,
    so that when I want to control 6 servos What code do I put in the arduino?
  20. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,431Coins
    Ratings:
    +1,684 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    I have an RC Model code in the resource section , more axis can be added into this very easily and its all open source.
    @Historiker had built a model and extended this code, not sure if he shared it back thou.
    • Like Like x 1