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

Question Problem with SMC3 Arduino

Discussion in 'New users start here - FAQ' started by spyrates, Feb 29, 2024.

  1. spyrates

    spyrates New Member

    Joined:
    Feb 2, 2021
    Messages:
    16
    Balance:
    77Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    Hello friends, I have a problem with smc3, I can't get the green line, follow the blue line, please fix it.
    Last edited by a moderator: Mar 1, 2024
  2. 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
    Can you please detail the control boards being used, what motors, confirm the com port is correctly set, and please post pictures of all of your SMC3 settings.
  3. spyrates

    spyrates New Member

    Joined:
    Feb 2, 2021
    Messages:
    16
    Balance:
    77Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    [QUOTE="noorbeast, post: 246511, member: 10786
    QUOTE ]
    Can you please detail the control boards being used, what motors, confirm the com port is correctly set, and please post pictures of all of your SMC3 settings.[/QUOTE]

    Attached Files:

    Last edited by a moderator: Mar 1, 2024
  4. spyrates

    spyrates New Member

    Joined:
    Feb 2, 2021
    Messages:
    16
    Balance:
    77Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    b

    Attached Files:

  5. spyrates

    spyrates New Member

    Joined:
    Feb 2, 2021
    Messages:
    16
    Balance:
    77Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF

    Attached Files:

    • est.jpg
      est.jpg
      File size:
      10.2 KB
      Views:
      102
  6. spyrates

    spyrates New Member

    Joined:
    Feb 2, 2021
    Messages:
    16
    Balance:
    77Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    [​IMG]

    Attached Files:

    • si.jpg
      si.jpg
      File size:
      185 KB
      Views:
      296
    • si.jpg
      si.jpg
      File size:
      185 KB
      Views:
      99
  7. spyrates

    spyrates New Member

    Joined:
    Feb 2, 2021
    Messages:
    16
    Balance:
    77Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    I have a 24 volt linear actuator and I have attached the hall sensor to it but I can't get the green line of the hall sensor to follow the blue one and it doesn't move at all. The truth is I don't know how to configure it to follow it, and I'm lost.
    Last edited by a moderator: Mar 2, 2024
  8. spyrates

    spyrates New Member

    Joined:
    Feb 2, 2021
    Messages:
    16
    Balance:
    77Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    imagen_2024-03-01_193200344.png
    Last edited by a moderator: Mar 2, 2024
  9. spyrates

    spyrates New Member

    Joined:
    Feb 2, 2021
    Messages:
    16
    Balance:
    77Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    I don't know if the udp port 20017 port needs to be put somewhere, thanks friend for helping me
    Last edited by a moderator: Mar 2, 2024
  10. spyrates

    spyrates New Member

    Joined:
    Feb 2, 2021
    Messages:
    16
    Balance:
    77Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    proyec.jpg
    • Winner Winner x 1
  11. 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
    Has the SMC3 code been edited to MODE 2 for the IBT2s: https://www.xsimulator.net/community/threads/problems-with-my-simulator.15382/#post-207320

    Can you please confirm the Com Port is correct, you can do so in Device Manager.


    This is the official wiring guide for IBT2s:

    [​IMG]


    Have you checked the functioning of the IBT2s with a multi-meter?

    I am not sure how you got the settings you have with no feedback, these are the SMC3 setup steps: https://www.xsimulator.net/communit...3dof-motor-driver-and-windows-utilities.4957/

    I strongly recommend you 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
    Last edited: Mar 2, 2024
  12. spyrates

    spyrates New Member

    Joined:
    Feb 2, 2021
    Messages:
    16
    Balance:
    77Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    Has the SMC3 code been edited to MODE 2 for the IBT2?
    Yeah
    Last edited by a moderator: Mar 4, 2024
  13. spyrates

    spyrates New Member

    Joined:
    Feb 2, 2021
    Messages:
    16
    Balance:
    77Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    Have you checked the operation of the IBT2 with a multimeter?
    I think this may be the problem, how do I check it with a multimeter?
    I do the test that you told me and it doesn't move
    Last edited by a moderator: Mar 2, 2024
  14. spyrates

    spyrates New Member

    Joined:
    Feb 2, 2021
    Messages:
    16
    Balance:
    77Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    I changed the IBT2 for another one, it moved while doing the test and it stopped
    Last edited by a moderator: Mar 2, 2024
  15. spyrates

    spyrates New Member

    Joined:
    Feb 2, 2021
    Messages:
    16
    Balance:
    77Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    Then the source stopped and I removed it and the source started working again but when I plugged it in the source stops
    Last edited by a moderator: Mar 2, 2024
  16. 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
  17. spyrates

    spyrates New Member

    Joined:
    Feb 2, 2021
    Messages:
    16
    Balance:
    77Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    The two IBT2's have been screwed up doing the tests and also a power supply could be the positive and negative of the hall sensor, do they have to go the other way around?
  18. 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
    The Hall sensor should be marked for wiring.

    As mentioned earlier, this is the wiring from the SMC3 thread for IBT2s, though some members have also reported quality issues with the IBT2s:

    [​IMG]
  19. Serik

    Serik New Member Gold Contributor

    Joined:
    Dec 24, 2023
    Messages:
    3
    Balance:
    - 166Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Perhaps you set high settings in the utility and a strong current surge occurred.