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. prophet.id

    prophet.id BOSeTAMPER's Rotary Servo 6dof Build

    Joined:
    Mar 11, 2024
    Messages:
    50
    Balance:
    193Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    Y

    But I was still confused why Roll always on Axis 1, Pitch on Axis 2, Yaw on Axis 3, etc. Is this relate with the 'Generic 3D rotating' I am using? Sort of a template that is specific for 6DOF, maybe?
    [​IMG]

    Perhaps, I need to use "Generic 2D advance" Axis plugin, so I can follow your approach?
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,421
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    150,181Coins
    Ratings:
    +10,998 / 55 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    May I suggest you start by mapping USB controller allocations, please see the FAQs here: https://www.xsimulator.net/community/faq/simtools-usb-issues-can-cause-crashes.313/
  3. Pietbrok85

    Pietbrok85 New Member

    Joined:
    Jan 16, 2025
    Messages:
    9
    Occupation:
    Retired
    Location:
    Venlo
    Balance:
    35Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    With the command:
    //#define REVERSE_MOTOR1 I can reverse the direction of motor1, How can i change motor direction for Motor 2 or Motor3 (motor output and hall sensor input) without do any rewiring.
    Arduino Uno R3, SMC Utils V1.0
    Thanks for any help! Kind regards, Piet

    p.s. I found that the change in motor direction is automatically corrected in SimTools (V3) so no need to change it in SMC3
    Last edited: Mar 9, 2025
  4. Jodino

    Jodino New Member

    Joined:
    Dec 9, 2024
    Messages:
    21
    Location:
    The Netherlands
    Balance:
    87Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    I am curious. I have uploaded the smc3 sketch to my Arduino. Then I tuned the motors with smc3ultility. How does this affect the sketch on the Arduino? I think not?
    Do I need to changes the values from smc3utility in the sketch myself?

    anyway I did change the sketch manual. But I could not find every value setting from smc3ultily in my smc3 sketch. Because of other names? Is there a conversion list so I don’t make mistakes?

    whatever I did, it is working.. but I want to tweak my settings and am not sure this above.
  5. prophet.id

    prophet.id BOSeTAMPER's Rotary Servo 6dof Build

    Joined:
    Mar 11, 2024
    Messages:
    50
    Balance:
    193Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    I believe those 'saved values on the Utility' are stored in the ROM memory in the Arduino board.
    Any tweaking of the SMC3 firmware (as motor's parameters) is only possible on the Utility app.
  6. Jodino

    Jodino New Member

    Joined:
    Dec 9, 2024
    Messages:
    21
    Location:
    The Netherlands
    Balance:
    87Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    I did not read about this.
    Ok, So they might overrule the sketch settings?
  7. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,421
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    150,181Coins
    Ratings:
    +10,998 / 55 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  8. Attyla.pl

    Attyla.pl Active Member

    Joined:
    Oct 1, 2023
    Messages:
    252
    Location:
    Polska
    Balance:
    1,103Coins
    Ratings:
    +72 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    SMC3Utils automatically saves the engine settings in Arduino memory, sketch .smc3.ino you upload only once and you do all the settings in SMC3Utils which saves them autmatically
  9. prophet.id

    prophet.id BOSeTAMPER's Rotary Servo 6dof Build

    Joined:
    Mar 11, 2024
    Messages:
    50
    Balance:
    193Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF

    Attached Files:

    • Like Like x 1
    • Useful Useful x 1
  10. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,421
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    150,181Coins
    Ratings:
    +10,998 / 55 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Thanks so much for sharing your work :thumbs

    I have added it to the SMC3 section of the FAQs, with credit to yourself: https://www.xsimulator.net/community/faq/arduino-code-for-use-with-various-hardware-and-simtools.31/
    • Like Like x 1
  11. prophet.id

    prophet.id BOSeTAMPER's Rotary Servo 6dof Build

    Joined:
    Mar 11, 2024
    Messages:
    50
    Balance:
    193Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    • Like Like x 1