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 Help to diagnose 2DOF crash.

Discussion in 'SimTools DIY Version' started by Mike Stuart, Jul 25, 2019.

  1. iLLuac4

    iLLuac4 Active Member

    Joined:
    Jun 19, 2019
    Messages:
    130
    Balance:
    884Coins
    Ratings:
    +54 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi. Most of those Arduino clones have as a serial chip CH340 chip. Officialy the do support many boundrates. I know that they can be very sensitive with not supported boundrates. You can try 460800 in config and it should work.
  2. Mike Stuart

    Mike Stuart Member

    Joined:
    Jan 30, 2019
    Messages:
    51
    Location:
    Washington State
    Balance:
    383Coins
    Ratings:
    +26 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    I dont notice anything wrong running at 115200. Is there a reason I should bump it up to 460800?
    • Like Like x 1
  3. iLLuac4

    iLLuac4 Active Member

    Joined:
    Jun 19, 2019
    Messages:
    130
    Balance:
    884Coins
    Ratings:
    +54 / 0 / -0
    My Motion Simulator:
    2DOF
    Probably not. You can try if you want to since you know the reason now it is easy to test this bound rate 460800 and you will see if there is any difference.
  4. Trigen

    Trigen Active Member

    Joined:
    Nov 25, 2018
    Messages:
    484
    Balance:
    2,872Coins
    Ratings:
    +178 / 1 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Going to 115200 baud seems to have solved my issues as well!

    What if any are the effects of going lower?
    • Like Like x 1
  5. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,157
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,628Coins
    Ratings:
    +10,909 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Thanks for that, added to the FAQs here: https://www.xsimulator.net/community/faq/baud-rate-arduino-and-sabertooth.339/
  6. Trigen

    Trigen Active Member

    Joined:
    Nov 25, 2018
    Messages:
    484
    Balance:
    2,872Coins
    Ratings:
    +178 / 1 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    I tried that rate on mine and it didnt take that long for it to bug out. Its the only other baud rate that worked. except grounding and putting it to 115
  7. Mike Stuart

    Mike Stuart Member

    Joined:
    Jan 30, 2019
    Messages:
    51
    Location:
    Washington State
    Balance:
    383Coins
    Ratings:
    +26 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    @BlazinH Now it seems I cant get the SMCutil to communicate with the Arduino. I was going to ramp up the power a bit, and I get an error connecting. Simtools and everything else is working fine. Is this due to the new baud rate? Com port is correct. I grounded pin 8 and reset. Do I leave pin 8 grounded? At least I can use the rig now.......just wanted a bit more kp added, and to narrow up my limits for some safety factor.

  8. Trigen

    Trigen Active Member

    Joined:
    Nov 25, 2018
    Messages:
    484
    Balance:
    2,872Coins
    Ratings:
    +178 / 1 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Sadly it won't work with the new baud rate so you will need to unplug port 8 reset and set things up and then reconnect port 8 . I was going to mention this too and hope for an update that would allow us to use the smc app without going trough these hoops
    • Informative Informative x 2
    • Agree Agree x 1
  9. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,622Coins
    Ratings:
    +1,835 / 32 / -1
    I forgot to mention that. Unfortunately I don't have the source code for SMC3 Utilities and 500000 baud is its only option. And if I remember correctly its author stated a while back that it is on an old computer that he no longer uses so I don't know if he can even access it anymore.
    • Informative Informative x 2
  10. Trigen

    Trigen Active Member

    Joined:
    Nov 25, 2018
    Messages:
    484
    Balance:
    2,872Coins
    Ratings:
    +178 / 1 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Old Post but given that my problem is suddenly back I'll throw in a note.

    After I built my p1x rig and moved it I've not had any issues and it's been on 500. Now after a long time 7 8 months or so it's suddenly back and nothing has changed. Only thing I've done is move the rig back and forth a bit thinking it could be my usb cable being kinked but I've tested on a laptop and getting the same. It will work on 115 just fine but why? Theres no reasons why they should overload Both ardunio are genuine.
    • Like Like x 1
  11. ALXXX

    ALXXX 2Dof Motion in progress Gold Contributor

    Joined:
    Jan 21, 2021
    Messages:
    55
    Location:
    Stuttgart
    Balance:
    7Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF
    Hello, maybe you could help me again in this wonderful forum.

    I have the exact same problem with my rig. What do I have to do to ground pin 8? Is there a wiring plan maybe?

    I have no connection to the rig if i only change the baudrate to 115200.
    The problem that the motors are crashing after a while is really annoying
    Last edited by a moderator: Apr 11, 2021
  12. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,157
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,628Coins
    Ratings:
    +10,909 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    If the motors are crashing 'after a while' in SimTools, rather than SMC3, then that may be for other reasons, such as micro usb disconnects or needing to lower the Intensity Level % in Game Manager Profile Editor, to add a form of smoothing and hence reduce current spikes.
  13. ALXXX

    ALXXX 2Dof Motion in progress Gold Contributor

    Joined:
    Jan 21, 2021
    Messages:
    55
    Location:
    Stuttgart
    Balance:
    7Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF
    Thank you Noorbeast for your answer....i searched all topics with this problem and i tried different things.....i reduced kp in smc3 to 75...pwm max and pwm min to 180 ( also tried out down to 150 )
    Fpid in the moment is at 2....i tried out up to 4...
    I will make a foto later of my smc3 setup.
    In Simtools axis management i reduced to 80.
    And intensity i went down to 50.

    Sometimes i can ride 15 to 30 min, sometimes only 5 min til one of the motor crashes.
    Then I have to plug out the usb cable and start game engine new.

    The posts of mike and Blazin H were making me thinking about the baud changing
    In Smc3 i have no issues after putting the kp and the fpid down
    Last edited: Apr 11, 2021
  14. ALXXX

    ALXXX 2Dof Motion in progress Gold Contributor

    Joined:
    Jan 21, 2021
    Messages:
    55
    Location:
    Stuttgart
    Balance:
    7Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF
    Hello, i am back after studying the simtools manual again haha....i made some mistakes with the directions ( orange )
    After i corrected this i went to finetung.
    I had few tests since then with Forza 4 and F1 2020 playing on xbox.... no motor shaking, no problem. I hope it qill stay like this.....and I was motivated from this forum and made a windsim to my rig.
    Thumbs up for all the creative people here !! Awesome
    • Like Like x 2
  15. hannibal

    hannibal Active Member

    Joined:
    Sep 29, 2018
    Messages:
    677
    Balance:
    4,490Coins
    Ratings:
    +297 / 4 / -0
    My Motion Simulator:
    6DOF
    i been experiencing problems on my 6dof here.. im going to try @BlazinH solution to change the baud,,,

    anyone make a switch so at least they use SMC3 when needed?

    I have a Arduino Uno R3... not a knock off..
  16. hannibal

    hannibal Active Member

    Joined:
    Sep 29, 2018
    Messages:
    677
    Balance:
    4,490Coins
    Ratings:
    +297 / 4 / -0
    My Motion Simulator:
    6DOF

    did you also change your baud rate? @ALXXX
  17. ALXXX

    ALXXX 2Dof Motion in progress Gold Contributor

    Joined:
    Jan 21, 2021
    Messages:
    55
    Location:
    Stuttgart
    Balance:
    7Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF
    Hallo Hanibal, i will check the baudrate after my qork and will post my settings.
    i thought first, that i maybe should change it. But after studying simtools again i realized that my settings were not correct.
    After correcting these settings it seems to work.
    I will post my settings later
    In SMC3 i have no issues.
    Fpid --- 2
    Kp ---75
    Pwm max and rev ---- 180
    Pwm min---- 2
  18. hannibal

    hannibal Active Member

    Joined:
    Sep 29, 2018
    Messages:
    677
    Balance:
    4,490Coins
    Ratings:
    +297 / 4 / -0
    My Motion Simulator:
    6DOF
    thanks for your settings..
    slower baud rate means grounding pin 8.....
    so if u didnt ground pin 8, you are not doing anything baud rate related..
  19. ALXXX

    ALXXX 2Dof Motion in progress Gold Contributor

    Joined:
    Jan 21, 2021
    Messages:
    55
    Location:
    Stuttgart
    Balance:
    7Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF
    That was the question I asked myself. I also thought about changing the baud rate, but I didn't know how.
    After a week and a few attempts it now works with the baud rate 500000 or the 40 ...... I went back to the settings of simtools and changed my wrong settings. It seems that this was the solution.
    Hopefully. I'll drive a little longer on Saturday and see if the system remains stable
    Last edited by a moderator: Apr 21, 2021
  20. ALXXX

    ALXXX 2Dof Motion in progress Gold Contributor

    Joined:
    Jan 21, 2021
    Messages:
    55
    Location:
    Stuttgart
    Balance:
    7Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF
    Here are my default settings in the game engine.
    In the Game Manager Editor I fine-tune the number of desens.
    I've heard that this is correct and you may find it helpful

    Attached Files:

    Last edited by a moderator: Apr 21, 2021