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

help I do not know what to do Arduino + sabertooth

Discussion in 'DIY Motion Simulator Projects' started by dualclick76, Jul 12, 2015.

  1. dualclick76

    dualclick76 Active Member

    Joined:
    Mar 23, 2015
    Messages:
    163
    Location:
    italia
    Balance:
    11Coins
    Ratings:
    +40 / 0 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    asking for help from guru sim, I do not know what to do I have a lot of confusion in my head. you could be so kind as to show me all the steps of the various configurations? Arduino? sabertooth? simtools? thanks again for your kind and caring patience
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,155
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,616Coins
    Ratings:
    +10,909 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Last edited: Jul 12, 2015
  3. dualclick76

    dualclick76 Active Member

    Joined:
    Mar 23, 2015
    Messages:
    163
    Location:
    italia
    Balance:
    11Coins
    Ratings:
    +40 / 0 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    thanks noorbeast I looked but I could not, I do not know what to do with the configuration of the sabertooth Arduino
  4. dualclick76

    dualclick76 Active Member

    Joined:
    Mar 23, 2015
    Messages:
    163
    Location:
    italia
    Balance:
    11Coins
    Ratings:
    +40 / 0 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I looked but I could not, I do not know what to do on the configuration of the sabertooth to Arduino via USB with the program or you have to describe all the links in the post as I know only that there is no movement
  5. dualclick76

    dualclick76 Active Member

    Joined:
    Mar 23, 2015
    Messages:
    163
    Location:
    italia
    Balance:
    11Coins
    Ratings:
    +40 / 0 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    They are demoralized
  6. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,155
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,616Coins
    Ratings:
    +10,909 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  7. dualclick76

    dualclick76 Active Member

    Joined:
    Mar 23, 2015
    Messages:
    163
    Location:
    italia
    Balance:
    11Coins
    Ratings:
    +40 / 0 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I did not understand whether the configuration of the sabertooth is to be done with the enclosed software Describe, if it has to be connected with usb words need to be followed as a kid on the first day of school
  8. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,155
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,616Coins
    Ratings:
    +10,909 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    This covers the basics of installing the Arduino IDE and testing it if you have not already done so: https://learn.sparkfun.com/tutorials/installing-arduino-ide

    The code needs to be installed on the Arduino: http://www.xsimulator.net/community...ified-serial-working.136/download?version=296

    Yes the Arduino is connected via USB.

    And all other wiring and DPI switch positions are as per the picture: http://www.xsimulator.net/community...bertooth-using-simplified-serial-working.136/

    @Wanegain kindly created the code and directions so can likely assist if there are issues.
    Last edited: Jul 13, 2015
  9. zigzag49

    zigzag49 Active Member

    Joined:
    May 27, 2014
    Messages:
    251
    Balance:
    713Coins
    Ratings:
    +220 / 3 / -0
    My Motion Simulator:
    2DOF, Arduino
    Hello You want to build or what exactly it is already done and you want to configure?
    what type of sabertooth 2x25, 2x32?
    arduino uno?
    Last edited: Jul 13, 2015
  10. dualclick76

    dualclick76 Active Member

    Joined:
    Mar 23, 2015
    Messages:
    163
    Location:
    italia
    Balance:
    11Coins
    Ratings:
    +40 / 0 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    the simulator is already built to work with Arduino Leonardo 12v and monster moto shield and two engines Smolka 24v, then I wanted to run engines to 24v using Arduino + 2x32 sabertooth and supply 24v. I state that I have followed step by step what is written by winegain. but I do not understand how to configure the sabertooth, if the sabertooth must be connected to the PC with USB and use the program provided by the manufacturer. the software provided "describe"
    Last edited: Jul 13, 2015
  11. Paul Shortland

    Paul Shortland Active Member

    Joined:
    May 13, 2015
    Messages:
    154
    Location:
    Northampton - UK
    Balance:
    317Coins
    Ratings:
    +74 / 1 / -0
    My Motion Simulator:
    2DOF, AC motor
  12. dualclick76

    dualclick76 Active Member

    Joined:
    Mar 23, 2015
    Messages:
    163
    Location:
    italia
    Balance:
    11Coins
    Ratings:
    +40 / 0 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Thanks poul I took a look but I do not work, what can I do tests to see what is the problem?
  13. Paul Shortland

    Paul Shortland Active Member

    Joined:
    May 13, 2015
    Messages:
    154
    Location:
    Northampton - UK
    Balance:
    317Coins
    Ratings:
    +74 / 1 / -0
    My Motion Simulator:
    2DOF, AC motor
    Is everything set up but the motors do not move?

    If so then it's likely the DIP switches, mine had that problem. It could also be the comm speeds, they need to be different.

    The following was advice from Wanegain...

    - In simtools, the speed must be 9600
    - In Sabertooth 2x32 the speed must be 115200
    - On sabertooth switches 1 and 2 must be OFF.
  14. dualclick76

    dualclick76 Active Member

    Joined:
    Mar 23, 2015
    Messages:
    163
    Location:
    italia
    Balance:
    11Coins
    Ratings:
    +40 / 0 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    It is all set up and nothing moves'll try to do what you told me and let you know meanwhile thanks
  15. dualclick76

    dualclick76 Active Member

    Joined:
    Mar 23, 2015
    Messages:
    163
    Location:
    italia
    Balance:
    11Coins
    Ratings:
    +40 / 0 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    poul the two resistors I have to connect?
  16. zigzag49

    zigzag49 Active Member

    Joined:
    May 27, 2014
    Messages:
    251
    Balance:
    713Coins
    Ratings:
    +220 / 3 / -0
    My Motion Simulator:
    2DOF, Arduino
    Yes branch resistances on p1 and p2 + b connected to the sabertooth.
  17. zigzag49

    zigzag49 Active Member

    Joined:
    May 27, 2014
    Messages:
    251
    Balance:
    713Coins
    Ratings:
    +220 / 3 / -0
    My Motion Simulator:
    2DOF, Arduino
    Have you taken the XPID_SimTools1_23_2x32_serial code:

    -Set also your com port in device manager
    -in interface settings: adjust to 9600 baud
    output interface = XL <Axis1> CXR <Axis2> C 10ms
    shutdown output = 10ms XEOOC

    Arduino connection: A0 motor potentiometer 1
    A1 motor potentiometer 2
    pin 8 / S1 of the sabertooth
    gnd Arduino / 0V sabertooth

    Sabertooth course switch off 1 and 2



    As tu pris le code XPID_SimTools1_23_2x32_serial :

    -régler aussi ton port com dans gestionnaire périphérique
    -dans interface settings : regler a 9600 baud
    interface output = XL<Axis1>CXR<Axis2>C 10ms
    shutdown output = XEOOC 10ms

    connection arduino : A0 potentiomètre moteur 1
    A1 potentiomètre moteur 2
    pin 8 / S1 de la sabertooth
    gnd arduino / 0V sabertooth

    Sabertooth switch bien sur off 1 et 2
  18. Paul Shortland

    Paul Shortland Active Member

    Joined:
    May 13, 2015
    Messages:
    154
    Location:
    Northampton - UK
    Balance:
    317Coins
    Ratings:
    +74 / 1 / -0
    My Motion Simulator:
    2DOF, AC motor
    Yes you need them like this
  19. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,622Coins
    Ratings:
    +1,835 / 32 / -1
    @dualclick76, You do not need to use Describe software to use a Sabertooth in simple serial mode unless you use the 2x32 sabertooth. The link provided by noorbeast http://www.xsimulator.net/community/marketplace/arduino-code-2-dof-for-sabertooth-using-simplified-serial-working.136/ is all you should need to get up and running. Setting the dip switches on your Sabertooth as shown in the link sets the sabertooth to simple serial mode @ 38400 baud. The arduino will then communicate with it at that rate. In order to connect you arduino to Simtools, in the game engine interface settings, set “ComPort” to the port your arduino was assigned on your computer. Then use the rest of the settings as the picture of the game engine shows in the link. Assuming you have downloaded all the code and connected your pots and other wiring correctly to your arduino, you should now be good to go!

    Note: You must also install the sabertooth libraries on your arduino for this code to work as written.

    Ps. Let me know if you are using a Sabertooth 2x32 and I’ll explain what you need to do to get it working.
    • Informative Informative x 1
  20. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Use JRKS instead