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

Tutorial SMC3 Arduino 3DOF Motor Driver and Windows Utilities

Discussion in 'SimTools compatible interfaces' started by RufusDufus, Dec 1, 2013.

  1. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,520
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,950Coins
    Ratings:
    +10,770 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Then just use the Pololu software to cofig, instead of SMC3, and select JRK in the Interface Settings to config o the SimTools side.

    See the JRK FAQ section for setup instructions and more: https://www.xsimulator.net/community/faq/jrk.8/category
  2. Manuel Quiterio Sousa

    Manuel Quiterio Sousa Maqs Gold Contributor

    Joined:
    Jun 21, 2020
    Messages:
    9
    Location:
    Portugal
    Balance:
    - 236Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor

    Attached Files:

  3. Manuel Quiterio Sousa

    Manuel Quiterio Sousa Maqs Gold Contributor

    Joined:
    Jun 21, 2020
    Messages:
    9
    Location:
    Portugal
    Balance:
    - 236Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor
    Hi. I am still lost. the pololu driver I'm using is the one in the photo attached. it doesnt seem to be a JRK .
  4. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,571Coins
    Ratings:
    +1,831 / 32 / -1
    That driver is not supported and completely inadequate for a motion sim anyway. It would use mode 2 if anything but that was made to drive the ibt-2 driver and it uses a non-standard wiring setup for it.
    • Agree Agree x 1
  5. Manuel Quiterio Sousa

    Manuel Quiterio Sousa Maqs Gold Contributor

    Joined:
    Jun 21, 2020
    Messages:
    9
    Location:
    Portugal
    Balance:
    - 236Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor
    Thanks for the feedback. What driver then do you suggest for 24V DC motors?
  6. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,571Coins
    Ratings:
    +1,831 / 32 / -1
    An ibt-2 will do 24v but they're not reliable so I can't recommend them. Sabertooth controllers are good and recommended but more expensive.
    • Agree Agree x 1
  7. Manuel Quiterio Sousa

    Manuel Quiterio Sousa Maqs Gold Contributor

    Joined:
    Jun 21, 2020
    Messages:
    9
    Location:
    Portugal
    Balance:
    - 236Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor
    Thanks. I'll try them out
  8. tadek

    tadek Active Member

    Joined:
    Aug 17, 2020
    Messages:
    184
    Balance:
    480Coins
    Ratings:
    +33 / 2 / -0
    My Motion Simulator:
    2DOF
    Hi
    I have a problem
    upload_2020-10-31_10-46-43.png
    with the settings in the Sim Tools Game Engine
    I have a feeling
    that most of the settings in
    Axis Assigments
    -Filter doesn't work
    best regards
    T.M.
  9. tadek

    tadek Active Member

    Joined:
    Aug 17, 2020
    Messages:
    184
    Balance:
    480Coins
    Ratings:
    +33 / 2 / -0
    My Motion Simulator:
    2DOF
    Hi
    What are the factors for smc3
    like
    Kp
    Ki
    Ks
    Fpwm
    Fpid
    to use all the options in Sim Tools?
  10. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,520
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,950Coins
    Ratings:
    +10,770 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    The SMC3 settings are for the purpose of configuring the code to refine the response of your rig, independent of SimTools: https://www.xsimulator.net/communit...driver-and-windows-utilities.4957/#post-48121

    SimTools setting take game data for motion cues: https://www.xsimulator.net/community/faq/rtfm-start-with-the-official-simtools-documentation.117/

    Both are related in the sense that combined they allow motion but are 2 separate things in terms of SMC3 tuning the hardware and SimTools tuning the motion cues.
  11. tadek

    tadek Active Member

    Joined:
    Aug 17, 2020
    Messages:
    184
    Balance:
    480Coins
    Ratings:
    +33 / 2 / -0
    My Motion Simulator:
    2DOF
    thank you
    I thought so
    So first in arduino I enter the coefficients from SMC3Utils v1.01
    at which the platform behaves best
    and then I run sim tools
    Could I get a help
    which coefficients should I enter in Arduino SMC3
    and what should be the value so that most parameters can be set with Sim Tools
    best regards
  12. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,520
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,950Coins
    Ratings:
    +10,770 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    There are no 'magic numbers' for SMC3 settings, it is really about tuning to get the most out of the particular hardware you are using.

    While I wrote this layman's guide to PID with JRKs in mind, the principals are the same in terms of PID tuning: https://www.xsimulator.net/community/faq/a-laymans-analogy-guide-to-pids-pid-tuning.219/
  13. Andrew Eccles

    Andrew Eccles aceinnz Gold Contributor

    Joined:
    Jun 30, 2016
    Messages:
    31
    Location:
    New Zealand
    Balance:
    - 521Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Please help - I haven't used my seat mover for a few months. Was working fine, now it's not - I cannot figure this out. Not sure if Windows updates have caused an issue. Motors run fine through SMC3 - however, game engine output testing - no response? Everything still seems to be configured correctly. I'm really stumped. See screenshot of my config. And I did close SMC3 util before running game engine. I have the exceptions for game engine configured in my Windows Defender firewall settings. I really don't know what's wrong.

    Attached Files:

  14. tadek

    tadek Active Member

    Joined:
    Aug 17, 2020
    Messages:
    184
    Balance:
    480Coins
    Ratings:
    +33 / 2 / -0
    My Motion Simulator:
    2DOF
    Hello
    Can I ask for an explanation of the parameters in Arduino :sos

    PWMrev
    PWMout
    PWMoffset
  15. Özden Büyüksanalan

    Özden Büyüksanalan Member

    Joined:
    Jun 19, 2020
    Messages:
    40
    Balance:
    317Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    @Andrew Eccles Did you closed SMC and then started GameEngine? I made that mistake a few days ago. Going to go crazy but then i get helped here. I did not know that smc has to be closed before GameEngine start!
  16. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,520
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,950Coins
    Ratings:
    +10,770 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Integer values used for various calculations, but if you can't follow those don't mess with the code.
  17. tadek

    tadek Active Member

    Joined:
    Aug 17, 2020
    Messages:
    184
    Balance:
    480Coins
    Ratings:
    +33 / 2 / -0
    My Motion Simulator:
    2DOF
    Hi
    I understand
    that I do the settings first in SMC3Utils v1.01
    I do not change anything in the Arduino SMC3 code?
    best regards
  18. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,520
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,950Coins
    Ratings:
    +10,770 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    The only thing that is edited in SMC3 code is Mode1 or Mode2, depending on the hardware used. All of the SMC3 configuration is explained in the first 2 posts: https://www.xsimulator.net/communit...3dof-motor-driver-and-windows-utilities.4957/

    Please keep all future questions regarding configuration of your rig to your build thread, as it gets way too difficult for other members to know what has been responded to and what has not.
  19. Andrew Eccles

    Andrew Eccles aceinnz Gold Contributor

    Joined:
    Jun 30, 2016
    Messages:
    31
    Location:
    New Zealand
    Balance:
    - 521Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Yes - made that mistake a few months ago :) It's closed. I've uninstalled simtools and resintalled. Still nothing from output testing :(
  20. Andrew Eccles

    Andrew Eccles aceinnz Gold Contributor

    Joined:
    Jun 30, 2016
    Messages:
    31
    Location:
    New Zealand
    Balance:
    - 521Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    I tried uninstalling and reinstalling to the latest 2.5.1. and checked my .net framework - everything seems to be in order. When I start output testing - the motors start chattering i.e. some comms are going through. But the sliders do nothing. When Running PC2 the same thing when starting a race - the motors make a little noise. but no movement. As stated when running SMC3 - the motors run fine. At the point of nearly giving up on this now - I've read the manual about three times. Done everything textbook and still no joy. I work in IT and am tech savvy - this really has me stumped. Invested a lot of time and money into the setup - I just can't get it to work like it should :(