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

IKEA 1.5 DOF Ultra comfort

Discussion in 'DIY Motion Simulator Projects' started by pOmmi, Jul 1, 2014.

  1. pOmmi

    pOmmi New Member

    Joined:
    Mar 4, 2014
    Messages:
    26
    Balance:
    624Coins
    Ratings:
    +29 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    I ws not working on it this summer,
    Winter is coming so I'll have more time for this one.

    I have some ideas to remove pots. But first I need to understand arduino code (given by all you guys), I do it step by step. And when I'll know how to manage everything, I will build my own algorythm.

    Maybe in few months :( !
    I'll keep in touch
    • Friendly Friendly x 1
    • Optimistic Optimistic x 1
  2. pOmmi

    pOmmi New Member

    Joined:
    Mar 4, 2014
    Messages:
    26
    Balance:
    624Coins
    Ratings:
    +29 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    Some news for this little one :

    Today, I did write a 1DOF Arduino code that use time increments (based on arduino microproc. frequency) instead of using potentiometers. As you can see on the video, I still have pots on the seat but they are disconnected.

    I mainly used RacingMat_2DOF_Arduino_code.ino from @RacingMat wich I modified a lot.

    Of course this algorithm is far from being perfect, and the main issue is that it is more difficult for the motors to push forward the seat (when breaking the car for example) (although i'm not so fat, as you can see on the video ;) ) than to pull it back (for accelerations).

    Right now, this algorithm take the target value from SimTools (i.e game data like surge or pitch) and transforms it to a target increment position, this is why I have to check how many increments the seat take to go from 0 to 1024 on the picture below. This is what is called incrMaxRange in the arduino code, and it depends of the baudrate you choose (9600 in my case) :
    int incrMaxRange=5000; // max time increment range

    [​IMG]

    This code would probably work fine with a motion seat with bigger motors (or motors less stressed).

    Actually with this installation I cannot improve this code, because my power supply stop working after some movements. This is what shows the video just below :



    The first idea to improve this code is to differentiate incrMaxRange variable for pushing forward movement and for pull back movement.
    2nd idea is to add a non-linear algorithm that will correct this motor stress issue.

    So... yes... this is a complete failure, and I will certainly go for a "classic" 2DOF seat. But I keep in touch with this NO-POTS code :) because POTS are hell !
    At least, I will look after a robust system positions sensor (home made) !

    PS : In this set-up, incrMaxRange also depends on the mass of the driver ;)
    On classic 2DOF set-ups (like the one on tutorials) does the stress on push or pulling-back changes a lot ?

    PS2 : Sorry I'm not able to add the arduino code in download section or into this thread ("The uploaded file does not have an allowed extension" for .ino or .rar)
    • Like Like x 2
    • Informative Informative x 1
    Last edited: Dec 30, 2014
  3. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,460
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,596Coins
    Ratings:
    +10,741 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Interesting experimentation @pOmmi.

    Did you try a zip format for upload, as most plugins are in that format.
  4. michto35

    michto35 Member

    Joined:
    Jan 31, 2014
    Messages:
    97
    Location:
    france
    Balance:
    102Coins
    Ratings:
    +52 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    have you got a video of your simulator of car games or plane?
  5. SilentChill

    SilentChill Problem Maker

    Joined:
    Jul 19, 2014
    Messages:
    2,619
    Occupation:
    Railway Maintenance
    Location:
    Morecambe, Lancashire, England
    Balance:
    20,395Coins
    Ratings:
    +3,480 / 34 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    Pretty cool @pOmmi if you can pull it off.

    Pots are a bit of a problem but not so much with the hall effect ones they are damn good :)

    I look forward to your progress
  6. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,233
    Location:
    Marseille - FRANCE
    Balance:
    20,875Coins
    Ratings:
    +2,079 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    you're trying to use the motor as a servo-motor?
    indeed, as you said, you will end by loosing the reference due to stresses...

    if you dislike pots, you could try using a hall sensor pot: stopless and contactless ;)
  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,390Coins
    Ratings:
    +1,683 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    @pOmmi an out of the square concept, well done.

    You can use WinRAR or any compression program , Win7 you can send it to a compressed folder. Then you will be able to upload your code here and share it.

    I think using a cheap photo emitter encoder with 1024 steps in it might be a nice way of controlling position and valid points above to think about.

    Thanks for the update.
  8. pOmmi

    pOmmi New Member

    Joined:
    Mar 4, 2014
    Messages:
    26
    Balance:
    624Coins
    Ratings:
    +29 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    Ok, after some few tests I was abble to run the motion seat without power supply failures.

    First of all, here is the arduino code (thx @noorbeast et @eaorobbie *.zip was the good format)

    Then the video ( @michto35 here it is ) :

    The game is Assetto Corsa on mp4 12c gt3 at Imola.

    In order to make it run, what I had to do is to set a big amount of Smoothing and Boundry filters.
    [​IMG]

    Here are SimTools Game Engine Interface Settings :
    [​IMG]

    This gives a not at all nervous motion seat, but main goal was to make something cheap and VERY COMFORTABLE.
    So this is a 1DOF very smooth simulator, and you will not have to change pots or other critical items ;)

    @RacingMat @SilentChill can you give me ref. for a hall sensor ? what's the average price for these ones ?

    @eaorobbie , Yes maybe this kind of system is a great idea :
    [​IMG]
    • Winner Winner x 2
    • Like Like x 1
  9. michto35

    michto35 Member

    Joined:
    Jan 31, 2014
    Messages:
    97
    Location:
    france
    Balance:
    102Coins
    Ratings:
    +52 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Thank you for the video, you'll add a lateral effect?
    your idea is very cool :thumbs
  10. pOmmi

    pOmmi New Member

    Joined:
    Mar 4, 2014
    Messages:
    26
    Balance:
    624Coins
    Ratings:
    +29 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    Not in a near future :)
  11. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,233
    Location:
    Marseille - FRANCE
    Balance:
    20,875Coins
    Ratings:
    +2,079 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
  12. prodigy

    prodigy Burning revs

    Joined:
    Oct 27, 2013
    Messages:
    459
    Location:
    Croatia
    Balance:
    6,698Coins
    Ratings:
    +399 / 4 / -0
    My Motion Simulator:
    2DOF, 3DOF, AC motor, SCN5, JRK
    The smoothing really slowed it down. Otherwise, really great sim idea :grin
  13. Simulaughter

    Simulaughter New Member

    Joined:
    Jan 3, 2015
    Messages:
    9
    Balance:
    336Coins
    Ratings:
    +3 / 0 / -0
    Wow, I couldn't stop laughing. I am so sorry. I just can't imaging getting a back massage while driving. I would fall asleep on the wheel. That is way to comfy for driving.
  14. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    @pOmmi , Nice job there
    I agree the filters have slowed things down, also it looks like you have not set the directions of the motors correctly. I see no leaning of the seat into corners.
    @Pit has a profile writing document, I suggest you have a look at it and spend time working with the profiles with nbo filters. You may be surprised at the end result
  15. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,409Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    surge works not bad although too slow. I would like to see sway as well. Using heave probably the psu and the motors are too weak.
  16. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    as good as the concept is, I think it still needs to be properly balanced on a pivot to be effective.
    Chairs like that have strength to support an adult, but not really designed for a sim.
  17. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,409Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    @bsft you are in the right, but the idea (or should I say Ikea?) is outstanding. You know, if someone is going to do something, then he should do it. Or in my own words: Operation successful, patient dead. This is not meant negatively. But the reality and the physics are pitiless (putting the emphasis on "Pit", lol)
    • Agree Agree x 4
  18. pOmmi

    pOmmi New Member

    Joined:
    Mar 4, 2014
    Messages:
    26
    Balance:
    624Coins
    Ratings:
    +29 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    @bsft
    This is a 1DOF code ;) meaning there is only 1 axis movement.


    @Pit
    Thx ;)


    @RacingMat
    I did play some hours until now, on other games (rFactor2, Elite Dangerous), and I'm very surprised by the accuracy of the code ! After several laps on a track the "reference" (when there are no movements) doesn't move !
    What happens exactly, is that the "reference" moves to the "center point" of the whole system at the very beginning (with few movements) :
    [​IMG]
    And then it doesn't move at all, even after several laps on a track.

    At the start, if the "reference" is at the exact place of the "center point", you will see no modifications over time.

    Big issue rigth now is the power supply :(

    As I'm surprised by the accuracy, maybe I'll write a 2DOF arduino code in few weeks.
    • Like Like x 1
  19. Octavio Olvera

    Octavio Olvera G4m3r43ver

    Joined:
    Jul 19, 2016
    Messages:
    34
    Occupation:
    Trade Marketing
    Location:
    Veracruz. Mexico
    Balance:
    65Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino, Motion platform
    I´m really looking forward to do this, I play on a reposet mainly because I love it, and i wouldn´t change it for any race chair, in my opinion the cars should use them too, but the bad part is that i can´t use it with a motion sim, but i think this is the answer to my prayers. Right now i´m going to buy all the parts for the project, wish me luck.
  20. choclo

    choclo Member

    Joined:
    Sep 27, 2016
    Messages:
    34
    Location:
    Vienna
    Balance:
    388Coins
    Ratings:
    +28 / 1 / -0
    Love your Sim... Just what i was looking for!!!