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

Question Pneumatic G Seat

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

Tags:
  1. Turbo Tim

    Turbo Tim Member

    Joined:
    Dec 26, 2021
    Messages:
    38
    Balance:
    159Coins
    Ratings:
    +27 / 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. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,527
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,986Coins
    Ratings:
    +10,774 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    • Like Like x 1
  3. Turbo Tim

    Turbo Tim Member

    Joined:
    Dec 26, 2021
    Messages:
    38
    Balance:
    159Coins
    Ratings:
    +27 / 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
  4. Turbo Tim

    Turbo Tim Member

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

    Turbo Tim Member

    Joined:
    Dec 26, 2021
    Messages:
    38
    Balance:
    159Coins
    Ratings:
    +27 / 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!
  6. seuszok

    seuszok Member Gold Contributor

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

    Turbo Tim Member

    Joined:
    Dec 26, 2021
    Messages:
    38
    Balance:
    159Coins
    Ratings:
    +27 / 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.
  8. MarkusB

    MarkusB Well-Known Member Gold Contributor

    Joined:
    Jun 30, 2015
    Messages:
    552
    Location:
    Germany
    Balance:
    4,212Coins
    Ratings:
    +594 / 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
  9. MarkusB

    MarkusB Well-Known Member Gold Contributor

    Joined:
    Jun 30, 2015
    Messages:
    552
    Location:
    Germany
    Balance:
    4,212Coins
    Ratings:
    +594 / 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
  10. Turbo Tim

    Turbo Tim Member

    Joined:
    Dec 26, 2021
    Messages:
    38
    Balance:
    159Coins
    Ratings:
    +27 / 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
  11. Turbo Tim

    Turbo Tim Member

    Joined:
    Dec 26, 2021
    Messages:
    38
    Balance:
    159Coins
    Ratings:
    +27 / 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
  12. Turbo Tim

    Turbo Tim Member

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

    Turbo Tim Member

    Joined:
    Dec 26, 2021
    Messages:
    38
    Balance:
    159Coins
    Ratings:
    +27 / 0 / -0
    My Motion Simulator:
    Arduino
  14. Turbo Tim

    Turbo Tim Member

    Joined:
    Dec 26, 2021
    Messages:
    38
    Balance:
    159Coins
    Ratings:
    +27 / 0 / -0
    My Motion Simulator:
    Arduino
  15. Turbo Tim

    Turbo Tim Member

    Joined:
    Dec 26, 2021
    Messages:
    38
    Balance:
    159Coins
    Ratings:
    +27 / 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.
  16. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,527
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,986Coins
    Ratings:
    +10,774 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Interface settings for @eaorobbie's code should be like this, with your Com Port set:

    [​IMG]
  17. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,234
    Location:
    Marseille - FRANCE
    Balance:
    20,890Coins
    Ratings:
    +2,083 / 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
  18. Turbo Tim

    Turbo Tim Member

    Joined:
    Dec 26, 2021
    Messages:
    38
    Balance:
    159Coins
    Ratings:
    +27 / 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
  19. Turbo Tim

    Turbo Tim Member

    Joined:
    Dec 26, 2021
    Messages:
    38
    Balance:
    159Coins
    Ratings:
    +27 / 0 / -0
    My Motion Simulator:
    Arduino
  20. RacingMat

    RacingMat Well-Known Member Gold Contributor

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