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

    Ryuuken29 New Member

    Joined:
    Jan 20, 2015
    Messages:
    10
    Location:
    Oslo, Norway
    Balance:
    268Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hi! I installed the pots on the motors but, now the green line has gone above the blue line. What should I dial in to fix it?
  2. Ryuuken29

    Ryuuken29 New Member

    Joined:
    Jan 20, 2015
    Messages:
    10
    Location:
    Oslo, Norway
    Balance:
    268Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    I meant the green line of feedback is above clip limit but, seems it's a POT related. I'm new to this software.
  3. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,451Coins
    Ratings:
    +3,091 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    more power on the motors? What happens if you test any motions in SimTools?
  4. Ryuuken29

    Ryuuken29 New Member

    Joined:
    Jan 20, 2015
    Messages:
    10
    Location:
    Oslo, Norway
    Balance:
    268Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    It was the pot position related to motor, so the clip limit relates to the movement of the feedback(green line), I'm stupid, didn't notice it. Problem fixed, just need to adjust the pot position. The motors are working with feedback :D
    • Like Like x 1
  5. DSSxSIM

    DSSxSIM Member

    Joined:
    Dec 24, 2015
    Messages:
    41
    Location:
    Taiwan
    Balance:
    151Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Awesome,
    hope you keep modify the recovery power, simtools's smooth function doesn't work at recovery after sway.
  6. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,236
    Location:
    Marseille - FRANCE
    Balance:
    20,975Coins
    Ratings:
    +2,089 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    hello DSSxSIM!

    you've already built your simpit and testing Simtools ?
    please share some pictures of your building :) we'd be delighted to see it

    yours
  7. DSSxSIM

    DSSxSIM Member

    Joined:
    Dec 24, 2015
    Messages:
    41
    Location:
    Taiwan
    Balance:
    151Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hi there,
    I bought a ready-done set on Taoboo(like eBay in China),
    I'm trying to make one by my own, so I'm studying on x-sim and here,
    and found out the one I brought was built base on SMC3,

    My idea is making a motion platform that I can simpley put a none motion racing seat on it,
    still learning on which firmware, what motor should I use.
    e10b914904b0008df8b7e1fdc676039e.JPG 未命名-2.jpg
  8. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,236
    Location:
    Marseille - FRANCE
    Balance:
    20,975Coins
    Ratings:
    +2,089 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I tried both softwares you're talking about: Simtools is the simpliest to use and very good with the biggest number of updated plugins!

    Never heard about "ready-done set"
    Could you please share the URL link? :)
  9. Historiker

    Historiker Dramamine Adict Gold Contributor

    Joined:
    Dec 16, 2010
    Messages:
    2,161
    Occupation:
    Retired
    Location:
    Michigan USA
    Balance:
    9,201Coins
    Ratings:
    +2,164 / 19 / -1
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform, 6DOF
    He means that he bought a ready to use simulator. :)
  10. Vaidotas

    Vaidotas New Member

    Joined:
    May 23, 2015
    Messages:
    1
    Location:
    Lithuania
    Balance:
    223Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, AC motor, SCN5, SCN6, SimAxe, Arduino, JRK, Joyrider, SimforceGT, Motion platform, 4DOF, 6DOF
    Hello everyone,
    So I'm new here, and I have a little trouble setting my prototype, my first two POTS are interfering somehow... I'm using 7k POTS, maybe they are too small, I've readed that @rafael_design had this issue and wondering if it realy helps to get bigger POTS becouse the interference isn't gone anywhere...
    And by the way @RufusDufus you are genius!!! Your software is amazing! It made my life much easier!! Thank you so much!!!
    Thanks in advance
  11. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,952Coins
    Ratings:
    +1,016 / 10 / -1
    It is unlikely the value of the POTs is the problem. Lower values are more immune to noise but will draw more current - not really an issue compared to what the motors draw.

    Post a video so we can see what the problem is.
    • Like Like x 1
    • Agree Agree x 1
  12. smaizys13

    smaizys13 New Member

    Joined:
    May 11, 2015
    Messages:
    6
    Balance:
    46Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    3DOF
    Thank you for quick response! that's amazing!

    So as you can see in the video, either first or second POT i adjust it reacts in SMC3 for both motors, either it's first or second. Third motor works perfectly. I dont know maybe i'm missing something, and they have to react like that, (i know that they are bonded) but when I run both motors they starts to act not like they schould. By the way I just bought new biger POTS and nothig different happened.
  13. smaizys13

    smaizys13 New Member

    Joined:
    May 11, 2015
    Messages:
    6
    Balance:
    46Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    3DOF

    This is what happends bet i run both of them, in SMC there is activated motor 2, but when I'm adjusting the first one, they both move....
  14. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,952Coins
    Ratings:
    +1,016 / 10 / -1
    Sounds like the POTs are connected to the wrong motors?
  15. stevemontuno

    stevemontuno Active Member

    Joined:
    Apr 24, 2015
    Messages:
    316
    Location:
    UK
    Balance:
    1,461Coins
    Ratings:
    +335 / 0 / -0
    My Motion Simulator:
    2DOF
    I just wanted to say thanks for the great tutorial and utilities program ,,, Cheers @RufusDufus
    • Like Like x 1
  16. smaizys13

    smaizys13 New Member

    Joined:
    May 11, 2015
    Messages:
    6
    Balance:
    46Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    3DOF
    Ok, I changed the POTS to differnet motors and nothing different happend, they still are acting strangely... It looks like they are bonded somehow. For exaple I turn on both motors (in picture they are off) and activate the first motor like in the picture below, but my both motors are moving, when they reaches the POT limits they starts to make noises....
    SMC3.png
  17. smaizys13

    smaizys13 New Member

    Joined:
    May 11, 2015
    Messages:
    6
    Balance:
    46Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    3DOF
    Found the problem!!! analog pins on arduino vas conected by a mistake, i removed that snot between A0 and A1 and everything is working now wery well!
    12789914_1133769336643064_1231160805_o.jpg
    • Like Like x 3
  18. TL1000S

    TL1000S New Member

    Joined:
    Mar 23, 2016
    Messages:
    25
    Location:
    China
    Balance:
    39Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    This is great! Thank you for sharing!
  19. Tim McGuire

    Tim McGuire "Forever a work in progress"

    Joined:
    Jul 26, 2015
    Messages:
    261
    Occupation:
    Electrical/Electronics Engineer
    Location:
    Canada
    Balance:
    2,181Coins
    Ratings:
    +314 / 2 / -0
    My Motion Simulator:
    3DOF, DC motor
    Hi,

    I've been trying to tune the PID loop running on SMC3, and I can't seem to get the Kd value to do anything...

    low Kd.png Ridiculous Kd.png

    On the left I have Kd set to a low value, and I'm getting overshoot in the step response of my sim. This is normal.
    On the right though, I have Kd set to it's maximum value, and I'm still not getting any damping of the motion in response to the squarewave. I can still change Ki, and Kp, and they behave normally. (Kp makes the sim move more sharply, Ki mostly just causes oscillations because there's barely any steady state error). I've tried changing it on both motors. Has anyone else had any problems with this? I'm using V0.7.
  20. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,451Coins
    Ratings:
    +3,091 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    @Tim McGuire as far as I can see your screen shots show me nothing special, the little overshoot is given by the hard movements of the SCM3 utility and later under "real conditions" hardly remarkable in the game.