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

Arduino - DIY GS-4 Seat

Discussion in 'DIY Motion Simulator Projects' started by Roadster2, Apr 4, 2014.

  1. telfel

    telfel Active Member

    Joined:
    Feb 16, 2011
    Messages:
    170
    Balance:
    4,736Coins
    Ratings:
    +118 / 3 / -0
    Hi @RacingMat

    In a real car
    accelerate_back is pushed into seat, belt shoulder straps go slack, brake_pressure on back reduces, belts go tight

    In sim seat
    accelerate_back paddles move forward push into back, which would cause the belt to tighten, hence let belt go slack to simulate real world.

    brake_back paddles move back reducing pressure on back, belt would go slack, so tighten belt

    regards Terry
  2. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,236
    Location:
    Marseille - FRANCE
    Balance:
    20,975Coins
    Ratings:
    +2,089 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Oh, I see what you mean...
    Maybe @Schluzu could tell us if it's feeling like this actually in his Gseat?
  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,440Coins
    Ratings:
    +1,684 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    mmmm You are correct for a real car except when running as a seat mover on accel the seat should pitch backwards sharp and short, giving you the feeling that you have actually thrust forwards, its about fooling the brain. And when you brake the chair pitchs forwards. This also rings true when using belts on a sim.
    We do the same effects for Sway, because our simulators don't actually move side ways and forwards and backwards we need to emulate this with very slight and sharp movements in the opposite directions, which fools the brain into thinking we actually moved in a flat plane.
    I would suggest trying both methods, we all are different and SimTools allows us to setup the way we like or feel is correct.
    • Agree Agree x 1
  4. Roadster2

    Roadster2 Member

    Joined:
    Apr 20, 2007
    Messages:
    170
    Location:
    UK
    Balance:
    1,194Coins
    Ratings:
    +42 / 2 / -0
    Hi @eaorobbie. I have a couple of the Turnigy S8166M servo's here now. Is there a Sketch available for the Nano that will allow me test the servo, possibly just sweep backwards and forwards or to sweep on each press of a key ?
  5. 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,440Coins
    Ratings:
    +1,684 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    Yea my model sketch will should work with the nano , as long as the signal wires are connected to output pins 3 and 4.
    Ok if you can provide where you have connected the signal pins from servo I can show you which parts to change , or happy to do it for you.

    You can connect the nano to the expansion card and signal wire from servo goes to D3 and D4.
    The board with 5v/6v depending on servo, plugged in looks like the jumper can be set to either draw power from the socket or the Nano. I would first test with just the nano and expansion, but feel it will need an external power supply to cope with the number of servos.

    Any details on expansion card, having troubles finding it, I normally build my own pcb for Ard to sit on. But details on theres and I can change the code to suit for you and others.
    Last edited: Apr 15, 2014
  6. Roadster2

    Roadster2 Member

    Joined:
    Apr 20, 2007
    Messages:
    170
    Location:
    UK
    Balance:
    1,194Coins
    Ratings:
    +42 / 2 / -0
    Hi. Thanks for that. I'll connect the servo's to D3 and D4 as suggested so that it shouldn't require any changes. Running the Model sketch as it is I assume that I will have to install and run the Simtools software and run a sim in order to get the servo's to move ? (or is there a way of testing the movement simply by running the sketch ?)
    Thanks
  7. 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,440Coins
    Ratings:
    +1,684 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    @Roadster2 you can drive the Ard from the Ard IDE - Serial Monitor.
    Set the baud rate at 9600
    Commands to move is RxxxLxxx where R is the right servo and L is the left servo and xxx is 0 - 255.
    • Like Like x 1