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

Starting my first 2DOF DIY motion rig

Discussion in 'DIY Motion Simulator Projects' started by Christian Doehl, Nov 2, 2020.

  1. Christian Doehl

    Christian Doehl Member Gold Contributor

    Joined:
    Oct 6, 2020
    Messages:
    63
    Location:
    Germany - Bavaria
    Balance:
    634Coins
    Ratings:
    +35 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hi X-Simulator community,

    I already started building my first DIY motion rig with the goal of putting it together with my PS4.
    I read a lot of Tutorials, build reports and FAQ to feel prepared to start my first project like this, I've never dealed with an Arduino before but I was trained in electronics 20 ywears ago :), let's see what is still in mind.

    I'm a bit afraid of the PS4 connection. Noorbeast told me vinthel is the PS "crack" here but searching the forum there was no tutorial for the console connection (exept one for the Xbox one which is not suitable i guess). Can anyone give me hint of a build thread or a tutorial how to connect PS4 and SimTools, or at least a tutorial about UDP?

    Actually I'm doing SimRacing on PS4 with Logitech G29 and a Playseat as you can see below.

    20201024_124600.jpg

    Parts I've chosen were:

    Arduino Mega 2560 - (I've ordered a clone from ELEGOO)
    Monster Moto Shield
    20201024_124419.jpg
    Power Supply 12V - 360W
    20201024_124448.jpg
    cardan joint - (out of Yamahe 650 motobike)
    20201024_124350.jpg
    Worm Gear Motors - (60rpm/60W - hopefully fast and powerful enough)
    20201024_124326.jpg
    10K linear pots

    Now all the parts arrived and I started mounting a small test stand to wire and check the combination of Arduino, Driver and Motors with the SMC3 Software and code from RufusDufus, many thanks from my sidehug: .

    Putting all together, unfortunately the first problems raised when trying to connect with SMC3. An error with Kp response of motor occured and finally (after checking this forum) I found the Mega is communication slightly different than the UNO RufusDufus used.

    So I made the decision not to modify the code but to order an Arduino UNO (again clone from ELEGOO) and try again --> it works :). Both motors are acting as expected --> SO I think SMC3 code is not working with Arduino Mega without modification.

    Today I'm going to make some pictures and a small video of the test stand.

    Next steps will be installing SimTools and therefore I want to go with to code of RacingMat, as he was using the same setup than me and had shared all the parameters for interface, axis and so on, hopefully this makes my life easier ;). Again many thanks from my side hug:.


    BR
    Chris

    Attached Files:

    • Like Like x 2
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,029
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,872Coins
    Ratings:
    +10,878 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    • Informative Informative x 1
  3. Christian Doehl

    Christian Doehl Member Gold Contributor

    Joined:
    Oct 6, 2020
    Messages:
    63
    Location:
    Germany - Bavaria
    Balance:
    634Coins
    Ratings:
    +35 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Thanks noorbeast,

    I already read these instructions by vhinsel but how to do the connection between PS and PC. In my setup the PS is connected to my home network via network cable and PC is connected via WiFi. Is it just the included .exe?

    I'm going to try the SimTools - PS connection within this week. I'll come come up with more detailed questions when I made fist experience.

    BR
    Chris
  4. Christian Doehl

    Christian Doehl Member Gold Contributor

    Joined:
    Oct 6, 2020
    Messages:
    63
    Location:
    Germany - Bavaria
    Balance:
    634Coins
    Ratings:
    +35 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    As promised here are some pictures of my test stand.
    20201102_192549.jpg 20201102_192606.jpg
    The gears are 3D printed and designed with Fusion 360 (with an additional module the software has for free :thumbs)

    I installed and tested SimTools... it seems that everything moves like expected for now.

    But I think the motors are too slow, has anybody experience with slower wormgear motors (60rpm)? I also have the feeling the motors move slower backwards than foreward (see video here: https://youtu.be/s_gg9T_CfIE ).

    BR Chris

    Attached Files:

  5. Christian Doehl

    Christian Doehl Member Gold Contributor

    Joined:
    Oct 6, 2020
    Messages:
    63
    Location:
    Germany - Bavaria
    Balance:
    634Coins
    Ratings:
    +35 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Also made a spontanous bargain buy yesterday. I originally planned to go with the chair of my existing playseat but... than this inevitable offer came up... ;).

    20201102_210050.jpg

    BR Chris
  6. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,029
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,872Coins
    Ratings:
    +10,878 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Just for future reference you can insert a Youtube video into a post like this: https://www.xsimulator.net/community/faq/insert-a-video-into-a-post.257/

    The first thing to check is the MM, as clones are often of questionable quality: https://www.xsimulator.net/community/faq/monster-moto-testing-before-use.158/

    Very nice :thumbs
    • Informative Informative x 1
  7. Christian Doehl

    Christian Doehl Member Gold Contributor

    Joined:
    Oct 6, 2020
    Messages:
    63
    Location:
    Germany - Bavaria
    Balance:
    634Coins
    Ratings:
    +35 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Got it with the video, thank you.

    Regarding MM, I have another one to test but I was wondering both motors (and so on both channels of MM) behave similar. So I'll test the other MM and see what's the matter.

    What do you think about 60rpm? I've read some build reports where people go with wiper motors and they are also slow (no idea of wiper rpm but should be <60??).
  8. Christian Doehl

    Christian Doehl Member Gold Contributor

    Joined:
    Oct 6, 2020
    Messages:
    63
    Location:
    Germany - Bavaria
    Balance:
    634Coins
    Ratings:
    +35 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    By the way, seeing first movements under SimTools Output testing I was enthusiastic to see "real moves" coming from a game. So I installed LFS on my Laptop, but never got momement to my test stand.

    What I have done:

    Install and test (via Output testing) SimTools/Motors - ok
    Install LFS - ok
    Patch LFS with GameManager - ok
    Game Manager and Game Engine running in Game mode - ok
    Drive a round and see motors moving - damn, nothing happens

    As I am a console player I haven't added a Joystick or steering wheel to my Laptop (only driving with arrow keys for testing).
  9. ChubbyWeasel

    ChubbyWeasel New Member

    Joined:
    Oct 17, 2020
    Messages:
    14
    Occupation:
    Retired
    Location:
    USA
    Balance:
    65Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I had a spare Corbeau seat left over from when I sold my Spec Miata but later sold it too thinking I didn't need it anymore. Then I stumbled onto this site and now I really wish I had kept it.

    If you're using 360º pots, could you change the gearing coming off your motor to make the pots use all 360º? From my readings on this site it should increase resolution.
  10. Christian Doehl

    Christian Doehl Member Gold Contributor

    Joined:
    Oct 6, 2020
    Messages:
    63
    Location:
    Germany - Bavaria
    Balance:
    634Coins
    Ratings:
    +35 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    It should be easy to use other (unequal) gearings. When using something in between 120 and 180° of the wiper motor and a 360° pot it should be around 2:1. Maybe I try, just have to print new gearings.

    BR
    Chris
  11. Christian Doehl

    Christian Doehl Member Gold Contributor

    Joined:
    Oct 6, 2020
    Messages:
    63
    Location:
    Germany - Bavaria
    Balance:
    634Coins
    Ratings:
    +35 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Update!

    Made some progress this weekend. As the electronics perform more or less as expected, I started mechanic work this weekend. I really like the design of Halloween2go, so maybe some similarity is recognizable ;).

    First i built the frame for the seat and checked seat balance where to mount the kardan joint and tested on a wooden plate cause I was crazy about to see the seat moving.
    20201105_152115.jpg 20201105_155735.jpg 20201105_173921.jpg
    20201105_210806.jpg
    20201105_210819.jpg
    It was getting really late this first day :).

    Then building the lower frame and connecting both elements.
    20201106_143112.jpg 20201106_154634.jpg 20201106_163004.jpg
    20201106_173134.jpg

    Getting late again (or dark early).

    Thats the result of this weekend:
    20201106_173051.jpg 20201107_082313.jpg

    I think I have to add some more stiffener to the motor holding fixtures.

    BR Chris
  12. Christian Doehl

    Christian Doehl Member Gold Contributor

    Joined:
    Oct 6, 2020
    Messages:
    63
    Location:
    Germany - Bavaria
    Balance:
    634Coins
    Ratings:
    +35 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    HELP!! :sos

    Still the same topic.

    I'm running SMC3 code and within SMCutils everything is fine and moving. Closing Simutils and opening GameEngine, in Output Test Mode (DOF Output) everythings is fine too with these settings:
    2.JPG
    3.JPG
    So far so good. But trying LFS with SimTools I get no communication.

    What have I done:
    - Going to Pluginupdater and Moving LFS Plugin to the Window --> Files installed succesfully
    - Closing Pluginupdater, opening Gamemanager and Gameengine (still same setup), than patched LFS --> Files installed succesfully
    - Opening GameEngine and Tuning Center
    - Starting LFS --> Gameengine shows "Game on"
    - switching to virtual axis, Turn on --> NOTHING
    - switching to Axis Output with "Game on" --> NOTHING

    The config.txt from LFS folder is attached. Any idea? :sos

    BR Chris

    Attached Files:

    • 1.JPG
      1.JPG
      File size:
      211.9 KB
      Views:
      336
    • cfg.txt
      File size:
      3.8 KB
      Views:
      303
  13. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,029
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,872Coins
    Ratings:
    +10,878 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    You need to run LFS before patching it for motion: https://www.xsimulator.net/communit...run-in-first-person-mode-before-patching.365/

    So un-patch, run LFS, then re-patch.
    • Informative Informative x 1
  14. Christian Doehl

    Christian Doehl Member Gold Contributor

    Joined:
    Oct 6, 2020
    Messages:
    63
    Location:
    Germany - Bavaria
    Balance:
    634Coins
    Ratings:
    +35 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Thanks for the quick response @noorbeast. I did, no success. Do you know which files will be created mentioned in the thread? Maybe I can lokk at the folder if they exist? By the way, just another stupid question from a german guy :think, what is "first pirson mode"? Can you show me a screenshot which shows this setup point? I used single player race and tried normal cockpit view and also the view wich shows just the tires which is named "self view" in german. I guess that's first person mode, maybe this is someting different.

    I unpatched, closed Simtools and LFS, restart LFS, start single player race (in 2 differentviews) and drove a round than started gamemanager and patched LFS --> no success, nothing moves, upper line in tuning center still empty and also virtual axis shows no movement.
    :mad::confused:

    BR
    Chris
  15. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,029
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,872Coins
    Ratings:
    +10,878 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Can you temporarily disable your firewall and antivirus, then un-patch, run LFS, then re-patch.

    I am presuming you have created a LFS Axis Allocation, is that correct?
  16. Christian Doehl

    Christian Doehl Member Gold Contributor

    Joined:
    Oct 6, 2020
    Messages:
    63
    Location:
    Germany - Bavaria
    Balance:
    634Coins
    Ratings:
    +35 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Ok, I'll give it a try in the evening. Am I correct with my guess due to FPM?
  17. Christian Doehl

    Christian Doehl Member Gold Contributor

    Joined:
    Oct 6, 2020
    Messages:
    63
    Location:
    Germany - Bavaria
    Balance:
    634Coins
    Ratings:
    +35 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Yes, I copied my axis parameters from default to LFS (see the first picture in the thread before.

    BR Chris
  18. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,029
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,872Coins
    Ratings:
    +10,878 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Why are you using filters, all other settings should be refined before filters are even considered.
  19. Christian Doehl

    Christian Doehl Member Gold Contributor

    Joined:
    Oct 6, 2020
    Messages:
    63
    Location:
    Germany - Bavaria
    Balance:
    634Coins
    Ratings:
    +35 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    This was just a try to eliminate hard Motor movement and I also tried without filter, this should not be the reason.
  20. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,029
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,872Coins
    Ratings:
    +10,878 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    • Useful Useful x 1