1. 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!
  2. 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
  3. 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

Arduino Uno R3 code, for my H-Bridge (1PWM, 2DIR)

Discussion in 'SimTools compatible interfaces' started by motiondynamics, May 20, 2021.

  1. motiondynamics

    motiondynamics Member

    Joined:
    Apr 12, 2019
    Messages:
    56
    Balance:
    321Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, AC motor, SimAxe, Arduino, Motion platform, 6DOF
    Hello everybody,
    I am new to the forum and want to purchase SimTools to use with my system.
    My electronics are:

    Arduino Uno R3
    Bridge-H (1PWM, INA1-INA2)

    I got lost among the posts, I could not find the code for my Atmega328P (Arduino).
    Furthermore, I also need to know where I can find the electronic scheme

    Where can I download them from?
    Can you give me the link?
    Thank you
  2. Ads Master

    Ads Master

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
  3. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    16,888
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    122,662Coins
    Ratings:
    +9,683 / 47 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  4. motiondynamics

    motiondynamics Member

    Joined:
    Apr 12, 2019
    Messages:
    56
    Balance:
    321Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, AC motor, SimAxe, Arduino, Motion platform, 6DOF
    Hi noorbeast, the H-Bridge electronic board I use is the "Monster Motor Board" (MODE1), so it works with 3 wires:

    1 PWM
    2 DIRECTION


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

    2) In the "SMC3" code I read 25Khz for Motor 1 and Motor 2, 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 Simtools operating frequency (Khz), can you explain to me what frequency the code provides?

    3) 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", what use does it have?