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

Problem with motor

Discussion in 'DIY Motion Simulator Building Q&A / FAQ' started by Simone86C, Mar 26, 2023.

  1. Simone86C

    Simone86C New Member

    Joined:
    Feb 1, 2022
    Messages:
    7
    Balance:
    3Coins
    Ratings:
    +0 / 0 / -0
    Good morning everyone,

    I'm building my first 2DOF platform but I'm having problems with the engines.
    My setup is as follows:

    - N°2 motor Motion Dynamics 12V, 200W, 180 RPM, 20Nm.
    - N°2 PSU Meanwell 12V, 320W
    - N°1 Arduino Uno R3
    - N°2 IBT-2 ( BTS7960B 43A)

    I did some tests with SMC3 and everything seemed to work but, the next day, both motors stopped moving.

    I assumed the motors were damaged and tested them separately from the rig and they work.
    I bought two more IBT-2 boards, installed them, but nothing changed.
    I don't know what it could be that's not working anymore.


    I am attaching some images of the test screen, of how I wired the boards and the Arduino code. Please give me a hand. Thanks to anyone who helps me. Cattura.JPG A.jpg B.jpg C.jpg
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,535
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,034Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Double check the port is correct in Device Manager.

    Is the Arduino genuine or a clone?
  3. Simone86C

    Simone86C New Member

    Joined:
    Feb 1, 2022
    Messages:
    7
    Balance:
    3Coins
    Ratings:
    +0 / 0 / -0
    Thanks for your help.
    Arduino is genuine and i check the COM port and it is correct.

    I have attached the image for the COM ports and everything seems ok. I have also attached the Arduino file that I uploaded.
    Cattura1.JPG Cattura1.JPG Cattura3.JPG
  4. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,535
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,034Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Following the SMC3 setup steps if you increase pwmmax further, as yours is set very low, do the motors start to move:
    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
    • Agree Agree x 1
  5. Simone86C

    Simone86C New Member

    Joined:
    Feb 1, 2022
    Messages:
    7
    Balance:
    3Coins
    Ratings:
    +0 / 0 / -0
    I re-ran the procedure you described and increased PWMax up to the allowed limit but nothing changed.

    The engines continue to stand still. As soon as I increase PWMax, I only hear for a moment a small noise from the engine, as if it wanted to turn.
  6. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,535
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,034Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Presuming SMC3 has been correctly installed that suggests a hardware fault, either the arduino or control boards.
  7. Simone86C

    Simone86C New Member

    Joined:
    Feb 1, 2022
    Messages:
    7
    Balance:
    3Coins
    Ratings:
    +0 / 0 / -0
    That's what I suspect too. I exclude the control boards considering the fact that I have a total of 4 new ones and the motors still don't work.
    Tomorrow I get a new ARDUINO and I'll try.
    I'll let you know.
  8. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,535
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,034Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    I asked earlier if the Arduino is a clone because clones are known to have issues, but it is rare for a genuine Arduino to be faulty, though not impossible.