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 SPS - Sabertooth Packet Serial PID motor driver sketch w/SoftStart

Discussion in 'SimTools compatible interfaces' started by BlazinH, Nov 10, 2016.

  1. Josh_Possa

    Josh_Possa Member

    Joined:
    Jan 25, 2021
    Messages:
    95
    Location:
    Catalunya
    Balance:
    454Coins
    Ratings:
    +26 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Motion platform
    Thanks, the reason why I can move the hall sensor is because of the elastic I'm using as transmission belt but if I install a non elastic and toothed belt that union is rock solid but the problem stills so it not seems to be the problem.

    Electrical interference is plausible but I do everything to try to mitigate it with no success, not only it didn't go away nor hsn't improve a little so the problem comes from somewhere else.

    As I showed in my last post I discovered that if I move the hall sensor the movements are completely clean so maybe the problem comes when the commands comes from the PC trough the USB Cable and it is taking interference. I try running SMC utils on another PC but the same problem with the same USB cable.

    I bought a good USB cable that maybe tomorrow will arrive. I'll get a try
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,566
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,214Coins
    Ratings:
    +10,782 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    USB can also relate to what else may share a controller: https://www.xsimulator.net/community/faq/simtools-usb-issues-can-cause-crashes.313/
    • Useful Useful x 1
  3. Josh_Possa

    Josh_Possa Member

    Joined:
    Jan 25, 2021
    Messages:
    95
    Location:
    Catalunya
    Balance:
    454Coins
    Ratings:
    +26 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Motion platform
    Well, I'have tried with two new and different shielded 2.0 cables but the problem does not go away. Even if the Arduino is the only thing connected to the PC.

    I also bought a USB 2.0 PCI card but I misunderstood the connection and is not compatible with my motherboard. Another possible solution is connect the arduinos to a powered hub to avoid the MoBo power it (I read something like that in a Arduino forum).

    How it is possible that if I move manually the hall sensor to see how the motor try to correct the position the motor runs well, without noise, smooth, as expected BUT if the commands comes from the PC it starts to run bad as s**t. In one hand I'm happy to see the motors&Sabertooth combo runs well but when the rig have to work with the PC it starts to troll me.

    There must be a solution I'm sure
  4. Josh_Possa

    Josh_Possa Member

    Joined:
    Jan 25, 2021
    Messages:
    95
    Location:
    Catalunya
    Balance:
    454Coins
    Ratings:
    +26 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Motion platform
    Hi again, is there an alternative code to manage the Sabertooth 2x60? I asked to Wanegain to know if his code is good for the 2x60 but without response.

    Yesterday I tested the "manual" moves with some load (55 Kg) to see how it performs and the motors works good, without that weird oscillate movements. The noise is present even if the motor is off (and then when the motor is on and moving the noise magnifies) so EMI from the motor seems not be the problem

    Surely I'll unmount a motor and will do tests in a bench to see how will be its behavior
  5. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,566
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,214Coins
    Ratings:
    +10,782 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Here are the FAQ Sabertooth code options: https://www.xsimulator.net/community/faq/arduino-codes-for-sabertooth-2x25-2x32-etc.137/
  6. Josh_Possa

    Josh_Possa Member

    Joined:
    Jan 25, 2021
    Messages:
    95
    Location:
    Catalunya
    Balance:
    454Coins
    Ratings:
    +26 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Motion platform