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

    ChuckyP Active Member

    Joined:
    Sep 21, 2020
    Messages:
    122
    Location:
    Chicago, IL
    Balance:
    748Coins
    Ratings:
    +63 / 0 / -0
    My Motion Simulator:
    3DOF
    It does appear as Pierre mentioned that the potentiometer is not centered and is outside the safe limits which will cause the motors to shutdown. With your motor arms centered you need to turn the potentiometer until the green line matches the blue line. Make sure you followed the instructions for setup and limit the power going into the motors until you verify the wiring is correct, or the motors can run away on you.
  2. deeph46

    deeph46 Member

    Joined:
    Mar 17, 2023
    Messages:
    109
    Balance:
    612Coins
    Ratings:
    +15 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF
    Is it possible to run dual Uno's in SImtools V3? I want to run 4 motors.
  3. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,094
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,246Coins
    Ratings:
    +10,892 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Yes you can, even more Arduinos if you want to.
    • Like Like x 1
  4. sci666

    sci666 Active Member Gold Contributor

    Joined:
    Mar 18, 2021
    Messages:
    186
    Location:
    Germany
    Balance:
    1,146Coins
    Ratings:
    +69 / 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
  5. deeph46

    deeph46 Member

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

    Peter_the _machinist Member

    Joined:
    Nov 16, 2020
    Messages:
    45
    Occupation:
    Mechanical Engineer (CAD,CAE)
    Location:
    Poland, Gdańsk
    Balance:
    354Coins
    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?
  7. deeph46

    deeph46 Member

    Joined:
    Mar 17, 2023
    Messages:
    109
    Balance:
    612Coins
    Ratings:
    +15 / 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
  8. Peter_the _machinist

    Peter_the _machinist Member

    Joined:
    Nov 16, 2020
    Messages:
    45
    Occupation:
    Mechanical Engineer (CAD,CAE)
    Location:
    Poland, Gdańsk
    Balance:
    354Coins
    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
  9. deeph46

    deeph46 Member

    Joined:
    Mar 17, 2023
    Messages:
    109
    Balance:
    612Coins
    Ratings:
    +15 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF
    Ahhh...yes that's it, 3 axis. I missleading the 4DOF means lol
  10. 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 ?
  11. sci666

    sci666 Active Member Gold Contributor

    Joined:
    Mar 18, 2021
    Messages:
    186
    Location:
    Germany
    Balance:
    1,146Coins
    Ratings:
    +69 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    nope, it must be the bigger one with ATmega328P Chip, as I know.
  12. deeph46

    deeph46 Member

    Joined:
    Mar 17, 2023
    Messages:
    109
    Balance:
    612Coins
    Ratings:
    +15 / 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>]??
  13. Pierre Lalancette

    Pierre Lalancette Sir Lalancelot Gold Contributor

    Joined:
    Dec 11, 2016
    Messages:
    955
    Occupation:
    Tech Artist
    Location:
    Quebec, Canada
    Balance:
    7,755Coins
    Ratings:
    +895 / 6 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, 6DOF
    Here were my connections with Mover.

    setting.jpg

    Pierre.
    • Like Like x 1
  14. deeph46

    deeph46 Member

    Joined:
    Mar 17, 2023
    Messages:
    109
    Balance:
    612Coins
    Ratings:
    +15 / 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?
  15. Pierre Lalancette

    Pierre Lalancette Sir Lalancelot Gold Contributor

    Joined:
    Dec 11, 2016
    Messages:
    955
    Occupation:
    Tech Artist
    Location:
    Quebec, Canada
    Balance:
    7,755Coins
    Ratings:
    +895 / 6 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, 6DOF
    Don't know. The channel I guess.
  16. Rico Mortis

    Rico Mortis New Member Gold Contributor

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

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

    Joined:
    Feb 9, 2007
    Messages:
    5,296
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,328Coins
    Ratings:
    +5,099 / 18 / -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
  18. Rico Mortis

    Rico Mortis New Member Gold Contributor

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

    deeph46 Member

    Joined:
    Mar 17, 2023
    Messages:
    109
    Balance:
    612Coins
    Ratings:
    +15 / 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
  20. Rico Mortis

    Rico Mortis New Member Gold Contributor

    Joined:
    Jul 7, 2022
    Messages:
    29
    Balance:
    84Coins
    Ratings:
    +5 / 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