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 Pneumatic G Seat

Discussion in 'DIY Motion Simulator Projects' started by Turbo Tim, Dec 29, 2021.

Tags:
  1. Turbo Tim

    Turbo Tim Member Gold Contributor

    Joined:
    Dec 26, 2021
    Messages:
    34
    Balance:
    184Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    Arduino
    Hi guys. I am starting to build a pneumatic g seat. I have ordered a couple of arduino unos, servos and bladders to get me started. I have a static sim pit so thought this would be a good start as a first project. I have loaded and altered code to arduino before for button boxes etc. However i have no idea what the code should be for this project. Apologies if it is on the forum and I havent found it. Does anyone have sample code that would get me started. Many thanks.
  2. Ads Master

    Ads Master

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

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    17,543
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    126,408Coins
    Ratings:
    +9,886 / 47 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    • Like Like x 1
  4. Turbo Tim

    Turbo Tim Member Gold Contributor

    Joined:
    Dec 26, 2021
    Messages:
    34
    Balance:
    184Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    Arduino
    I see there seem to be 2 main approaches to a g seat.
    a. Paddles behind and below the seat driven by actuators/ servos.
    b. Inflatable bladder operated by another bladder which is squeezed by a servo.

    Has anyone tried a hybrid solution were the paddles would be moved by a bladder behind them. Bladder inflated as per option b. Think it might give a better feel.
    Interested in your opinion. Cheers
  5. Turbo Tim

    Turbo Tim Member Gold Contributor

    Joined:
    Dec 26, 2021
    Messages:
    34
    Balance:
    184Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    Arduino
    Thanks noorbeast for pointing me in the right direction.
    • Like Like x 1
  6. Turbo Tim

    Turbo Tim Member Gold Contributor

    Joined:
    Dec 26, 2021
    Messages:
    34
    Balance:
    184Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    Arduino
    Quick question guys. Arduino, power supply and a 35 kg servo have arrived. I am going to connect the positive and ground from the servo straight to the power supply. Then tie the ground from the power supply to the arduino. Then the signal wire from the servo goes to the arduino board. Am I correct that the power supply does not go through the Arduino uno power socket. Thanks in advance would hate to blow something up on day one!
  7. seuszok

    seuszok Member Gold Contributor

    Joined:
    Nov 8, 2021
    Messages:
    54
    Location:
    Poland
    Balance:
    245Coins
    Ratings:
    +31 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform
  8. Turbo Tim

    Turbo Tim Member Gold Contributor

    Joined:
    Dec 26, 2021
    Messages:
    34
    Balance:
    184Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    Arduino
    Hi Seuszok
    Thanks for coming back to me. I have a small amount of experience with arduino, building button boxes with pots and rotary controllers etc. I am using small servos so no motor controllers. Starting with a simple project to build my experience.
  9. MarkusB

    MarkusB Well-Known Member Gold Contributor

    Joined:
    Jun 30, 2015
    Messages:
    542
    Location:
    Germany
    Balance:
    4,102Coins
    Ratings:
    +561 / 2 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    Hi @Turbo Tim ,
    the ground connection of the servo power supply needs to be connected to the Arduino ground, but the positive power cable only goes to the servo and not to the Arduino.
    The following picture (taken from here: https://forum.arduino.cc/t/servo-external-power/468635/2) shows the wiring.
    Arduino_Servo_ExtPower.jpeg

    On my previous rig, I controlled up to 10 servos with a single Arduino, some of them supplied with 6V and others with 24V.

    Here are some related forum links: https://www.xsimulator.net/community/faq/how-to-drive-rc-servo-with-arduino-and-simtools.30/
    • Informative Informative x 1
  10. MarkusB

    MarkusB Well-Known Member Gold Contributor

    Joined:
    Jun 30, 2015
    Messages:
    542
    Location:
    Germany
    Balance:
    4,102Coins
    Ratings:
    +561 / 2 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    If you want to use paddles, I recommend connecting them directly to the servos instead of taking the indirect way via a bladder that in turn moves the paddle. The direct connection gives you more accurate feedback.

    The advantage of bladders is that you can easily position them anywhere you need them, like under your thighs or behind your back.
    • Agree Agree x 2
  11. Turbo Tim

    Turbo Tim Member Gold Contributor

    Joined:
    Dec 26, 2021
    Messages:
    34
    Balance:
    184Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    Arduino
    Thanks Marcus for the information and feedback. I have read many of your posts around gseats etc all great info. Think I will go with just bladders for now. I want to keep this project as simple as possible to ensure some success and introduce me to the concepts and software. Its great having this community to help and advise.
    • Like Like x 1
  12. Turbo Tim

    Turbo Tim Member Gold Contributor

    Joined:
    Dec 26, 2021
    Messages:
    34
    Balance:
    184Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    Arduino
    DC97EEAB-FF80-4AF7-A9CA-671C4AFEADD6.jpeg

    I have mocked up what am trying to do with micro servos. The next stage is to try and test if I can get some movement using simtools. Am i correct in assuming i should be able to move the servos from the output testing screen in the game engine? I will attach some screen shots of EAOROBBIE arduino code I am using plus settings in simtools. Cheers guys
  13. Turbo Tim

    Turbo Tim Member Gold Contributor

    Joined:
    Dec 26, 2021
    Messages:
    34
    Balance:
    184Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    Arduino
    upload_2022-1-4_14-14-37.png
  14. Turbo Tim

    Turbo Tim Member Gold Contributor

    Joined:
    Dec 26, 2021
    Messages:
    34
    Balance:
    184Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    Arduino
  15. Turbo Tim

    Turbo Tim Member Gold Contributor

    Joined:
    Dec 26, 2021
    Messages:
    34
    Balance:
    184Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    Arduino
  16. Turbo Tim

    Turbo Tim Member Gold Contributor

    Joined:
    Dec 26, 2021
    Messages:
    34
    Balance:
    184Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    Arduino
    I know the code is for 2 servos and i am using 4 however they connected to 2 pins. I assume this should be OK.
  17. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    17,543
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    126,408Coins
    Ratings:
    +9,886 / 47 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Interface settings for @eaorobbie's code should be like this, with your Com Port set:

    [​IMG]
  18. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,226
    Location:
    Marseille - FRANCE
    Balance:
    20,305Coins
    Ratings:
    +2,068 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    yes here are a good wiring and a bad one ;)

    racigmat servo wiring bad good.png
  19. Turbo Tim

    Turbo Tim Member Gold Contributor

    Joined:
    Dec 26, 2021
    Messages:
    34
    Balance:
    184Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    Arduino
    Thanks Racing Mat for confirming my wiring is correct. Result noorbeast, that fixed it. Never been so happy to see a servo move. I had read through the simtools user guide but had not understood how to relate the code to the settings in simtools. Very happy to be moving forward. Thanks again guys. Legends
    • Like Like x 1
  20. Turbo Tim

    Turbo Tim Member Gold Contributor

    Joined:
    Dec 26, 2021
    Messages:
    34
    Balance:
    184Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    Arduino
  21. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,226
    Location:
    Marseille - FRANCE
    Balance:
    20,305Coins
    Ratings:
    +2,068 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Last edited: Jan 6, 2022