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

SMC3 only 1 motor giving 1 rotation

Discussion in 'DIY Motion Simulator Building Q&A / FAQ' started by Diggle, Feb 6, 2023.

  1. Diggle

    Diggle New Member

    Joined:
    Dec 1, 2021
    Messages:
    6
    Balance:
    31Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    >>>>SOLVED<<<<

    Hello, i've been getting my rig up and running again. Last time i used it i used another software which is down so i cant use it anymore. The Arduino program stil ran fine after installing my recent new motors (Wheelchair) Instead of wiper motors.

    Now when i boot the SMC3 software in the Arduino, load up de smc utility's. I can see my pots giving feedback. But no motor is giving a kick. Once bumping the PWMmax around from 0 to 50, each step the right motor wil give 1 rotation. Every change of settings it wil do that.

    If i bump up motor 1, it wil activate this right motor. Also if i bump up motor 2 the same motor wil start turning. 1 spin and nothing more.

    I really dont know where i am going wrong, and i cant find the specific problem in the forum with a motomonster

    I am using a moto monster , it stil works with the other program so the board should be fine.
    Defined mode 1 in the smc3 program.
    upload_2023-2-6_10-8-16.png upload_2023-2-6_10-8-29.png upload_2023-2-6_10-10-19.png upload_2023-2-6_10-11-5.png
    Last edited: Feb 8, 2023
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,009
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,758Coins
    Ratings:
    +10,872 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Some suggestions.

    First check the MM: https://www.xsimulator.net/community/faq/monster-moto-testing-before-use.158/

    Then if all is fine ensure the pots are centered in SMC3 and attached to the motors.

    Then follow the SMC3 setup routine, I am suggesting starting from scratch as currently you have Max Limits at 0 and it is hard to guess how you came to decide the values you are currently using:
    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
  3. Diggle

    Diggle New Member

    Joined:
    Dec 1, 2021
    Messages:
    6
    Balance:
    31Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    The MM board should be fine, as of it had worked before. It stil works when i load the other program. Motors move according the pots. I wil reload the smc with the basic settings according the toturial. And try again
  4. zapata_h

    zapata_h Active Member

    Joined:
    Dec 25, 2013
    Messages:
    221
    Occupation:
    Industrial Maintenance Manager
    Location:
    España
    Balance:
    308Coins
    Ratings:
    +43 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor, Arduino
    What do you mean by the other program?
  5. Diggle

    Diggle New Member

    Joined:
    Dec 1, 2021
    Messages:
    6
    Balance:
    31Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    I previously used the x-sim software. Using their arduino program. But their website is down so i cant use it anymore. The program is standalone center. So when i boot that the pots wil center the motors no problems. When moving the pods the motors wil rotate the way they should.
  6. zapata_h

    zapata_h Active Member

    Joined:
    Dec 25, 2013
    Messages:
    221
    Occupation:
    Industrial Maintenance Manager
    Location:
    España
    Balance:
    308Coins
    Ratings:
    +43 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor, Arduino
  7. Diggle

    Diggle New Member

    Joined:
    Dec 1, 2021
    Messages:
    6
    Balance:
    31Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF

    Attached Files:

  8. Diggle

    Diggle New Member

    Joined:
    Dec 1, 2021
    Messages:
    6
    Balance:
    31Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    As i follow the program i see that later on they use the pin numbers instead of the directed pins in the top. Ill swap the wiring and test again. A shame i cant stack them
  9. Diggle

    Diggle New Member

    Joined:
    Dec 1, 2021
    Messages:
    6
    Balance:
    31Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    Redoing the wiring, like the picture of the toturial works. Downside is stack is not possibile which is very annoying because i need more space for the board.

    Motors behave as they should. Sorry for this dumb mistake..... Thanks alot for all help everyone, ill be back with my next stupid problem :):):):)

    Thank you hug:
    • Like Like x 1
  10. zapata_h

    zapata_h Active Member

    Joined:
    Dec 25, 2013
    Messages:
    221
    Occupation:
    Industrial Maintenance Manager
    Location:
    España
    Balance:
    308Coins
    Ratings:
    +43 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor, Arduino
    Indeed, the coupling is not correct due to the pin assignment, something was wrong