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

    Thread Member

    Joined:
    Aug 25, 2014
    Messages:
    121
    Balance:
    295Coins
    Ratings:
    +15 / 1 / -0
    My Motion Simulator:
    2DOF, Arduino
    Tested with a DRP-240-24, and is OK.
    This PS can handle this.
    I will use two of these in parallel, with ~ 100.000 mikrofarads, so that the voltage would never drop.
  2. 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
  3. berty

    berty Member

    Joined:
    Sep 10, 2014
    Messages:
    72
    Balance:
    164Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    Arduino
    It occurred to me at all. But it works. Thank you. :)
  4. berty

    berty Member

    Joined:
    Sep 10, 2014
    Messages:
    72
    Balance:
    164Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    Arduino
    Why am I writing in SMCulits that the engines are off? All I got involved in Scheme MODE2. I use 24V wiper motors.

    Attached Files:

  5. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,952Coins
    Ratings:
    +1,016 / 10 / -1
    @berty, SMC3 has automatically disabled the motors because the feedback position is outside the limit zone (ie the green line is outside the outside red limit lines on the chart) This is a safety feature to prevent damage.

    Make sure your POTs are somewhere in the middle of the range before switching the arduino on. (Or you should be able to move the POTs back to the middle by checking the graph and then clicking the OFF button next to the motor)
  6. berty

    berty Member

    Joined:
    Sep 10, 2014
    Messages:
    72
    Balance:
    164Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    Arduino
    Okey. Thanks for your help. They are now ON. But when I want to be moved, set Out Mode, the engines are not moving at all. Why?
  7. insanegr

    insanegr !N$@n€

    Joined:
    Jan 14, 2014
    Messages:
    504
    Location:
    Athens
    Balance:
    16,718Coins
    Ratings:
    +499 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino

    is your potentiometer connected to your motor? it should be so motors can move if not turn it by hand to see what motor is doing, but you have to follow the steps described here first http://www.xsimulator.net/community...3dof-motor-driver-and-windows-utilities.4957/
  8. berty

    berty Member

    Joined:
    Sep 10, 2014
    Messages:
    72
    Balance:
    164Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    Arduino
    Yes, I have it connected correctly. Motor1 me a moment goes, then I switch the Motor2 let run for a while, then switch back to Motor1 and suddenly does not work.
  9. berty

    berty Member

    Joined:
    Sep 10, 2014
    Messages:
    72
    Balance:
    164Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    Arduino
    So the problem is solved. I had a lot of erroneous values in SMC3Ulits. :) I would still ask how it is possible to accelerate the engine? What needs to be set?
  10. 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
    PWMmax 240 and Kp 500...
    • Like Like x 2
  11. berty

    berty Member

    Joined:
    Sep 10, 2014
    Messages:
    72
    Balance:
    164Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    Arduino
    Thank you very much. Moment burned one H-bridge. :mad: Interestingly, just one that did not move, but never mind replace it and be fine. :)
  12. berty

    berty Member

    Joined:
    Sep 10, 2014
    Messages:
    72
    Balance:
    164Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    Arduino
    Okay. H-bridge replaced everything works, but when I try in simtools Outputtesting, so in the middle does not move. (red box-nothing happens, the green field- engine responds.) Why?
    simtools.png
  13. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,952Coins
    Ratings:
    +1,016 / 10 / -1
    There is quite a bit of discussion around this in posts 347-363 of this thread on pages 18 and 19...

    The short term solution that has worked for most people was found by @Jymä:

    "Got it working!!! Apparently it is a little bug or incompability in SimTools (or with SMC3 communication). I had the same thing with one other program. Though SimTools worked well with another Arduino code.

    If I have Finnish date and time format in windows (the bottom right clock shows now 9:41 18.10.2014) that problem occurs. If I change it to English (9:41 18/10/2014) it starts working! It can be tested by going to Control Panel->Clock, Language, and Region->Change the date, time or number format and put it to Finnish. And then launching SimTools again. Thank you for this motor driver!"


    Hope it solves your issue also. :thumbs

    The next release of Simtools will have a fix. The reason for the problem is noted in, post 363.
    • Friendly Friendly x 1
  14. berty

    berty Member

    Joined:
    Sep 10, 2014
    Messages:
    72
    Balance:
    164Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    Arduino
    Wuaaw, it's working. Thank you very much. I noticed that there is already such a problem is solved. Thank you again. :)
  15. berty

    berty Member

    Joined:
    Sep 10, 2014
    Messages:
    72
    Balance:
    164Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    Arduino
    As regards those of my H-bridge. They can be connected in parallel to each other? Because I have a pretty big engines and I am afraid that I was burned others.
    $_35.JPG
  16. Blame73

    Blame73 Well-Known Member

    Joined:
    Nov 6, 2014
    Messages:
    1,213
    Location:
    Italy
    Balance:
    8,283Coins
    Ratings:
    +1,120 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Just found this post; since I'm having ad arduino UNO delivered on monday, I think I'll follow these steps.
    Thanks!!
  17. 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
    According to the non existent specs I would not connect them in parallel mode. Furthermore these bridges are not recommended IMO. I had run into many issues using them.
    • Agree Agree x 1
  18. Thread

    Thread Member

    Joined:
    Aug 25, 2014
    Messages:
    121
    Balance:
    295Coins
    Ratings:
    +15 / 1 / -0
    My Motion Simulator:
    2DOF, Arduino
    What problems did you have? I have none so far [for a few days] on 24Volts.
    [not in parallel]
  19. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,952Coins
    Ratings:
    +1,016 / 10 / -1
    Specs for the IBT-2:
    [​IMG]

    Attached Files:

  20. berty

    berty Member

    Joined:
    Sep 10, 2014
    Messages:
    72
    Balance:
    164Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    Arduino
    I just left (top) while the engine is not run for long.