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. Manes

    Manes Member

    Joined:
    Jun 12, 2020
    Messages:
    106
    Balance:
    179Coins
    Ratings:
    +12 / 0 / -0
    Where I need puta the switch?? I dont understand , sorry
  2. Manes

    Manes Member

    Joined:
    Jun 12, 2020
    Messages:
    106
    Balance:
    179Coins
    Ratings:
    +12 / 0 / -0
    After to do all yours ideas and configurations, I have the same problem.
    Change cables whith gnd , adjust potenciometers, and put SMC3 whith the parameters same than Pierre and modding this parameters, and parameters of all tipes, and I have the same problem. When i put pin8 or 9 Whith gnd in Arduino, i can't start SMC3 ... It is imposible. .....
  3. Pierre Lalancette

    Pierre Lalancette Sir Lalancelot Gold Contributor

    Joined:
    Dec 11, 2016
    Messages:
    960
    Occupation:
    Tech Artist
    Location:
    Quebec, Canada
    Balance:
    7,785Coins
    Ratings:
    +896 / 6 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, 6DOF
  4. Manes

    Manes Member

    Joined:
    Jun 12, 2020
    Messages:
    106
    Balance:
    179Coins
    Ratings:
    +12 / 0 / -0
  5. Manes

    Manes Member

    Joined:
    Jun 12, 2020
    Messages:
    106
    Balance:
    179Coins
    Ratings:
    +12 / 0 / -0
  6. Manes

    Manes Member

    Joined:
    Jun 12, 2020
    Messages:
    106
    Balance:
    179Coins
    Ratings:
    +12 / 0 / -0
    Is posible Sabertooth 2x60 is very Big for my motors? Is better 2x32 for my?
  7. Manes

    Manes Member

    Joined:
    Jun 12, 2020
    Messages:
    106
    Balance:
    179Coins
    Ratings:
    +12 / 0 / -0
    My power supply have 28 V. Maybe is this the problem?
  8. John Snell

    John Snell Member

    Joined:
    May 31, 2021
    Messages:
    63
    Balance:
    190Coins
    Ratings:
    +59 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hi team. I'm missing something here and assume it will be obvious to many/most of you so my apologies if I should have found the answer already.

    I have 2 motors supplied via an Arduino and H-bridges. I have followed SMC3 tutorials the best I can, and everything seems to work fine using SimTools_2.5.1.exe.

    I have installed Live for Speed, run it, patched it, and I can see all the feedback and movement from the game in the SimTools Game Engine Virtual Axis display. BUT nothing makes my motors move

    In SimTools:
    - I believe I have set Interface settings (Interface 1) to match tutorials and with ComPort the same as in SimTools_2.5.1.exe.
    - I've set some values for (a) and (b) in Axis Assignments using Generis 2D Basic. settings the Game manager says that the game is connected
    - In output Testing=>Axis Testing=>Output Type = DOF Output, I "Turn On" and then move sliders for Roll, Pitch, etc. If I "Turn On" in the Virtual Axis tab I can see my "Axis Testing reflected there.

    BUT still nothing (apart from imTools_2.5.1.exe) will make my motors move.

    I appreciate any help greatly.
    John
  9. moaale

    moaale IAN MRTIN

    Joined:
    Jun 29, 2011
    Messages:
    168
    Occupation:
    NN
    Location:
    ARGENTINA
    Balance:
    124Coins
    Ratings:
    +41 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, SimforceGT
    hello friend in the smc3 they work well with the preset movements if there is everything works well you can go to the configuration of the game engine of simtools. Now I am going to upload a configuration for you to copy and test.
  10. moaale

    moaale IAN MRTIN

    Joined:
    Jun 29, 2011
    Messages:
    168
    Occupation:
    NN
    Location:
    ARGENTINA
    Balance:
    124Coins
    Ratings:
    +41 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, SimforceGT
    In the second photo it puts the configurations in axis1 and axis2 because axis3 and axis4 would be for the third and fourth motor and if surge and sway do not give you movements, try pitch and roll. 20210905_203932.jpg 20210905_204002.jpg
  11. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,155
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,616Coins
    Ratings:
    +10,909 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    If Output Testing works as expected then the likely issue is that LFS was not run prior to patching it for motion: https://www.xsimulator.net/communit...run-in-first-person-mode-before-patching.365/

    If so then un-patch LFS in Game Manager, run a LFS race in first person mode then re-patch LFS.
  12. John Snell

    John Snell Member

    Joined:
    May 31, 2021
    Messages:
    63
    Balance:
    190Coins
    Ratings:
    +59 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Thank you so much @moaale. That's really kind of you to post these settings so fast!

    I have replicated them exactly, and also tried pitch and roll, but unfortunately there is no change. It feels like there is something missing between Simtools and the Arduino. They are just not communicating.

    When I start SMC3Utils v1.01.exe, there is often a small movement in the motors, and then while it is running there is a very quiet rumble coming from the motors. But there is nothing once I close SMC3Utils v1.01.exe.

    Am I correct that if I turn on Output Testing=>Axis Testing and then move the sliders, my motors should move in response?

    Thanks again!
  13. John Snell

    John Snell Member

    Joined:
    May 31, 2021
    Messages:
    63
    Balance:
    190Coins
    Ratings:
    +59 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hi @noorbeast
    I think Output Testing, or even Output in general, is where my issues lies (but happy to be corrected though), and maybe my expectations are incorrect. Output Testing currently does nothing at all, with regards to my motors. If I turn on Output Testing=>Axis Testing On, and then move the sliders, should my motors should move in response?

    I certainly see all the movement from LFS in Simtools Virtual Axis dashboard (see screenshot) when running LFS, so does that indicate that the game is correctly communicating with Simtools and the issue lies elsewhere, from Simtools to the Arduino?

    Thank you very much noorbeast

    Attached Files:

    • st.JPG
      st.JPG
      File size:
      140 KB
      Views:
      210
  14. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,155
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,616Coins
    Ratings:
    +10,909 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Do you have a Default profile configured in Axis Assignments, as that is what Output Testing uses?
  15. John Snell

    John Snell Member

    Joined:
    May 31, 2021
    Messages:
    63
    Balance:
    190Coins
    Ratings:
    +59 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    That's definitely good information to keep in mind, but yes I have it set to Default profile.

    I've tried, unsuccessfully, turning off the Windows firewall in case it's blocking traffic from SimTools, but not from the SMC3 test util.

    Next plan is to uninstall/re-install Simtools, and if no luck then set it all up on another PC.
  16. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,155
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,616Coins
    Ratings:
    +10,909 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Just checking you are not running SimTools and SMC3 at the same time, as that will create a port conflict.
  17. John Snell

    John Snell Member

    Joined:
    May 31, 2021
    Messages:
    63
    Balance:
    190Coins
    Ratings:
    +59 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Solved!! I installed Simtools and LFS on another machine and it worked immediately!! Too easy considering how long I spent thinking I was missing something important and just didn't understand :-(

    Thanks to @noorbeast and @moaale, I realised that I wasn't far off, and to persevere. Thanks guys!

    Next step, is starting the full build.
    • Like Like x 1
  18. Chris_Beeves

    Chris_Beeves Active Member Gold Contributor

    Joined:
    May 31, 2019
    Messages:
    349
    Balance:
    2,016Coins
    Ratings:
    +244 / 4 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 4DOF
    Hey people!
    I’m struggling a bit with some stubborn Escon motor drivers. They say they want up to 5kHz PWM, and when I drive them with a simple sketch with 3.9kHz PWM they always work. However, when setting 5kHz in smc3 windows utility I get lots of errors and cut outs. I’d like to change the frequency in the arduino sketch, but how do I do that without having the utility overwriting it when I run it?
    Have a good one!
    /Chris
  19. Pierre Lalancette

    Pierre Lalancette Sir Lalancelot Gold Contributor

    Joined:
    Dec 11, 2016
    Messages:
    960
    Occupation:
    Tech Artist
    Location:
    Quebec, Canada
    Balance:
    7,785Coins
    Ratings:
    +896 / 6 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, 6DOF
    No, the sabertooth can take from 6 to 30 V. And it is not too big. I run small motors on it. Maybe your sabertooth is defective?
  20. Manes

    Manes Member

    Joined:
    Jun 12, 2020
    Messages:
    106
    Balance:
    179Coins
    Ratings:
    +12 / 0 / -0
    Maybe.... I go to try with a 2x32... A friend have one and he go to lend this days... Keep on touch. You Will have news this days....