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

Question Simtools not work

Discussion in 'SimTools DIY Version' started by gigi, Jul 17, 2017.

  1. gigi

    gigi Active Member

    Joined:
    Nov 16, 2013
    Messages:
    466
    Balance:
    901Coins
    Ratings:
    +139 / 1 / -0
    My Motion Simulator:
    2DOF, JRK, 4DOF
    Hi ,
    My configuration is Sabertooth 2x32 and Arduino Uno with SMC3-SPS
    My setting is like describe in tutorial https://www.xsimulator.net/communit...ket-serial-pid-motor-driver-w-softstart.9277/
    Actualy i connect only one motor in sabertooth 2x32
    In SMC3 not problem, everything works, but in simtools outputtesting not work.
    I know that before you start simtools you do not have to close SMC3 utility. The ON / OFF button only works in ON so to stop the engine and close SMC3 turn the potentiometer out of range and then close.
    If I open tuning center the value ar 32767 and the buttons "Reset" "Capture Max Min" and "Save New Settings" not work
    Any idea to fix?

    thanks
    gigi

    Attached Files:

  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,548
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,106Coins
    Ratings:
    +10,777 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    You need to add the 'a' grouping, like this: [A<Axis1a>][B<Axis2a>]

    Set for 10bit binary output

    Baud rate 500000 , N , 8 , 1 (10ms delay)
  3. gigi

    gigi Active Member

    Joined:
    Nov 16, 2013
    Messages:
    466
    Balance:
    901Coins
    Ratings:
    +139 / 1 / -0
    My Motion Simulator:
    2DOF, JRK, 4DOF
    I'm using simtools 1.3 not simotools 2.0 so the [A<Axis1>][B<Axis2>] should be Ok.
    [A<Axis1a>][B<Axis2a>] is for simtools 2.0?

    I've just see my "output - bit range" is set to 8 and not to 10. I will modify the value and let you know if fix
    thanks
  4. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,548
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,106Coins
    Ratings:
    +10,777 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Sorry I presumed you were using SimTools 2, the rest applies though.
  5. Andy Booth

    Andy Booth Active Member

    Joined:
    May 3, 2017
    Messages:
    178
    Location:
    Malaysia
    Balance:
    430Coins
    Ratings:
    +55 / 0 / -0
    My Motion Simulator:
    3DOF
    Shouldn't the green Feedback line be following the blue Target line?

    I had no movement of my motors until I upped the (I think) FPwr. Sorry I can't remember which one I changed exactly. But I had the same problem with the motor doing nothing even though I was using the settings provided by the supplier. But when I played around with SMC3 I was able to make the motors work or not work just by altering the power to the motor (again, I think). It was only after that the supplier provided me with different settings for the motor I was using.
  6. gigi

    gigi Active Member

    Joined:
    Nov 16, 2013
    Messages:
    466
    Balance:
    901Coins
    Ratings:
    +139 / 1 / -0
    My Motion Simulator:
    2DOF, JRK, 4DOF
    The procedure I used for the test is as follows:I connected the potentiometer to the arduino board and the motor to the sabertooth.To test the operation I loosen the screw that secures the potentiometer to the motor. In SMC3 I placed the green line (feedback) inside the operating range and started the engine. In this situation obviously the potentiometer does not move and therefore the green line is flat and does not follow the blue line which instead indicates the movement of the motor. In the picture you see the jagged green line this is because while the engine is running, having just loosened the screw I hold the potentiometer with my hands. But I am confident that the potentiometer works well and when it is completely stationary the line is perfectly flat. As you can see in the picture I set "triangle" to check the motor movement back and forth. So the blue line will copy exactly the motion of the motor back and forth. In "motion" mode, of course, the blue line is linear and the motor rotates in one direction until the potentiometer is within the range. But obviously if I tighten the screw by fixing the potentiometer to the engine this turning brings the potentiometer out of range and then stops. I think that in smc3 everything works properly .... but maybe I'm wrong.After closing the smc3, tighten the screw that connects the potentiometer to the motor so that the same when moving moves with it the potentiometer.The problem is that in output testing the engine does not move.I also tried to start a game such as dirt rally. Simtools are "connected" but the engine absolutely does not move.
  7. gigi

    gigi Active Member

    Joined:
    Nov 16, 2013
    Messages:
    466
    Balance:
    901Coins
    Ratings:
    +139 / 1 / -0
    My Motion Simulator:
    2DOF, JRK, 4DOF
    just set 10bit binary output but motors not move
  8. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,164
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,194Coins
    Ratings:
    +5,037 / 16 / -0
    You have output testing on, so there is nothing to Capture and Save.
  9. gigi

    gigi Active Member

    Joined:
    Nov 16, 2013
    Messages:
    466
    Balance:
    901Coins
    Ratings:
    +139 / 1 / -0
    My Motion Simulator:
    2DOF, JRK, 4DOF
  10. gigi

    gigi Active Member

    Joined:
    Nov 16, 2013
    Messages:
    466
    Balance:
    901Coins
    Ratings:
    +139 / 1 / -0
    My Motion Simulator:
    2DOF, JRK, 4DOF
    Hi youbuddy! thanks.
    And then any idea abuot the reason simtool not work?
  11. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,164
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,194Coins
    Ratings:
    +5,037 / 16 / -0
    What do your axis assignments look like?
    In SimTools 1.3, you must have them assigned for it to do anything.
    Last edited: Jul 18, 2017
  12. gigi

    gigi Active Member

    Joined:
    Nov 16, 2013
    Messages:
    466
    Balance:
    901Coins
    Ratings:
    +139 / 1 / -0
    My Motion Simulator:
    2DOF, JRK, 4DOF
    yes in default I set roll and pich 100% just for test
  13. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,164
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,194Coins
    Ratings:
    +5,037 / 16 / -0
    SMC3 is a firmware for 3 motors.
    So you would need something like this:
    [A<Axis1>][B<Axis2>][C<Axis3>]
  14. gigi

    gigi Active Member

    Joined:
    Nov 16, 2013
    Messages:
    466
    Balance:
    901Coins
    Ratings:
    +139 / 1 / -0
    My Motion Simulator:
    2DOF, JRK, 4DOF
    thanks for reply.
    For my 4 dof I will use n.2 sabertooth 2x32 that support only 2 motors for each.
    At the moment just for testing I connect only 1 motor to my M1 saber 2x32.
    So in simtools "interface output" I must set [A<Axis1>][B<Axis2>][C<Axis3>] or only [A<Axis1>]?
    Other setting? in arduino?
  15. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,164
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,194Coins
    Ratings:
    +5,037 / 16 / -0
  16. gigi

    gigi Active Member

    Joined:
    Nov 16, 2013
    Messages:
    466
    Balance:
    901Coins
    Ratings:
    +139 / 1 / -0
    My Motion Simulator:
    2DOF, JRK, 4DOF
    Ok I'll will try and let you know. thanks for support
    • Like Like x 1