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

2DOF mini Arduino motion platform protoype

Discussion in 'DIY Motion Simulator Projects' started by early_m, Feb 7, 2017.

  1. early_m

    early_m Active Member

    Joined:
    Jul 28, 2016
    Messages:
    318
    Location:
    Chelmsford
    Balance:
    824Coins
    Ratings:
    +342 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    I've been playing with the idea of making a motion simulator ever since I played Project Cars on the Oculus Rift for the first time. The issue is I don't currently have the space to house one, not even a desk racer.

    So for now, I thought I'd make a mini one to learn the basics. 2DOF using some servos and an Arduino. I thought about keeping it simple, maybe build it out of Lego. Or simple MDF for mounting plates and platform. But in the end I wanted a proper little design project, so created a 3D model so I could get the parts 3D printed (Brother in-law works for Shapeways - free prints!)

    I've chosen the configuration shown in the video as it would appear that you achieve a better degree of movement of 'roll'. I notice many designs have the motors attached to the front corners, so the roll is achieved with some front pitch. Is there a disadvantage to my design by doing it the way I have when I scale up?

    I'm sure I'll require some assistance along the way. I've already found the forum incredibly helpful. Especially the posts from @eaorobbie.

    While I wait for my 3D prints to arrive I would like to hook my servos up to the Arduino and try out simtools. Learn out how to configure it using my design and get it working with PCars. Just need a pesky licence... 2DOF_0004_Flat.jpg 2DOF_0003_Pitch Forward.jpg 2DOF_0002_Pitch Backward.jpg 2DOF_0001_Roll Right.jpg 2DOF_0000_Roll Left.jpg
    Here is a link to a video of the platform in 'action'
    • Like Like x 1
    • Creative Creative x 1
    Last edited by a moderator: Feb 7, 2017
  2. value1

    value1 Nerd SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Jan 9, 2011
    Messages:
    2,184
    Location:
    Zug, Switzerland
    Balance:
    14,509Coins
    Ratings:
    +3,319 / 11 / -1
    My Motion Simulator:
    2DOF, DC motor, JRK, Joyrider
    With your design, only the power of one motor is available to push/pull the platform for pitch and one for roll.
    If you add the motors to the "shoulders", you have the power of both motors to push forward (pitch) or roll sidewards (one pushing, one pulling).
    For your small scale modle, this is irrelevant I assume.
    • Agree Agree x 1
  3. early_m

    early_m Active Member

    Joined:
    Jul 28, 2016
    Messages:
    318
    Location:
    Chelmsford
    Balance:
    824Coins
    Ratings:
    +342 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    So will I have an issue if I scale up to full size? Is it a case of one motor for each not being powerful enough?
  4. early_m

    early_m Active Member

    Joined:
    Jul 28, 2016
    Messages:
    318
    Location:
    Chelmsford
    Balance:
    824Coins
    Ratings:
    +342 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Here is a link to a video of the platform in 'action'

    I would have added this to the original post, but can't find an 'edit' button for the life of me...
    • Like Like x 1
  5. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,557
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,160Coins
    Ratings:
    +10,780 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Anything can be made to work but it is not really cost/mechanically efficient.
    • Agree Agree x 1
  6. value1

    value1 Nerd SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Jan 9, 2011
    Messages:
    2,184
    Location:
    Zug, Switzerland
    Balance:
    14,509Coins
    Ratings:
    +3,319 / 11 / -1
    My Motion Simulator:
    2DOF, DC motor, JRK, Joyrider
    Fully agree. Efficiency is a design principle ;)
  7. value1

    value1 Nerd SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Jan 9, 2011
    Messages:
    2,184
    Location:
    Zug, Switzerland
    Balance:
    14,509Coins
    Ratings:
    +3,319 / 11 / -1
    My Motion Simulator:
    2DOF, DC motor, JRK, Joyrider
    I copied your video into the first post. You'll have an edit button after a few posts. That's for anti-spam-reasons.
  8. early_m

    early_m Active Member

    Joined:
    Jul 28, 2016
    Messages:
    318
    Location:
    Chelmsford
    Balance:
    824Coins
    Ratings:
    +342 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Can you explain why it isnt cost efficient? I can understand why it could texhnically be mechanically inefficient as @value1 mentioned, but wouldnt it cost the same as mounting any where else?

    I've seen commercial designs using the same set up, so a little confused
  9. value1

    value1 Nerd SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Jan 9, 2011
    Messages:
    2,184
    Location:
    Zug, Switzerland
    Balance:
    14,509Coins
    Ratings:
    +3,319 / 11 / -1
    My Motion Simulator:
    2DOF, DC motor, JRK, Joyrider
    Cost of the motors is proportional to their power.
    • Agree Agree x 1
  10. value1

    value1 Nerd SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Jan 9, 2011
    Messages:
    2,184
    Location:
    Zug, Switzerland
    Balance:
    14,509Coins
    Ratings:
    +3,319 / 11 / -1
    My Motion Simulator:
    2DOF, DC motor, JRK, Joyrider
    If you cannot control your motors nicely or one is faster than the other, you'll have for example an additional roll movement when pitching. There are also mechanical reasons for choosing your design.
    canadian-maple-leaf-gold-coin1.png
    ;)
  11. early_m

    early_m Active Member

    Joined:
    Jul 28, 2016
    Messages:
    318
    Location:
    Chelmsford
    Balance:
    824Coins
    Ratings:
    +342 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Ahhh ok thanks, makes sense
  12. early_m

    early_m Active Member

    Joined:
    Jul 28, 2016
    Messages:
    318
    Location:
    Chelmsford
    Balance:
    824Coins
    Ratings:
    +342 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    So would you advise scrapping this setup in favour for a front corner mount setup if i went full scale? I guess theres a reason I havent seen many on here....
  13. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,557
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,160Coins
    Ratings:
    +10,780 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Two motors at the front or rear would be a more efficient full size design.
  14. pab61

    pab61 Member

    Joined:
    Jan 13, 2017
    Messages:
    47
    Location:
    Adelaide
    Balance:
    638Coins
    Ratings:
    +40 / 0 / -0
    My Motion Simulator:
    Arduino
    So that tilting the rig forward and back uses two motors rather than one (while sideways tilting will still only use one)? Which I assume works because most rigs are longer than they are wide?

    Thanks, just making sure I understand the reasoning correctly.
  15. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,557
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,160Coins
    Ratings:
    +10,780 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Two operate in conjunction for pitch and surge. With sway roll one motor goes down, assisted by your body weight and the other goes up.
  16. value1

    value1 Nerd SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Jan 9, 2011
    Messages:
    2,184
    Location:
    Zug, Switzerland
    Balance:
    14,509Coins
    Ratings:
    +3,319 / 11 / -1
    My Motion Simulator:
    2DOF, DC motor, JRK, Joyrider
    Even for roll and sway, both motors are engaged.
    Look at your fourth and fifth picture in post #1. To come from picture 4 to horizontal position one motor would push your body against gravity and the other motor would pull against gravity until you reach horizontal position. From there to picture 5 both motors have to break so that you stay in position 5 and don't fall too quickly or deeper.
  17. pab61

    pab61 Member

    Joined:
    Jan 13, 2017
    Messages:
    47
    Location:
    Adelaide
    Balance:
    638Coins
    Ratings:
    +40 / 0 / -0
    My Motion Simulator:
    Arduino
    Of course, obvious, that makes sense, thanks.
  18. early_m

    early_m Active Member

    Joined:
    Jul 28, 2016
    Messages:
    318
    Location:
    Chelmsford
    Balance:
    824Coins
    Ratings:
    +342 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Ok thanks for the guidence @noorbeast amd @value1. For now I will stick with the prototype design to learn simtools and coding but will look to change the design if I scale up. I just need the plugin for PCars to start learning. Cheeky question, but dont ask dont get. Any chance of some coins so I can download it? Its the only driving game I own so seems overkill to purchase the whole plugins package.
  19. early_m

    early_m Active Member

    Joined:
    Jul 28, 2016
    Messages:
    318
    Location:
    Chelmsford
    Balance:
    824Coins
    Ratings:
    +342 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    OK i'm confused. I've downloaded and installed simtools and was waiting to be granted a licence. But I loaded it up and its in demo mode. All I want to do is test that my servos work. Can I do that in 'demo' mode?

    Also, I'm struggling a little with the code side of things. I've followed the instructions from @eaorobbie but it loks like I have a different version of simtools. I tried loading in the preset but it says it's invalid. I have set them manually by opening the config file in notepad and manually copying them across. For the Arduino code, there's 2 INO files. Which one do I load up to the Arduino?

    I've searched the forums but can't seem to find any posts about my issues - am I being a dumbass?
  20. insanegr

    insanegr !N$@n€

    Joined:
    Jan 14, 2014
    Messages:
    505
    Location:
    Athens
    Balance:
    16,715Coins
    Ratings:
    +499 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    you need a key to get out demo mode either a diy or pro key.for a diy key https://www.xsimulator.net/request-diy-key-simtools/ or buy a pro key from here https://simtools.us/license/
    here is how i managed to get my scaled model working https://www.xsimulator.net/community/threads/2dof-simulator-servo-model.6851/#post-77270
    SimTools 2.0 Input Settings - The difference from SimTools 1.3 to SimTools 2.0 in setup is that instead of axis defined like this <Axis1> it is now like this to designate grouping for a or b <Axis1a>