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

    Rodeo5150 ROOKIE BUT LEARNING FAST Gold Contributor

    Joined:
    Mar 21, 2019
    Messages:
    222
    Location:
    Antioch, CA, United States
    Balance:
    1,251Coins
    Ratings:
    +53 / 0 / -0
    My Motion Simulator:
    Arduino, 6DOF
  2. Rodeo5150

    Rodeo5150 ROOKIE BUT LEARNING FAST Gold Contributor

    Joined:
    Mar 21, 2019
    Messages:
    222
    Location:
    Antioch, CA, United States
    Balance:
    1,251Coins
    Ratings:
    +53 / 0 / -0
    My Motion Simulator:
    Arduino, 6DOF
  3. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,159
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,640Coins
    Ratings:
    +10,909 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    • Like Like x 1
    • Winner Winner x 1
  4. Rodeo5150

    Rodeo5150 ROOKIE BUT LEARNING FAST Gold Contributor

    Joined:
    Mar 21, 2019
    Messages:
    222
    Location:
    Antioch, CA, United States
    Balance:
    1,251Coins
    Ratings:
    +53 / 0 / -0
    My Motion Simulator:
    Arduino, 6DOF
  5. Volvox

    Volvox New Member

    Joined:
    Jan 17, 2022
    Messages:
    19
    Location:
    Ukraine
    Balance:
    1Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, 4DOF
    Sorry for the stupid question, but for what reason there is no firmware for 4dof, for arduino uno with ibt-2 drivers?
  6. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,159
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,640Coins
    Ratings:
    +10,909 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    An Arduino with SMC3 can only handle 3 motors at 4096 PID updates per second, but you can use multiple Arduinos to control 4 or more motors.
    • Like Like x 1
  7. Volvox

    Volvox New Member

    Joined:
    Jan 17, 2022
    Messages:
    19
    Location:
    Ukraine
    Balance:
    1Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, 4DOF
    And why has no one tried to use stm32? And as one
    arduino working in 4dof mode with h-bridges sabertooth?
    • Informative Informative x 1
  8. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,159
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,640Coins
    Ratings:
    +10,909 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    • Informative Informative x 1
  9. Volvox

    Volvox New Member

    Joined:
    Jan 17, 2022
    Messages:
    19
    Location:
    Ukraine
    Balance:
    1Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, 4DOF

    I understood. Then one question remains why no one has yet come up with the 4dof-6dof firmware on stm32, because it is more powerful than arduino and has more outputs. Or simtools can only work with arduino libraries? Personally, my opinion is that it’s not very convenient to still use 2-3 arduino to control more than 3 motors ..
  10. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,159
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,640Coins
    Ratings:
    +10,909 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Existing code and solutions remain popular for budget projects. For more complex projects, 4-6DOF most have moved on to AASD15servos and controllers that can do 6DOF (rotary or actuator), plus make using the servos almost plug and play: https://www.xsimulator.net/community/faq/amc-aasd15a-servo-controller.351/
  11. Volvox

    Volvox New Member

    Joined:
    Jan 17, 2022
    Messages:
    19
    Location:
    Ukraine
    Balance:
    1Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, 4DOF
    Thanks for answers. Alas, for my country (Ukraine) AASD15 is too expensive and it is very difficult to order them from abroad..
  12. votrungchi

    votrungchi New Member

    Joined:
    Jun 18, 2021
    Messages:
    11
    Balance:
    61Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi @RufusDufus, Can I ask a question, why is this project source code not updated with the latest version on GitHub? Thanks.
  13. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,159
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,640Coins
    Ratings:
    +10,909 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    @RufusDufus has not been active since Oct 17, 2021, so it may be a while before you get a response.
  14. votrungchi

    votrungchi New Member

    Joined:
    Jun 18, 2021
    Messages:
    11
    Balance:
    61Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    2DOF
    Thank you for your quick reply, I have checked GitHub and the last update is 5 years ago version 0.7 but here on this topic, the latest version is 1.1.
  15. 0v3rkill

    0v3rkill Member

    Joined:
    Mar 24, 2022
    Messages:
    46
    Occupation:
    Programmer
    Location:
    Netherlands
    Balance:
    - 259Coins
    Ratings:
    +25 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    hi i have a small problem, and i hope some1 else also had the same before.
    i build myself a 2dof platform.
    everything works as it should, exept i used 360degrees hall censors instead of 180 degrees.
    The reason was that i couldn`t find any 180 degrees they where all sold out.

    the problem that i face now is that the motor goes outside of the limit`s that i setup, because the range is not the same as the 180 degrees.

    currently i have it setup so that the hall censor reads 500 when the motor is in the center position,
    but when i move the motor to the upmost position the censor will only read 750 value and not the 1000 that hits the limit.

    Is there a way for scaling in the software wich i can change in the code so that the censor will obey the motor limits?
  16. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,159
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,640Coins
    Ratings:
    +10,909 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    You can always gear a pot, but the way you describe this it sounds like the SMC3 settings need to be redone, when using a 360 Hall sensor you will lose some resolution but its tracking should be accurate.
  17. 0v3rkill

    0v3rkill Member

    Joined:
    Mar 24, 2022
    Messages:
    46
    Occupation:
    Programmer
    Location:
    Netherlands
    Balance:
    - 259Coins
    Ratings:
    +25 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    the sensor is mounted straigth to the motor in paralel with a flexibel tube. it follows the motor exactly.
    i have reset the software and reuploaded the basic software.

    it loads up the way it should but if my motors are both up to the maximum the green line will be halfway between the red and the blue line (because the sensor is also only halfway open)
  18. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,159
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,640Coins
    Ratings:
    +10,909 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Please post pictures of all of your settings.
  19. 0v3rkill

    0v3rkill Member

    Joined:
    Mar 24, 2022
    Messages:
    46
    Occupation:
    Programmer
    Location:
    Netherlands
    Balance:
    - 259Coins
    Ratings:
    +25 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    motor 1 has the same settings

    [​IMG]
  20. 0v3rkill

    0v3rkill Member

    Joined:
    Mar 24, 2022
    Messages:
    46
    Occupation:
    Programmer
    Location:
    Netherlands
    Balance:
    - 259Coins
    Ratings:
    +25 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino