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. 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
    Not only in v3! In v2 also you can run 6 channels with 6 arduinos
    • Like Like x 1
    • Agree Agree x 1
  2. deeph46

    deeph46 Member

    Joined:
    Mar 17, 2023
    Messages:
    116
    Balance:
    635Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF
    Awesome!! Going to upgrade into 4 axis.
    • Like Like x 1
  3. Peter_the _machinist

    Peter_the _machinist Member

    Joined:
    Nov 16, 2020
    Messages:
    45
    Occupation:
    Mechanical Engineer (CAD,CAE)
    Location:
    Poland, Gdańsk
    Balance:
    359Coins
    Ratings:
    +12 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    How you will achieve 4 axis with 4 motors? Coukd you provide some schematics?
  4. deeph46

    deeph46 Member

    Joined:
    Mar 17, 2023
    Messages:
    116
    Balance:
    635Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF
    Sorry, I meant that 4 motors like using actuator does (on 4 corners). Could I?
    • Like Like x 1
  5. Peter_the _machinist

    Peter_the _machinist Member

    Joined:
    Nov 16, 2020
    Messages:
    45
    Occupation:
    Mechanical Engineer (CAD,CAE)
    Location:
    Poland, Gdańsk
    Balance:
    359Coins
    Ratings:
    +12 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    So thos eill be 3 axis from 4 motors.
    • Like Like x 1
    • Agree Agree x 1
  6. deeph46

    deeph46 Member

    Joined:
    Mar 17, 2023
    Messages:
    116
    Balance:
    635Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF
    Ahhh...yes that's it, 3 axis. I missleading the 4DOF means lol
  7. Muneer Ahmed

    Muneer Ahmed New Member

    Joined:
    Jul 16, 2023
    Messages:
    1
    Balance:
    - 44Coins
    Ratings:
    +0 / 0 / -0
    i have not arduino uno. can i use arduino nano ?
  8. 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
    nope, it must be the bigger one with ATmega328P Chip, as I know.
  9. deeph46

    deeph46 Member

    Joined:
    Mar 17, 2023
    Messages:
    116
    Balance:
    635Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF
    If I use 2 Arduinos, what is the Output Interface code?

    Should be, [A<Axis1a>][B<Axis2a>][C<Axis1b>][D<Axis2b>]??
  10. 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
    Here were my connections with Mover.

    setting.jpg

    Pierre.
    • Like Like x 1
  11. deeph46

    deeph46 Member

    Joined:
    Mar 17, 2023
    Messages:
    116
    Balance:
    635Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF
    Appreciated, Thanks.
    So A axis assignment can be from any ports?

    BTW, what is the 'A' capital letter on the command refer to?
  12. 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
    Don't know. The channel I guess.
  13. Rico Mortis

    Rico Mortis New Member Gold Contributor

    Joined:
    Jul 7, 2022
    Messages:
    29
    Balance:
    84Coins
    Ratings:
    +8 / 0 / -0
    Guys what should the smc3 ino file be called arduino IDE keeps asking me to change its name..
    thanks in advance
  14. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,435
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    51,052Coins
    Ratings:
    +5,182 / 19 / -0
    The axis assignments you get your values from, axis A, B or C assignments.
    upload_2023-8-5_14-35-54.png

    For separate settings per Arduino, you could use.
    Arduino #1) [A<Axis1a>][B<Axis2a>][C<Axis3a>]
    Arduino #2) [A<Axis1b>][B<Axis2b>][C<Axis3b>]

    smc3.ino should be fine, but the ide will probably want to put the file into a folder.
    I have not see it ask me to rename anything personally.
    Hope this helps,
    yobuddy
  15. Rico Mortis

    Rico Mortis New Member Gold Contributor

    Joined:
    Jul 7, 2022
    Messages:
    29
    Balance:
    84Coins
    Ratings:
    +8 / 0 / -0
    awesome thanks guys
  16. deeph46

    deeph46 Member

    Joined:
    Mar 17, 2023
    Messages:
    116
    Balance:
    635Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF
    Thanks Yobuddy for the reply. I have successfully using 2 UNO's now.

    BTW, I want to use 10-turn potentiometer. What is the reliable wire wound potentiometer? Or better using something else type?

    Edit: Also, can I add limit switch to SMC3?
    Last edited: Aug 10, 2023
  17. Rico Mortis

    Rico Mortis New Member Gold Contributor

    Joined:
    Jul 7, 2022
    Messages:
    29
    Balance:
    84Coins
    Ratings:
    +8 / 0 / -0
    hi guys
    please help
    when i'm trying to upload sketch file to Arduino it flags up error in red "void setup ()" then stops
    cant figure it out .
    Thanks in advance
    Rico
  18. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,735
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    152,183Coins
    Ratings:
    +11,063 / 56 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  19. deeph46

    deeph46 Member

    Joined:
    Mar 17, 2023
    Messages:
    116
    Balance:
    635Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF
    I don't know if this help you out but did you install all related libraries with the sketch?

    deeph
  20. Edusfilms

    Edusfilms New Member

    Joined:
    Jul 13, 2023
    Messages:
    1
    Balance:
    - 94Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF
    Hello, I have done all the steps in the tutorial and SMC utils works well for me but in SimTools it does nothing for me. Anybody knows what could be the problem?