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

Tutorial SMC3 Arduino 3DOF Motor Driver and Windows Utilities

Discussion in 'SimTools compatible interfaces' started by RufusDufus, Dec 1, 2013.

  1. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,148
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,584Coins
    Ratings:
    +10,903 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Is the computer set to English Local, or something else: https://www.xsimulator.net/community/faq/simtools-language-setting-bug-change-to-english-local.233/
    • Optimistic Optimistic x 1
  2. Andrew Eccles

    Andrew Eccles aceinnz Gold Contributor

    Joined:
    Jun 30, 2016
    Messages:
    31
    Location:
    New Zealand
    Balance:
    - 541Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
  3. Andrew Eccles

    Andrew Eccles aceinnz Gold Contributor

    Joined:
    Jun 30, 2016
    Messages:
    31
    Location:
    New Zealand
    Balance:
    - 541Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Screenshot 2020-11-02 231153.png
  4. Andrew Eccles

    Andrew Eccles aceinnz Gold Contributor

    Joined:
    Jun 30, 2016
    Messages:
    31
    Location:
    New Zealand
    Balance:
    - 541Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Should it be US and not UK? I changed it to Us - just to be sure. Still no joy. I realise that no single gaming PC is like another and there are so many variables. I really appreciate you trying to help me troubleshoot this. Hopefully, when solved, it will help others. I'm an IT technical writer and I'll possibly help write up a simplified user guide for this one day :)
    Last edited: Nov 2, 2020
  5. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,148
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,584Coins
    Ratings:
    +10,903 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Can you please disable whatever filter settings are configured, then advise what happens in Output Testing.
  6. Andrew Eccles

    Andrew Eccles aceinnz Gold Contributor

    Joined:
    Jun 30, 2016
    Messages:
    31
    Location:
    New Zealand
    Balance:
    - 541Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    All filters disabled - using Generic 2D basic. Still no response, The LED on the Arduino board lights up as soon as I click output testing though. no Filters.png .
  7. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,148
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,584Coins
    Ratings:
    +10,903 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Try copying and pasting this in your Interface Settings: [A<Axis1a>][B<Axis2a>]
    • Agree Agree x 1
  8. Andrew Eccles

    Andrew Eccles aceinnz Gold Contributor

    Joined:
    Jun 30, 2016
    Messages:
    31
    Location:
    New Zealand
    Balance:
    - 541Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Noorbeast to my rescue again! Awesome - that fixed the issue. I was using a lower case on the axis1a it should be Axis1a. These settings are case sensitive. Really happy to have my seat moving again.

    Interface-Settings-Case-Sensitive.png
    • Winner Winner x 1
    • Informative Informative x 1
    Last edited: Nov 3, 2020
  9. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,621Coins
    Ratings:
    +1,835 / 32 / -1
    I experienced this issue on Simtools 1.0 years ago, reported it to @yobuddy, and thought it was fixed. I must have just kept using an upper case 'A' since then but I don't see a reason why it needs to be case specific when it's enclosed between delimiters already and it just opens up a potential issue. Maybe he can fix it in Simtools 3.
    • Like Like x 1
    Last edited by a moderator: Nov 3, 2020
  10. iLLuac4

    iLLuac4 Active Member

    Joined:
    Jun 19, 2019
    Messages:
    130
    Balance:
    884Coins
    Ratings:
    +53 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi. I have build this 2dof https://www.xsimulator.net/community/threads/simlab-gt2-to-2dof-conversion.13948/ and I have noticed that if i press brake very strong the left motor after being pressed for some time just releases the power (turns off). This happens already under SMC3 configurator, so it has nothing to do with SimTools. It does not happen with the right motor. Both motors have the same configuration in SMC3.
    It is funny because if i press the right motor so hard the fuses burns and the motor does not release but the left one just releases like it would have been shutdown from controller.
    If I unplug and replug the usb to arduino the motors positions itself like it should. As a note the SMC3 does not turns off the motors.
    Does someone has an idea why this happens?
    • Like Like x 1
  11. Gadget999

    Gadget999 Well-Known Member

    Joined:
    Dec 27, 2015
    Messages:
    1,937
    Location:
    London
    Balance:
    11,850Coins
    Ratings:
    +474 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, 6DOF
    What are your settings in smc3 ?

    Is one of the motors turning in reverse ?
  12. tadek

    tadek Active Member

    Joined:
    Aug 17, 2020
    Messages:
    196
    Balance:
    548Coins
    Ratings:
    +34 / 2 / -0
    My Motion Simulator:
    2DOF
    Hi iLLuac4
    1. Check all wire connections
    2. Swap the connections between the motors
    connect the left engine to the right regulator
    and the right engine to the left regulator
    Best regards
    • Agree Agree x 1
  13. iLLuac4

    iLLuac4 Active Member

    Joined:
    Jun 19, 2019
    Messages:
    130
    Balance:
    884Coins
    Ratings:
    +53 / 0 / -0
    My Motion Simulator:
    2DOF
    Those are the settings. For other motor it is the same.

    I can not reverse pots because if i do that the motors turns off as a procedure of security settings.

    And since both motors are the same one is actually really turning in reverse (see the pictures). Could this be the problem?

    Attached Files:

    Last edited: Nov 10, 2020
  14. iLLuac4

    iLLuac4 Active Member

    Joined:
    Jun 19, 2019
    Messages:
    130
    Balance:
    884Coins
    Ratings:
    +53 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi. I have read on one post who has similar problem and was mentioned:
    "If I change the polarity (and switch 2 pot wires) the weak and strong direction in the motors change. If they are weak to lift after changing polarity they are weak to lower."

    Since my motors are both the same they are mounted in reverse (picture in above post). Could this be te reason?
    And if yes can i just change the polarity (+,-) of the motor or. do i need to do anything else because then up will be down?
  15. tadek

    tadek Active Member

    Joined:
    Aug 17, 2020
    Messages:
    196
    Balance:
    548Coins
    Ratings:
    +34 / 2 / -0
    My Motion Simulator:
    2DOF
    Hi
    In smc3 Pwm REV IS 200
    change to 20
    it is too much
    it is like braak
    best regards
    • Like Like x 1
  16. Gadget999

    Gadget999 Well-Known Member

    Joined:
    Dec 27, 2015
    Messages:
    1,937
    Location:
    London
    Balance:
    11,850Coins
    Ratings:
    +474 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, 6DOF

    i suggest you set pwm min to zero

    pwm max to 255
    pwmMrev to 0

    try 300 as your P number instead of 170
  17. moaale

    moaale IAN MRTIN

    Joined:
    Jun 29, 2011
    Messages:
    168
    Occupation:
    NN
    Location:
    ARGENTINA
    Balance:
    124Coins
    Ratings:
    +41 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, SimforceGT
    Hello people, I want to ask you a question. I am about to add 2 more motors to my simulator, as I would have to do with the SMC3 to configure axis 4, which would be the fourth motor, because with SMC3 I can configure axis1 axis2 and axis3 or with configure axis3 it would be.
  18. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,148
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,584Coins
    Ratings:
    +10,903 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    It would be best to use 2 MMs, Axis 1 and 2 one one MM and Axis 3 and 4 on the second MM.
  19. moaale

    moaale IAN MRTIN

    Joined:
    Jun 29, 2011
    Messages:
    168
    Occupation:
    NN
    Location:
    ARGENTINA
    Balance:
    124Coins
    Ratings:
    +41 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, SimforceGT
    I have in my 2dof on interface1 an arduino uno r3 with the pololu h bridge on axis 1 and 2 and I want to add an M.Monster shiel for interface2 with another one r3 and axis3 and axis4.
  20. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,148
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,584Coins
    Ratings:
    +10,903 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    That will work :thumbs