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

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,409Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    Please check the output of the MM motor channels by using a multimeter. I assume that the MM has serious issues switching the polarity of the motor output.
  2. RV10

    RV10 New Member

    Joined:
    Nov 8, 2016
    Messages:
    9
    Location:
    GERMANY
    Balance:
    168Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Thanks for your reply Pit :)
  3. RV10

    RV10 New Member

    Joined:
    Nov 8, 2016
    Messages:
    9
    Location:
    GERMANY
    Balance:
    168Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    I'm adding a video in a couple of minutes...
  4. RV10

    RV10 New Member

    Joined:
    Nov 8, 2016
    Messages:
    9
    Location:
    GERMANY
    Balance:
    168Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino


    [​IMG]

    Here's the video and the wiring of the MM. My other Motor was running the sinus curve nice, one attempt later it showed the same crappy behaviour like this motor :(

    Could it be possible that I made some mistake soldering the MM Pins? Are the MMs broken...?
  5. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,464
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,620Coins
    Ratings:
    +10,741 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    The video is marked private @RV10, you need to make it public.
  6. RV10

    RV10 New Member

    Joined:
    Nov 8, 2016
    Messages:
    9
    Location:
    GERMANY
    Balance:
    168Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Damn...Now it's public. Thanks Noorbeast ;)
    • Like Like x 1
  7. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,409Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    I fear that one channel of the MM is dead. For testing purposes please configure the MM as a standard dual channel motor driver and test each channel separately. If one one of the both A1 / A2 etc. channels is dead, the MM is crap.
    • Agree Agree x 2
    • Like Like x 1
  8. RV10

    RV10 New Member

    Joined:
    Nov 8, 2016
    Messages:
    9
    Location:
    GERMANY
    Balance:
    168Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Your suggestion was right, Pit...Only one channel of each MM shows the correct voltage and leads to a working motor. The other channel does nothing at all and the motor stands still.

    I'll buy some new ones and try again. Thanks for your help guys.
    Have a nice weekend :)
  9. RV10

    RV10 New Member

    Joined:
    Nov 8, 2016
    Messages:
    9
    Location:
    GERMANY
    Balance:
    168Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Installed a pair of BTS 7960 B because I don't have the motivation to test dozens of potentially faulty MMs to find a pair of working ones. Works like a charm now :) ... Easy wiring, robust design and no thermal problems #likeit
    • Winner Winner x 1
  10. auryza

    auryza Active Member

    Joined:
    Jun 12, 2013
    Messages:
    109
    Location:
    Lithuania
    Balance:
    4,325Coins
    Ratings:
    +76 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, Arduino
    Hello guys, Happy New year for you all !!!

    rooster-card2.jpg

    New year new challenges of course. @RufusDufus i have a problem with feedback. Very interesting things hapining. When i running my RIG on SMC3Utils v1.01, there is no problem at all, motion smoot, fast and acurate, look at the picture.

    Screenshot 2017-01-01 12.44.40.png


    But when i starting simtools, motors starting behave weird, look at second picture, all configuration seems good, i have tried play around bitrate no luck. The same happening over COM port either UDP.

    Screenshot 2017-01-01 12.50.52.png
    Screenshot 2017-01-01 13.03.30.png
    Screenshot 2017-01-01 13.27.21.png

    Maybe somebody have the same problem already ?

    My 2 DOF motion sim
    IMG_20170101_133626.jpg
    IMG_20170101_133643.jpg
    Last edited: Jan 1, 2017
  11. auryza

    auryza Active Member

    Joined:
    Jun 12, 2013
    Messages:
    109
    Location:
    Lithuania
    Balance:
    4,325Coins
    Ratings:
    +76 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, Arduino
    • Informative Informative x 1
  12. speedy

    speedy Well-Known Member

    Joined:
    Feb 1, 2012
    Messages:
    1,193
    Location:
    Alexandria , Egypt
    Balance:
    7,916Coins
    Ratings:
    +1,285 / 10 / -0
    My Motion Simulator:
    3DOF, AC motor, Arduino, Motion platform
    Hi @auryza ... In your pictures it seems like you're making the two programs communicate with the Arduino at the same time ... totally wrong ... run sim-tools and close the utility ... or run the utility and close sim-tools .
    • Agree Agree x 1
    Last edited: Jan 3, 2017
  13. auryza

    auryza Active Member

    Joined:
    Jun 12, 2013
    Messages:
    109
    Location:
    Lithuania
    Balance:
    4,325Coins
    Ratings:
    +76 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, Arduino
    Hi @speedy ,
    Actually i just wanna show that over UDP or Com port in "Simtools" behave strange. :) . Only one program communicating with arduino at the time not both .
    But now everything works perfect, problem was Windows 10 Region settings, you need just change date and time format, in my case should be English(Europe) dd/MM/yyyy.
    • Informative Informative x 1
  14. anatolie

    anatolie New Member

    Joined:
    Aug 7, 2015
    Messages:
    18
    Location:
    SPAIN
    Balance:
    118Coins
    Ratings:
    +1 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Thanks arduino is communicating with sim utilis moves the engines, how to configure sim tools with game
  15. auryza

    auryza Active Member

    Joined:
    Jun 12, 2013
    Messages:
    109
    Location:
    Lithuania
    Balance:
    4,325Coins
    Ratings:
    +76 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, Arduino
    Hi,
    Just chek "UDP Pass thru" field in SMC3 util. look at picture.
    4.JPG

    In simtools game engine interface settings make everything like on picture below, and your engines should go. If you still do not work, check the firewall settings, port 20017 is probably blocked

    5.JPG
  16. anatolie

    anatolie New Member

    Joined:
    Aug 7, 2015
    Messages:
    18
    Location:
    SPAIN
    Balance:
    118Coins
    Ratings:
    +1 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
  17. anatolie

    anatolie New Member

    Joined:
    Aug 7, 2015
    Messages:
    18
    Location:
    SPAIN
    Balance:
    118Coins
    Ratings:
    +1 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    [​IMG][​IMG]
    So this is good to start with

    Attached Files:

  18. anatolie

    anatolie New Member

    Joined:
    Aug 7, 2015
    Messages:
    18
    Location:
    SPAIN
    Balance:
    118Coins
    Ratings:
    +1 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
  19. auryza

    auryza Active Member

    Joined:
    Jun 12, 2013
    Messages:
    109
    Location:
    Lithuania
    Balance:
    4,325Coins
    Ratings:
    +76 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, Arduino
    First of all how many axis you using? 2 or 3? if 2, then you can remove [C<axis>3], COM port configuration seems good, on other hand "axis assignments" looks not good, just check my picture of axis assignments.
    And i found one strange thing on LFS game, if installation directory is "Programs Files (x86)", simtools not working, just move whole LFS directory to other for example C:\ and everything should go.

    6.JPG

    By the way here is SMC3 tutorial thread, if you have problem with configuration and other things just create new thread and community will help you.
    • Agree Agree x 1
  20. djritzzo

    djritzzo New Member

    Joined:
    Apr 30, 2016
    Messages:
    7
    Location:
    bilbao
    Balance:
    36Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, SCN5, Arduino
    I can not make it work, I'll try again