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

Optimising SMC3 Settings

Discussion in 'New users start here - FAQ' started by burcin, Jan 7, 2025.

  1. burcin

    burcin New Member

    Joined:
    Nov 29, 2024
    Messages:
    8
    Balance:
    - 26Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    Arduino
    Very new bei question.

    I have only Motor1 connected, and as per SMC3 tutorial I ended up like below.

    Motor spins normal to me but what is the ideal movement of the motor I do not know.

    What should I try to catch with all these settings?

    Should I move to Simtools now or there are things to do with SMC3 settings?

    Thanks in advance.

    upload_2025-1-7_17-7-58.png

    Attached Files:

  2. Attyla.pl

    Attyla.pl Active Member

    Joined:
    Oct 1, 2023
    Messages:
    250
    Location:
    Polska
    Balance:
    1,101Coins
    Ratings:
    +71 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    You are using an old version of arduino code try version 1.0
    • Like Like x 1
  3. burcin

    burcin New Member

    Joined:
    Nov 29, 2024
    Messages:
    8
    Balance:
    - 26Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    Arduino
    I did some search but can not find the v1.0 download link so far.
    :(
  4. burcin

    burcin New Member

    Joined:
    Nov 29, 2024
    Messages:
    8
    Balance:
    - 26Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    Arduino
  5. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,395
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    150,025Coins
    Ratings:
    +10,993 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Have you followed the SMC3 setup steps and if so which one failed: https://www.xsimulator.net/communit...3dof-motor-driver-and-windows-utilities.4957/

    Follow the steps below if this is the first time you are using SMC3 with your simulator to reduce the risk of damaging anything.

    1. Disconnect the motor power supply
    2. Make sure Simtools is not running – we’re not ready for that yet!
    3. Wire up the Arduino (with SMC3 installed) to your H-Bridges and connect to your computer via USB
    4. Run the Windows SMC3 Utility software and make sure it communicates with the Arduino (There is no need to set baud rates, they are not configurable)
    5. Set the Kp, Ki, Kd, PWMmin, PWMmax, PWMrev to 0 for ALL motors (This will make sure the motors don’t move)
    6. Set Clip to 255 (you need to do this first) and Limit to 255 (This will give you plenty of margin if something goes wrong while setting up)
    7. Turn on the power to your motors – nothing should move at this stage!
    8. Set Kp to about 400
    9. Now slowly, increase PWMmax… at some point the motor should start to move. When it does check the “Green” feedback line is moving toward the “Blue” target position.
      • If it is then that motor and feedback is wired correctly - proceed to test other motors.
      • If it is moving away turn off motor power immediately (or quickly reduce PWMmax again). In this case you need to either reverse the wires to the motor being tested –OR– reverse the +5V and GND wires to your feedback pot for the motor being tested (do not do both). Restart the test from the beginning.
    10. Do the above for each motor