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 Sabretooth TEST version

Discussion in 'SimTools compatible interfaces' started by RufusDufus, Jan 25, 2015.

  1. shaman

    shaman 2dof sim

    Joined:
    Nov 25, 2015
    Messages:
    43
    Location:
    Moscow
    Balance:
    - 965Coins
    Ratings:
    +14 / 1 / -0
    My Motion Simulator:
    2DOF
    why use 2 or more Arduino when you can on one Arduino + 2 Sabertooth 2x32, and more even 8 pieces.
    I found a solution for 4dof here https://www.xsimulator.net/communit...ket-serial-pid-motor-driver-w-softstart.9277/
    but only had to fix the code for 4dof.
    all thanks! sorry for my English :roll
  2. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,613Coins
    Ratings:
    +1,835 / 32 / -1
    You'll have to do more than just add motors to the sketch if you want it to run properly. Your smart move would be to go with the sketch noorbeast suggested or to use two arduinos but suit yourself.
    • Agree Agree x 1
  3. Evan Rowlands

    Evan Rowlands EMR Industries

    Joined:
    Jan 22, 2017
    Messages:
    190
    Occupation:
    business owner/ EMR industries
    Location:
    Melbourne Australia
    Balance:
    - 82Coins
    Ratings:
    +33 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform
    must easier and better with 2 uno's
  4. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,439Coins
    Ratings:
    +3,089 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    Good luck. I don't see the point, anyway each to his own. If you should have successfully coded a working scetch honestly let us know.
  5. shaman

    shaman 2dof sim

    Joined:
    Nov 25, 2015
    Messages:
    43
    Location:
    Moscow
    Balance:
    - 965Coins
    Ratings:
    +14 / 1 / -0
    My Motion Simulator:
    2DOF
    Everything works fine. To connect 2 Sabertooth 2x32 need, In packet serial mode, DIP switch 5 sets the packet serial address. The ON position sets address 128, and the OFF position sets the address to a user-definable alternate 129.
    In SMC3 sketch uncomment the line 1549-1585 for 3 motor work.
  6. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,439Coins
    Ratings:
    +3,089 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    From the thread you have quoted: "UPDATE Beta5 to Beta 6 on Nov 12, 2016 - commented out motor3 to optimize serial execution speed and because it likely won't be used anyway since only one motor channel on a second sabertooth can be used.

    Anyway let us know if you got 4 motors or more working with just one Ard. We are here because we never give up ;)
  7. shaman

    shaman 2dof sim

    Joined:
    Nov 25, 2015
    Messages:
    43
    Location:
    Moscow
    Balance:
    - 965Coins
    Ratings:
    +14 / 1 / -0
    My Motion Simulator:
    2DOF
    Hi.
    connected yesterday 3 of the motor. everything works fine.
    1 Arduino uno and 2 Sabertooth 2x32. 13 pin for Sabertooth 1 (address 128) for motor (1,2) and 13 pin for Sabertooth 2 (address 129) for motor (3). DEscribe 115200.
    in the sketch Sabertooth ST[2] = { Sabertooth(128, mySerial), Sabertooth(129, mySerial), };
    simtools work fine [A<Axis1>][B<Axis2>][C<Axis3>] Baud rate 500000

    Attached Files:

  8. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,047
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,980Coins
    Ratings:
    +10,884 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    You must not be using SimTools 2 if those Input Settings work, as they are from the old SimTools 1.3.

    The difference from SimTools 1.3 to SimTools 2 in setup is that in the Interface Settings instead of axis defined like this <Axis1> it now has designate grouping for a or b in SimTools 2 for each axis assignment, like this <Axis1a>
  9. shaman

    shaman 2dof sim

    Joined:
    Nov 25, 2015
    Messages:
    43
    Location:
    Moscow
    Balance:
    - 965Coins
    Ratings:
    +14 / 1 / -0
    My Motion Simulator:
    2DOF
    Yes I use SimTools 1.3

    Attached Files:

  10. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,047
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,980Coins
    Ratings:
    +10,884 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Please be aware that current plugins are not compatible with SimTools 1.3.

    Conditions apply but eligible DIY motion sim builders can request a free DIY SimTools 2.0 license, see here for details: https://www.xsimulator.net/request-diy-key-simtools/
    • Informative Informative x 1
  11. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,613Coins
    Ratings:
    +1,835 / 32 / -1
    Did you ever stop and ask yourself why someone would make the effort to add the necessary code for a third motor only to comment it out? Does it work, yes. Does it work fine, only if you don't mind signal clipping.
    Most people that can afford to build a rig can afford one more uno too in order to gain additional processing power but again suit yourself.
    • Agree Agree x 1
  12. shaman

    shaman 2dof sim

    Joined:
    Nov 25, 2015
    Messages:
    43
    Location:
    Moscow
    Balance:
    - 965Coins
    Ratings:
    +14 / 1 / -0
    My Motion Simulator:
    2DOF
    Ok. I also have SimTools 2.0 Pro. I use both versions.
    as the simulator will be ready, I will show the video
  13. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,439Coins
    Ratings:
    +3,089 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    fine, but then open a new thread in the appropriate forum. Thanks.
  14. Wanegain

    Wanegain Active Member

    Joined:
    Nov 6, 2013
    Messages:
    564
    Location:
    Bruxelles
    Balance:
    1,971Coins
    Ratings:
    +298 / 2 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 4DOF
    I wrote a sketch which can drive 3 Sabertooth 2x32 (6 motors) on one Arduino. As they are communicating using serial, it's not a big deal to have up to 6 motors on one Arduino (not Uno because I always keep an analog input to set the global power of motions).
    • Like Like x 1
  15. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,613Coins
    Ratings:
    +1,835 / 32 / -1
    That's great but were talking specifically about the SMC3 sabertooth sketches. I agree though its no problem driving 6 motors with an arduino . In fact you can drive up to 48 motors from a Mega if you want to but it all depends on how robust the PID control is and therefore how much time it takes to execute for each motor.
    Last edited: Nov 30, 2018
  16. sci666

    sci666 Active Member Gold Contributor

    Joined:
    Mar 18, 2021
    Messages:
    186
    Location:
    Germany
    Balance:
    1,146Coins
    Ratings:
    +69 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    Does this Version also works in Mode 2? I Just cloned my sabertooth setting arduino but want the additional Operate in Mode 2 with the cheap Motor driver