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

Showroom 2 DOF motion simulator - school project

Discussion in 'DIY Motion Simulator Projects' started by Witvrt, Feb 14, 2021.

  1. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi guys,

    I am a 17 years old, student industrial sciences and I am making my own 2 DOF motion simulator. I have always liked motorsport, but it's quiet hard to finance this hobby. So I switched to sim racing instead. A couple of years ago I was gifted a Logitech G27 which up to the present day is still my steering wheel. There was only one thing that I was missing, when I was racing online, namely a little bit of movement. So this year, I got the opportunity to make my own motion simulator as my last years project in middle school.

    Apart from the steering wheel and pedals I'll be making the seat and structure by myself.
    I started with making some 3d drawings of the seat before I started making it in reality. The rest of the structure will basically be 2 wooden plates, which are connected by a universal joint and 2 connection rots.

    upload_2021-2-14_17-4-1.png
    The dimensions of the seat are based my own, so the seat fits perfectly for me.
    I also added another feature on the seat so it could tilt forward (F1 position -> GT position). You can see it on the following picture.
    [​IMG]

    Now the seat is roughly finished, I started connecting all of the parts that I am using to create motion.
    Parts I am using:
    Arduino UNO
    [​IMG]
    vnh2sp30 single moto monster driver shield (2x)
    [​IMG]
    10K potentiometer (2x)
    [​IMG]
    12V DC wiper motor (2x)
    [​IMG]
    power supply (AC input: 230V, DC output: 12V 50A)
    [​IMG]
    Like I already mentioned I placed all of these components on a wooden plate which is forming the base of the whole structure.

    IMG_1396.JPG

    I don't have a good picture of this, but if you look up the 2 DOF motion simulator of Racingmatt, you will find the exact same positioning of these components. One other thing I didn't make myself is the Arduino code. I also copied this from Racingmatt. Here is the link to his project (https://www.xsimulator.net/2dof-motion-simulator-truck-wiper-motor-playseat/).

    IMG_1404.JPG

    At the moment, I am testing the whole system. But there are a few issues. I think it's due to the potentiometers which aren't giving enough feedback, which causes the motors to not completely return to the neutral position. Sometimes they even start jittering. So if there is anyone who knows how to fix this, please tell me :).
    • Like Like x 1
  2. Rifly

    Rifly Member

    Joined:
    Jan 30, 2020
    Messages:
    55
    Occupation:
    freelance photographer
    Location:
    Latvia
    Balance:
    232Coins
    Ratings:
    +24 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    99% cases for me issue would be with cheap pots or bad solder job, but also you would need to take into account that wormgear motors will have some slack, so its always in between with small jitter(depending on gear ratio, more or less)
    I've build 2dof using wiper motors with cheap pots, so press link below.
    You may have a peak into my build which hats lots of issues and lots of solutions (press on this)
  3. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,032
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,890Coins
    Ratings:
    +10,880 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Gearing pots is possible, though personally I prefer direct connected Hall Sensors, as while they are a bit more expensive they have great resolution, long lives and won't break if over rotated: https://www.xsimulator.net/community/faq/how-to-connect-protect-a-potentiometer.13/

    Is your rig properly balanced, with you in it: https://www.xsimulator.net/communit...-of-gravity-to-balance-a-motion-simulator.55/

    Are the wiper motors ground isolated: https://www.xsimulator.net/community/faq/wiper-motor-mandatory-ground-isolation.25/
    • Like Like x 1
  4. Gadget999

    Gadget999 Well-Known Member

    Joined:
    Dec 27, 2015
    Messages:
    1,935
    Location:
    London
    Balance:
    11,838Coins
    Ratings:
    +473 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, 6DOF
    are you using smc3 ?

    what are your settings ?
  5. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
    Thanks for replying! I'll definitely take a look at your project:thumbs .
  6. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
    Thank you noorbeast for giving me these helpful tips! I think I definitely need to check if my rig is correctly balanced (this is such an easy and important step that I almost forgot to do this :roll) and the Hall sensors you mentioned are also something I really need to look at. They would probably help me a lot.
  7. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi Gadget999, for the moment I don't use smc3. Can I gain a lot of benefit if I would use this?
    Last edited: Feb 16, 2021
  8. Gadget999

    Gadget999 Well-Known Member

    Joined:
    Dec 27, 2015
    Messages:
    1,935
    Location:
    London
    Balance:
    11,838Coins
    Ratings:
    +473 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, 6DOF
    lots of people use it - it has a utility that allows you to adjust the motor settings and is useful for diagnosing problems
  9. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
    Sounds very interesting :thumbs. I'll definitely take a look at it and see if I am going to integrate it into my sim.
    • Like Like x 1
  10. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi guys,
    It's been a while since my last post. So I'll give some updates to you guys, from what I've been doing in the last 2 weeks.
    I made the switch to smc3, thanks to Gadget999. Smc3 is a much better then the program I was using before. It helped me a lot to set up the motors and find the the origin of some problems. Now this was all going very well I began to do some tests with Simtools.

    This are the settings I am using (The ComPort isn't assigned because at the time I took these screenshots, the Arduino wasn't plugged in).

    upload_2021-3-4_17-38-57.png

    upload_2021-3-4_17-39-21.png

    At first one of the motors responded and the other one didn't. The problem there was that the potentiometer wasn't working of the not responding motor. So I changed the potentiometer and also a motomonster, because the output wasn't working like it should have.

    The issue I am having now is that the motors don't respond when I am testing them. I have no clue what I am doing wrong. Even when my anti-virus (maybe it blocked something) was turned off it didn't respond. So if there is anyone who has had this issue before, please let me know. It would be very helpful :).
  11. Gadget999

    Gadget999 Well-Known Member

    Joined:
    Dec 27, 2015
    Messages:
    1,935
    Location:
    London
    Balance:
    11,838Coins
    Ratings:
    +473 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, 6DOF

    Can you get the smc3 utils program to work ?
  12. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
  13. Gadget999

    Gadget999 Well-Known Member

    Joined:
    Dec 27, 2015
    Messages:
    1,935
    Location:
    London
    Balance:
    11,838Coins
    Ratings:
    +473 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, 6DOF
    No

    It sounds like you have not got simtool configured correctly
  14. Gadget999

    Gadget999 Well-Known Member

    Joined:
    Dec 27, 2015
    Messages:
    1,935
    Location:
    London
    Balance:
    11,838Coins
    Ratings:
    +473 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, 6DOF
    You need it to set axis a not b
  15. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
    Thanks for replying Gadget999. I assigned the axis wrong, just like you said.
  16. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
    So now I solved the problem with Simtools, the system is working. It only needs some finetuning.
    Thanks a lot to everyone who is giving me these helpful tips. They were really useful to me :thumbs.
    (More updates coming soon)
    • Like Like x 1
  17. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi guys,
    I finally managed to make my sim work the way I wanted it to be. In my earlier post I mentioned that my sim was already working, but the movements weren't that smooth. So I made some adjustments in my axis assignment settings. I changed roll and pitch to sway and surge. I saw that there were some other people using these settings to, so I also gave it a go. While testing I immediatly saw a big improvement in the way my sim was moving.
    (I also wanted to add a video of my test setup, but I don't now how to do this :(. Is there anyone who could help me with this?)
    [​IMG]

    Attached Files:

    • Like Like x 1
  18. Christian Doehl

    Christian Doehl Member Gold Contributor

    Joined:
    Oct 6, 2020
    Messages:
    63
    Location:
    Germany - Bavaria
    Balance:
    635Coins
    Ratings:
    +35 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    • Like Like x 1
    • Informative Informative x 1
  19. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF

    Thanks Christian Doehl:thumbs
    • Like Like x 1
  20. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi guys,
    Recently I've replaced my motors with stronger ones and I am having an issue now. When I start to do some output testing the motors start shaking heavily. And I don't know how to stop this. Does anyone know how to stop this? (these are my settings)
    upload_2021-5-16_20-38-34.png