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

SMC3 code for Arduino Uno R3

Discussion in 'Miscellaneous' started by motiondynamics, May 21, 2021.

  1. 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 everyone, I have a "Monster Motor Board" (MODE1), which works with 3 wires:

    1 PWM
    2 DIRECTION


    I use Arduino Uno R3 in which I want to insert the SMC3 code, but I have some difficulties because I am new in this Forum and I don't know Simtools.
    I had used X-Sim, but I happily quit because it became obsolete and Forum absent, so I chose to use SimTools, but I need some answers from you.

    QUESTIONS
    1) The latest (newest) version of the official SMC3 code that I can use in MODE1 is SMC3 v1.0?

    2) In the code "SMC3" I read 25Khz for Motor 1 and Motor 2, I read 31Khz for Motor 3. But I also read in a thread that the frequency is 490Hz and with a new code it is possible to increase it up to 20Khz (link)
    I have a lot of confusion about the operating frequency of Simtools (Khz), can you explain to me what frequency the official code really provides?

    3) Where is it possible to choose the frequency 25Khz and 31Khz? Where can I select the frequency, from SMC3Utils or Simtools?

    4) In the SMC3 v1.0 code I saw "A5 - Motion scaler pot input". I would like to know, what is the A5r pin for?
    • Like Like x 1