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

    ahoenksiluman Member

    Joined:
    Nov 13, 2017
    Messages:
    91
    Location:
    indonesia
    Balance:
    89Coins
    Ratings:
    +47 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    do someone know how to use a3 channel to control the feedback gain..??

    i currently build 2dof rig mover...
  2. absyfadhel1

    absyfadhel1 Member

    Joined:
    Oct 19, 2017
    Messages:
    324
    Location:
    bahrain
    Balance:
    422Coins
    Ratings:
    +30 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
  3. motiondynamics

    motiondynamics Member Gold Contributor

    Joined:
    Apr 12, 2019
    Messages:
    172
    Balance:
    1,035Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, AC motor, SimAxe, Arduino, Motion platform, 6DOF
    Hello to all of you dear simulation colleagues.
    I'm going to start using SimTools shortly because a lot of my friends talk about it very well.
    I have never used the SimTools interface and I have never used the PID code (SMC3) because for a few days I have been trying to understand what I need and what to download.
    I am having difficulty knowing which version of SMC3 I should use for my electronic system (Arduino Uno R3 + Monster Moto).
    I think I understand that in the code I have to change a line (MODE1 or MODE2) to "MODE1" because my system requires 3 wires: 1PWM and 2 DIRECTIONS.

    QUESTIONS
    • Is the last (newest) version of the official SMC3 code I can use in MODE1 SMC3 v1.0?
    • In the code "SMC3" I have read 25Khz for Motor 1 and Motor 2, I have read 31Khz for Motor 3. Where is it possible to choose the frequency 25Khz and 31Khz? Where can I select the frequency, from SMC3Utils or Simtools?
    • In the SMC3 v1.0 code I saw "A5 - Motion scaler pot input". I would like to know what the A5r pin is for?
    I don't have very clear ideas, I would be grateful if you give me these answers because I want to start using Simtools right away and I have to purchase the license.
    Thank you
  4. André6969

    André6969 New Member

    Joined:
    Apr 5, 2021
    Messages:
    3
    Balance:
    22Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF
    Can someone explain-me why is the motor only folowing the inpute line (Blue) in one direction, i have cheked 100 times de conections but I cant figure it out.
    My conections are just like the ones in the foto .
    Any clue to solve it????

    Attached Files:

  5. 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
    You need to add more context, for example I presume from the wiring, though am not certain, your are using IBT2s, and if so have you specified Mode 2 in the code?

    In other words you really need to explain fully what you have and have not done.
  6. absyfadhel1

    absyfadhel1 Member

    Joined:
    Oct 19, 2017
    Messages:
    324
    Location:
    bahrain
    Balance:
    422Coins
    Ratings:
    +30 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    i got this problem before few week, the problem was the ibr-2 (-) or (+) wire not attached correctly i mean one of them not receive power from the psu check them
    • Like Like x 1
  7. Pierre Lalancette

    Pierre Lalancette Sir Lalancelot Gold Contributor

    Joined:
    Dec 11, 2016
    Messages:
    943
    Occupation:
    3D teacher
    Location:
    Quebec, Canada
    Balance:
    7,683Coins
    Ratings:
    +884 / 6 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, 6DOF
    Check your potentiometers wiring, as I not all potentiometer put the variation pin in the middle. I had that problem once.
  8. Ronan Design

    Ronan Design Roman Design - Custom MSFS Scenery

    Joined:
    Jun 4, 2021
    Messages:
    104
    Occupation:
    Web Designer, MSFS Scenery Designer
    Location:
    Toronto, Canada
    Balance:
    843Coins
    Ratings:
    +22 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Can SMC3 control brushless 36V hoverboard motors that use this kind of driver board?
    [​IMG]
  9. motiondynamics

    motiondynamics Member Gold Contributor

    Joined:
    Apr 12, 2019
    Messages:
    172
    Balance:
    1,035Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, AC motor, SimAxe, Arduino, Motion platform, 6DOF
    Hello everybody.
    I have been testing "SMC3 Utility" for a few days and I need some important answers.
    I think I understand that "SMC3 Utility" was created to program the Atmega328P EEprom (Frequency ... PID ... Limits ... etc), but I didn't understand one thing: programming the Atmega328P EEprom will take effect even while using SimTools?

    The following parameters are present in the "SMC3 Utility" software:

    Max Limits
    Clip Input

    Do these parameters replace those of Simtools "Axis Limiting"?
    I think I understand that Max Limits and Clip Input are like "limit switches", correct?

    Or are the limit switches the ones set in "Axis Limiting"?
  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 limits are set to define the range of movement available to SimTools, and how those limits are managed by the control board.

    Axis Limiting in SimTools is most commonly used where a given range could result in actual hardware damage, commonly with SCN actuators, or some other specific circumstance where there is a reason for limiting axis movement.
  11. motiondynamics

    motiondynamics Member Gold Contributor

    Joined:
    Apr 12, 2019
    Messages:
    172
    Balance:
    1,035Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, AC motor, SimAxe, Arduino, Motion platform, 6DOF
    Hi Noorbeast, thanks for the reply.
    Since I am not very familiar with this forum, I had also inserted this request for help in another section (already deleted) because I did not know which is the right place. Can I write in this section for information on SimTools software and "SMC3 Utility"?
    Last edited: Jun 10, 2021
  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
    This thread is specifically for SMC3, used as intended, and any post should be specific to that, if not a single dedicated thread of your own is where to post questions or progress related to your own intended project.
  13. motiondynamics

    motiondynamics Member Gold Contributor

    Joined:
    Apr 12, 2019
    Messages:
    172
    Balance:
    1,035Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, AC motor, SimAxe, Arduino, Motion platform, 6DOF
    Thank you for your support that you are giving me.
    I have a very important question for my experiments:

    I have to convert the PWM signal to analog (0-5 volts). To do this, I don't want to use the RC filter, but I prefer a ready integrated DAC. The question is simple: I read that SMC3 uses 10 bits [1024 passes] (see attached image), but in the SimTools manual I read that it uses 8 bits [255 passes] (see attached image). Should I use an 8-bit integrated DAC or a 10-bit integrated DAC?

    Thanks for your kindness and availability

    Attached Files:

    • 1.jpg
      1.jpg
      File size:
      270.8 KB
      Views:
      175
    • 2.jpg
      2.jpg
      File size:
      482.8 KB
      Views:
      164
    Last edited: Jun 10, 2021
  14. MarcelDv

    MarcelDv New Member

    Joined:
    Jul 4, 2021
    Messages:
    2
    Balance:
    8Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi All, i am unsure where i am going wrong, i am using Arduino Uno with a sparkfun monster motor driver. I have an issue with one motor not reversing, i have normal pod response, directions of movement with pods is responding as expected. If i swap motors and pod wiring the swaped motor works fine, at this moment my motor 1 will move in one direction only where motor 2 gives me normal movement up and down.. i have now replaced the MM drivers 4 times tonight i swapped the my last brand new MM driver and still motor one refuses to reverse.. i am using SMC3 version 1.. any advise.. it appears by the led’s on the MM that it is not recieving the reverse PWM signals, when moving down the dir+ led goes on and of, in the dead zone or on the boundry i can se the dir - lightly lights up when i move in the different direction the led stays off.. if i compare it with motor 2 which is working i get the impression the driver is not getting a reverse pwm.. tried all combinations with pwm max, pwm min.. so i do not know where to check next.. thank you in advance for your time.
  15. 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
    Have you tested the MM: https://www.xsimulator.net/community/faq/monster-moto-testing-before-use.158/
  16. MarcelDv

    MarcelDv New Member

    Joined:
    Jul 4, 2021
    Messages:
    2
    Balance:
    8Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF
    I have not, thank you will give that a try, the previous MM did work nice both directions and then just out of the blue i had this one way issue and could not get around it.. reading the issues around MM and watching this testing video i am honestly at a point where i am looking for a alternative motor driver to run my Wiper motors.. these MM seems to unreliable by some of the reading i have done now.. is there any good alternative your would recommend for such a motor controller.. something bullet proof if it exist hahaha
  17. 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
    Sabertooth are pretty bullet proof, but there are a range of other choices depending on your budget and spec needs: https://www.xsimulator.net/community/faq/motor-drivers.11/category
  18. Fedor2091

    Fedor2091 New Member

    Joined:
    Jul 1, 2021
    Messages:
    4
    Balance:
    - 95Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hello!!! Can you please tell me if MD13S is compatible with Cytron 13 Amp and SMC3 software? Thank you !!!
  19. Fedor2091

    Fedor2091 New Member

    Joined:
    Jul 1, 2021
    Messages:
    4
    Balance:
    - 95Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Crookedly wrote sorry !!! Is Cytron 13amp MD13S compatible with SMC3 software?
    Thank you !!!
  20. 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