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

I'm trying to start my first 2DOF

Discussion in 'DIY Motion Simulator Projects' started by Bobby, Mar 19, 2023.

  1. Bobby

    Bobby Member

    Joined:
    Mar 14, 2023
    Messages:
    58
    Location:
    Rockford, Illinois, USA
    Balance:
    404Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hi Guys,
    I just registered to become a member a few days ago. I got into sim racing 4 years ago, specifically with F1 sim racing. I'm always fascinated with the shape of Formula 1, it seems that it's out of this world. I enjoy building things on my own. I didn't want to spend too much money for the cockpit so I built my own cockpit, out of lumber and bought one of the cheapest steering wheel set from Thrustmaster. Later on, I got really hooked up with this F1 sim racing so I decided to buy me an inexpensive force feedback steering wheel. The rest is history. A few years later, I decided to build a look-a-like Formula 1 cockpit (my Avatar). Now, I want this cockpit to move with 2DOF and eventually I want to convert it to 3DOF. I watched several DIY You Tube videos how to build a motion sim and that's where I landed to this web site. I'm pretty decent designing and building things mechanically but I'm very poor when it comes to electrical/electronics and computer programming. I never heard of the "Arduino Uno" before, until several months ago. I just built me a platform under budget with two 24 volts wheelchair motors. Hopefully, it's robust enough for my F1 cockpit on top of it. I got me a cheap after market Arduino Uno and some H bridges and other materials to make this platform to move. I think I have everything I need so far. I'm getting ready to put together the wiring soon by following the diagram that I found in this website. Also, I just downloaded the free Simtools app, right after I signed up couple of days ago. Eventually, I'm planning to purchase and download the unlimited access, if everything goes right with this free Simtools that I have now. I have attached a picture of my cockpit on top of the platform tat I made in CAD. The platform is designed as 3DOF but the 3rd motor platform can be easily removed to become 2DOF. Should I go ahead and start 3DOF now instead of 2DOF? I assumed the weight of the cockpit maybe the issue but who knows. The cockpit weight approximately 75 lbs. My weight is 165 lbs. The platform is made out of mostly 1 inch square steel tubing. The pivot (universal joint) is made out of 4 bearing pillow on 2 inch square steel. I think my platform is pretty robust to carry the 250 lbs. weight. I'm open for any suggestions. Thank you!

    Attached Files:

    • ok3.jpg
      ok3.jpg
      File size:
      26 KB
      Views:
      173
    • Like Like x 1
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,145
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,565Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Just keep in mind some other members have reported issues when using a clone Arduino with SMC3, if that is what you plan.

    Given you plan a F1 cockpit anyway, that will take up a significant footprint, you may want to consider increasing the inherent leverage of your motor placement, as moving the motors further from the pivot will decrease the load on the motors.

    Have a play with SimCalc to get your head around design Vs physics tradeoffs: https://www.xsimulator.net/communit...e-linear-speed-and-forces-of-your-design.270/
  3. Bobby

    Bobby Member

    Joined:
    Mar 14, 2023
    Messages:
    58
    Location:
    Rockford, Illinois, USA
    Balance:
    404Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Wow! Never thought about that. I will check out the simcal. Thank you!
    • Like Like x 1
  4. Bobby

    Bobby Member

    Joined:
    Mar 14, 2023
    Messages:
    58
    Location:
    Rockford, Illinois, USA
    Balance:
    404Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Thank you for the heads up on the clone Arduino issue, noorbeast! I decided to continue wiring the clone Arduino to see if I will have some issue with the SMC3. If it does, I will replace it with the genuine. Also, I will keep my present platform the way it is now, for the sake of testing the Sim Tools app. I will keep posting my progress for other to see and hoping some other members will see and make some kind of suggestion.
    • Like Like x 1
  5. Bobby

    Bobby Member

    Joined:
    Mar 14, 2023
    Messages:
    58
    Location:
    Rockford, Illinois, USA
    Balance:
    404Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hi Guys,
    I'm not sure if this questions has been answered before. Anyway, is it ok to combine my platform with two different voltage motors? (which is two 24 volts motors for pitch and roll and a 12 volts motor for yaw) See attached below. I'm too cheap to get me another 24 volts motor, if the 12 volts motor work will work anyway. :D

    Attached Files:

  6. Radje748

    Radje748 Member Gold Contributor

    Joined:
    Dec 26, 2022
    Messages:
    45
    Balance:
    239Coins
    Ratings:
    +35 / 0 / -0
    My Motion Simulator:
    2DOF
    The Issue I had with the Clone, is that I never got both axes working, always one of the 2 refused to move both sides. After resoldering all cables, using other motor controllers.. I bought the original arduino....worked flawless... So this for me is a no brainer.... :)
    With the Clone I also have issues with simhub... so it is clear that these clones are not the best.....
  7. Radje748

    Radje748 Member Gold Contributor

    Joined:
    Dec 26, 2022
    Messages:
    45
    Balance:
    239Coins
    Ratings:
    +35 / 0 / -0
    My Motion Simulator:
    2DOF
    I would advise to use same motors.... pitch/roll yaw/surge uses the strength of both motors.... so 1 is pulling, the other is pushing... using 2 different motors means that or the strengths are not the same... or 1 engine has to use all strength for 2 movement.
    My setup is 24v with wheelchair motors.... they totally do not get warm (19v)... next to the IBT;s are also not warmer then 30C...
  8. Bobby

    Bobby Member

    Joined:
    Mar 14, 2023
    Messages:
    58
    Location:
    Rockford, Illinois, USA
    Balance:
    404Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Thanks for the input Radje748! How about the AC/DC converter? Do I need to put one converter for each motor? Because I see that one diagram shows only one converter the other diagram shows one converter for each motor.
  9. Radje748

    Radje748 Member Gold Contributor

    Joined:
    Dec 26, 2022
    Messages:
    45
    Balance:
    239Coins
    Ratings:
    +35 / 0 / -0
    My Motion Simulator:
    2DOF
    Yep, I used 2 seperate 24V power supply's and 2 seperate IDT2's
  10. Bobby

    Bobby Member

    Joined:
    Mar 14, 2023
    Messages:
    58
    Location:
    Rockford, Illinois, USA
    Balance:
    404Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Thanks again Radje! I got the genuine arduino and using IBT-2 on each motor. I assumed the arduino is working fine. Now, when I started running the SCM3 utility and turn on the motor one at time, the motor is shaking right away.
  11. Bobby

    Bobby Member

    Joined:
    Mar 14, 2023
    Messages:
    58
    Location:
    Rockford, Illinois, USA
    Balance:
    404Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    500K Potentiometer.jpg SMC3 Utility.png
  12. Bobby

    Bobby Member

    Joined:
    Mar 14, 2023
    Messages:
    58
    Location:
    Rockford, Illinois, USA
    Balance:
    404Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Maybe this has something to do with what type or what size potentiometer I need? What do you think? I have a short video on the motor shaking but for some reasons I could not upload the video. I'm still learning how to maneuver this Forum.
  13. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,145
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,565Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    10k pots or 180 Hall sensors are the norm.

    The SMC3 image is too small for my old eyes to read, but it looks like pwmmax is not set and that is the first tuning value that should be.

    One the pots are sorted please follow the SMC3 setup steps and report what pwmmax value the motors start to move:
    1. Disconnect the motor power supply
    2. Make sure Simtools is not running – we’re not ready for that yet!
    3. Wire up the Arduino (with SMC3 installed) to your H-Bridges and connect to your computer via USB
    4. Run the Windows SMC3 Utility software and make sure it communicates with the Arduino (There is no need to set baud rates, they are not configurable)
    5. Set the Kp, Ki, Kd, PWMmin, PWMmax, PWMrev to 0 for ALL motors (This will make sure the motors don’t move)
    6. Set Clip to 255 (you need to do this first) and Limit to 255 (This will give you plenty of margin if something goes wrong while setting up)
    7. Turn on the power to your motors – nothing should move at this stage!
    8. Set Kp to about 400
    9. Now slowly, increase PWMmax… at some point the motor should start to move. When it does check the “Green” feedback line is moving toward the “Blue” target position.
      • If it is then that motor and feedback is wired correctly - proceed to test other motors.
      • If it is moving away turn off motor power immediately (or quickly reduce PWMmax again). In this case you need to either reverse the wires to the motor being tested –OR– reverse the +5V and GND wires to your feedback pot for the motor being tested (do not do both). Restart the test from the beginning.
    10. Do the above for each motor
  14. Bobby

    Bobby Member

    Joined:
    Mar 14, 2023
    Messages:
    58
    Location:
    Rockford, Illinois, USA
    Balance:
    404Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Thank you sir! Next time, I will make the SCM3 utility picture larger. Anyway, I just ordered the 10k pot. I heard that the typical 10k pot will wear out fast. So I decided to order the hall sensor as well. Unfortunately, the 180 hall sensor will not arrive until the mid April from China. I can wait to proceed this project so I decided to get the 360 hall sensor, instead. I wonder is the 360 hall sensor will work as well. Please advise.
  15. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,145
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,565Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    The 360 will have a lower resolution than the 180 Hall sensor. Technically a 90 degree Hall sensor would work with high resolution as long as total movement was under 45 degrees either way, but that is not a lot of head room, which is why 180 degrees is the norm.
  16. Bobby

    Bobby Member

    Joined:
    Mar 14, 2023
    Messages:
    58
    Location:
    Rockford, Illinois, USA
    Balance:
    404Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    I hope the picture is readable now. Anyway, I put all the values to zero and Clip input to 255, while the motor is off. Then I turn on the power on motor and motor still shaking. Also, may I ask why there is no value on Fpwm and PWmax before I turn the motor? Also, I'm still using the 500K pot anyway. I'm still waiting for the 10k pot and 360 hall sensor to arrive.
  17. Bobby

    Bobby Member

    Joined:
    Mar 14, 2023
    Messages:
    58
    Location:
    Rockford, Illinois, USA
    Balance:
    404Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
  18. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,145
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,565Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    In the the SMC3 instructions I posted earlier the start values are Clip to 255 (you need to do this first) and Limit to 255, set Kp to about 400, then slowly raise PWMmax and note at what value the motors start to move.

    But you need to have the appropriate hardware in place.
  19. Bobby

    Bobby Member

    Joined:
    Mar 14, 2023
    Messages:
    58
    Location:
    Rockford, Illinois, USA
    Balance:
    404Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Thank you sir! I will wait for the correct hardware then (10k pot). I hope this 10k pot will do for now. So question again, 360 hall sensor is not good to try then? (so I can return it as soon as it arrives, and order the 180 hall sensor). Thank you for your patience! I'm not ready to give up yet. :D
  20. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,145
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,565Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    A 180 Hall will give better resolution, so yes I would suggest returning the 360 and replacing it with 180s.