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

  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,738
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    152,201Coins
    Ratings:
    +11,065 / 56 / -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.
  3. absyfadhel1

    absyfadhel1 Active Member

    Joined:
    Oct 19, 2017
    Messages:
    346
    Location:
    bahrain
    Balance:
    550Coins
    Ratings:
    +37 / 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
  4. Pierre Lalancette

    Pierre Lalancette Sir Lalancelot Gold Contributor

    Joined:
    Dec 11, 2016
    Messages:
    1,006
    Occupation:
    Tech Artist
    Location:
    Quebec, Canada
    Balance:
    8,044Coins
    Ratings:
    +944 / 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.
  5. Ronan Design

    Ronan Design Roman Design - Custom MSFS Scenery

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

    motiondynamics Member Gold Contributor

    Joined:
    Apr 12, 2019
    Messages:
    206
    Balance:
    1,215Coins
    Ratings:
    +9 / 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"?
  7. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,738
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    152,201Coins
    Ratings:
    +11,065 / 56 / -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.
  8. motiondynamics

    motiondynamics Member Gold Contributor

    Joined:
    Apr 12, 2019
    Messages:
    206
    Balance:
    1,215Coins
    Ratings:
    +9 / 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
  9. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,738
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    152,201Coins
    Ratings:
    +11,065 / 56 / -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.
  10. motiondynamics

    motiondynamics Member Gold Contributor

    Joined:
    Apr 12, 2019
    Messages:
    206
    Balance:
    1,215Coins
    Ratings:
    +9 / 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:
      322
    • 2.jpg
      2.jpg
      File size:
      482.8 KB
      Views:
      313
    Last edited: Jun 10, 2021
  11. 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.
  12. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,738
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    152,201Coins
    Ratings:
    +11,065 / 56 / -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/
  13. 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
  14. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,738
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    152,201Coins
    Ratings:
    +11,065 / 56 / -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
  15. 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 !!!
  16. 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 !!!
  17. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,738
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    152,201Coins
    Ratings:
    +11,065 / 56 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  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
    Thank you!!!
    • Like Like x 1
  19. dope-walker

    dope-walker New Member

    Joined:
    May 6, 2019
    Messages:
    26
    Balance:
    240Coins
    Ratings:
    +3 / 1 / -0
    Hello,

    can anyone tell me pleace what a line in the code must i change when i want to use mode 2?


    // Set to MODE1 for use with a typical H-Bride that requires PWM and 1 or 2 direction inputs
    // Set to MODE2 for a 43A "Chinese" IBT-2 H-Bridge from e-bay or equiv

    #define MODE1

    // Uncomment the following line to reverse the direction of Motor 1.

    // #define REVERSE_MOTOR1

    // Uncomment ONE of the following lines to enable analogue input AN5 as a scaler for the motion values.

    // #define ENABLE_POT_SCALING
    // #define ENABLE_NON_LINEAR_POT_SCALING


    must i write #define Mode2 ??
    And this there must be uncomented or ?? // #define REVERSE_MOTOR1

    And when i have a linear pot i must uncoment the first of the two write?



    Thank you for helping me!
  20. sci666

    sci666 Active Member Gold Contributor

    Joined:
    Mar 18, 2021
    Messages:
    200
    Location:
    Germany
    Balance:
    1,220Coins
    Ratings:
    +72 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    Sorry for my stupid beginners question.

    so i have to use SMC3 Tools to setup all parameters first ? these parameters are stored in the arduino than right ? and these parameters stay until i reopen the util again and change anything?

    ... so theres no configuration of kimits and speeds and angles and stuff within SimTools or FlyPT?