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 Motors dont move

Discussion in 'SimTools DIY Version' started by Peln, Nov 3, 2023.

  1. Peln

    Peln New Member Gold Contributor

    Joined:
    Oct 24, 2023
    Messages:
    9
    Balance:
    55Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    hey guys, I'm new to motionsim. Where should I start... I have a 2DOF with arduino uno r3 and 2 Hbridges in mode 2 and two wheelchair motors. The rig is completely built and I can start the motors in the SMC3 and they adjust themselves. But as soon as I go into simtools the problems start. I entered all the parameters according to the instructions, the firewall off, smc3 off, PC in English. (I will upload pictures). As soon as I want to test the output and press turn on and move the sliders, nothing happens. On the Arduino, L lights up and the RX but not the TX. In the SMC3, however, L and TX light up and RX only lights up when the motors start up. I've been stuck for 3 days now and can't find a solution to my problem.
  2. Peln

    Peln New Member Gold Contributor

    Joined:
    Oct 24, 2023
    Messages:
    9
    Balance:
    55Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    20231103_110200.jpg 20231103_110358.jpg 20231103_110200.jpg 20231103_110358.jpg 20231103_110200.jpg 20231103_110358.jpg 20231103_110434.jpg 20231103_110502.jpg 20231103_110518.jpg 20231103_110216.jpg 20231103_110546.jpg 20231103_110555.jpg 20231103_112237.jpg 20231103_112243.jpg
  3. Peln

    Peln New Member Gold Contributor

    Joined:
    Oct 24, 2023
    Messages:
    9
    Balance:
    55Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Is there a discord where you can possibly have direct communication with a professional with know-how?

    I hope u can help me. this is my darkest hour
  4. 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,781 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Copy and paste this to the Interface Output - [A<Axis1a>][B<Axis2a>]

    And set BitsPerSec - 500000
    • Like Like x 2
  5. Peln

    Peln New Member Gold Contributor

    Joined:
    Oct 24, 2023
    Messages:
    9
    Balance:
    55Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    thanks for the quick reply. Is it possible to use 500,000 bitspersec even though my com11 for Arduino says 115,200 bps? I'll test the whole thing on Monday morning and let you know if it worked.
  6. 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,781 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Yes, BitsPerSec - 500000 is the recommended setting.
    • Like Like x 1
  7. Peln

    Peln New Member Gold Contributor

    Joined:
    Oct 24, 2023
    Messages:
    9
    Balance:
    55Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Thanks again for your help. Your solution solved my problem. The mistake was that I translated the page into German and achse and axis looked the same. I noticed that one of the motors lags a little. Can I somehow adjust how directly they record the signals?
  8. 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,781 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    I am glad it worked out.

    Any lag should really be addressed in SMC3, which may end up with slightly different settings for each motor because of small variations in hardware manufacturing.
    • Like Like x 1
  9. Swiffty

    Swiffty New Member

    Joined:
    Mar 28, 2017
    Messages:
    8
    Location:
    Slovakia
    Balance:
    36Coins
    Ratings:
    +2 / 0 / -0
    Hello guys, I have the same issue as you Peln... however I have done the same thing that I added this Output - [A<Axis1a>][B<Axis2a>]
    and set BitsPerSec to 500000. Does not work for me... :( I am getting crazy out of it. I am using the same config as you Peln, however I have also the VNH5019 - (https://www.pololu.com/product/1451) - in both cases I can move the motors with pots and the SMC3 utils, where I just put the KP to 400 and pwr up to 255 and then the motors move. When I try the simtools and move the sliders for roll and pitch, they dont move. PLEASE HELP :( I am already desperate out of it. I can send pics of my setup as well...
  10. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,167
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,248Coins
    Ratings:
    +5,038 / 16 / -0
    Simtools and the SMC3 utils app cannot run at the same time, is that maybe the problem?
  11. Swiffty

    Swiffty New Member

    Joined:
    Mar 28, 2017
    Messages:
    8
    Location:
    Slovakia
    Balance:
    36Coins
    Ratings:
    +2 / 0 / -0
    Hello Youbuddy, many many thanks, ill try it when I get to it and let you know.
    • Like Like x 1
  12. Swiffty

    Swiffty New Member

    Joined:
    Mar 28, 2017
    Messages:
    8
    Location:
    Slovakia
    Balance:
    36Coins
    Ratings:
    +2 / 0 / -0
    Hello Yobuddy. thanks, it worked for the wiper motors :) however I have now stronger motors, they are 24v, 550kw, 30A and I have the power source 24V, 600W but only 25A, the motors keep like shutting down, is that due to the power source?
  13. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,167
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,248Coins
    Ratings:
    +5,038 / 16 / -0
    Are the wiper motors ground isolated?
    Where the ground wire of the motor is connected to the casing of the motor,
    Then when connected to a frame, it grounds out other things connected to the metal frame.

    Do they shutdown if no one is riding the sim?
    Less weight, so less power required to move the sim is my thought.
    If they don't shutdown, then its probably not a grounding issue, and you probably just need more power.
    Chat soon!
    yobuddy
  14. Swiffty

    Swiffty New Member

    Joined:
    Mar 28, 2017
    Messages:
    8
    Location:
    Slovakia
    Balance:
    36Coins
    Ratings:
    +2 / 0 / -0

    Hello, noone is riding the sim, as I mounted the stronger motors, as I wrote before, the power source is only 25A and the motors are 30A... they are not grnd isolated, so I try this and put it on the frame, however I was thinking about the grnd on arduino, is that ok? anyway, ill try it first on the frame and also ill try another power source which will be at least 30A, because I have feeling it is causing the issue...
    many thanks for your support mate...
    Denis
  15. 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,781 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Can you please post pictures of all of your settings.