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. Marcos Loeps

    Marcos Loeps New Member

    Joined:
    Sep 26, 2018
    Messages:
    7
    Balance:
    178Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Hi folks,
    Figured it out. I was using a soldering iron that was too hot and it was damaging the pots every time. Bought a decent iron and spent the least amount of time possible to solder the pots.
    Also used a shielded cable for the pot connections.
    Works like a charm now.
    • Like Like x 1
    Last edited: Nov 27, 2018
  2. George Dobransky

    George Dobransky Active Member

    Joined:
    Sep 29, 2016
    Messages:
    222
    Location:
    Hungary
    Balance:
    - 13Coins
    Ratings:
    +130 / 4 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    Hi guys,

    Can anyone tell me which lines I have to change in the SMC code, if I want to use 5 Kohm pots?

    Thanx,
    George
  3. polybasss

    polybasss Member Gold Contributor

    Joined:
    Sep 26, 2018
    Messages:
    100
    Location:
    Burgos Spain
    Balance:
    165Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Hello, thanks for the great work done @RufusDufus , I changed my wiring to work with smc3, everything works fine, the movements are fine but I do not feel the vibrations when stepping on the pianos or the irregularities of the terrain, what should I adjust for this?

    Very thanks one more time
  4. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,144
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,559Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Sounds like you need to adjust your heave settings in SimTools Game Engine and Tuning Center: https://www.xsimulator.net/community/faq/steps-to-create-a-motion-profile.228/
    • Like Like x 1
  5. kareltje

    kareltje New Member

    Joined:
    Oct 12, 2018
    Messages:
    5
    Balance:
    132Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hallo
    ik heb een probleem met SMC3Utility alles werkt perfect alle motoren doen het goed, maar in simtools en ik test op as1 als motor1 beweegt en stopt en hij doet niets meer dan ga ik terug na SMC3Utility alles werkt weer perfect ga opnieuw na simtools weer dezelfde motor gaat snel naar 1 kant op -96 en stopt met niets meer doen wat het probleem kan zijn

    gr cart
  6. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,144
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,559Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Please be aware that you can dual language post but it is part of the Forum Rules that you also include English, doing so via Google Translate is fine: https://www.xsimulator.net/community/threads/forum-rules.9527/

    I have taken the liberty of doing the Google Translation for you.

    Google Translate:
    Hello
    I have a problem with SMC3Utility everything works perfectly all engines do well, but in simtools and I test on as1 when motor1 moves and stops and he does nothing more then I go back after SMC3Utility everything works perfectly again go again after simtools again the same engine quickly goes to one side on -96 and stops doing nothing more what the problem can be

    gr cart

    To assist troubleshooting can you please post pictures of all of your settings.
  7. kareltje

    kareltje New Member

    Joined:
    Oct 12, 2018
    Messages:
    5
    Balance:
    132Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
  8. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,144
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,559Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  9. ne02005

    ne02005 Member

    Joined:
    Sep 19, 2009
    Messages:
    124
    Location:
    Argentina
    Balance:
    105Coins
    Ratings:
    +29 / 1 / -0
    My Motion Simulator:
    3DOF
    me too. I have the same problem.

    Have you resolved the piano vibrations???
    Last edited: Nov 10, 2018
  10. kareltje

    kareltje New Member

    Joined:
    Oct 12, 2018
    Messages:
    5
    Balance:
    132Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hey
    I've tried with these settings [A <Axis1a>] [B <Axis2a>] but he still does not do anything to get what I can do now help me
    gr cart
  11. kareltje

    kareltje New Member

    Joined:
    Oct 12, 2018
    Messages:
    5
    Balance:
    132Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
  12. polybasss

    polybasss Member Gold Contributor

    Joined:
    Sep 26, 2018
    Messages:
    100
    Location:
    Burgos Spain
    Balance:
    165Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    no, I've broken an engine, so until next week the tests are over

    no, he roto un motor, así que hasta la semana que viene se acabaron las pruebas
    • Like Like x 1
  13. MuñozChile2dof

    MuñozChile2dof 2 DOF SIMULATOR ARDUINO AND IBT-2 Gold Contributor

    Joined:
    Mar 18, 2016
    Messages:
    36
    Occupation:
    Hydraulic technician
    Location:
    CHILE
    Balance:
    54Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    hi everyone
    this is my setup i test everything and works ok but without weight, and that's the problem. Whit weight the motors turns and not keep in position. Someone have the same problem ? I change parameters in smc3 utilities but i don't have good results.
    this have solution? or i have to change the design of my sim? thanks guys have a nice week

    Attached Files:

  14. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,144
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,559Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    There is a significant design flaw with your rig, the universal joint needs to bolt to the seat, not the base, as the way you have it puts enormous strain on the motors: https://www.xsimulator.net/community/faq/universal-joint-placement.108/
    • Like Like x 1
  15. kareltje

    kareltje New Member

    Joined:
    Oct 12, 2018
    Messages:
    5
    Balance:
    132Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hey
    i have done this setting [A <Axis1a>] [B <Axis2a>] but the motor 1 and motor 2 move but stops and then they do not move anymore than I start smc on they move again during startup smc who can me help out
    gr carel

    Attached Files:

  16. MuñozChile2dof

    MuñozChile2dof 2 DOF SIMULATOR ARDUINO AND IBT-2 Gold Contributor

    Joined:
    Mar 18, 2016
    Messages:
    36
    Occupation:
    Hydraulic technician
    Location:
    CHILE
    Balance:
    54Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    thanks @noorbeast
    I really had not thought about that affecting, I will try to make the changes as soon as possible and upload the progress of my project :thumbs
    • Like Like x 1
  17. heliomenezes

    heliomenezes Member

    Joined:
    Nov 1, 2018
    Messages:
    39
    Balance:
    233Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, AC motor, SCN5, SCN6, Arduino, Joyrider, SimforceGT, Motion platform, 4DOF, 6DOF
    I still can not understand smc3
  18. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,144
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,559Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Then post pictures of all of your settings and wiring, that way members can give you advice. Members can't help if you don't show what you have done.
    • Agree Agree x 1
  19. ne02005

    ne02005 Member

    Joined:
    Sep 19, 2009
    Messages:
    124
    Location:
    Argentina
    Balance:
    105Coins
    Ratings:
    +29 / 1 / -0
    My Motion Simulator:
    3DOF
    What`s the difference setting FPWM at 15khz, 25 khz, etc???
    What will be the difference? I´m using wiper motors.
    Thanks
    • Agree Agree x 1
  20. CBC_North

    CBC_North Member

    Joined:
    Jun 29, 2018
    Messages:
    40
    Occupation:
    Computer Engineer
    Location:
    Ottawa, Canada
    Balance:
    333Coins
    Ratings:
    +34 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Posting this here as well as my build thread since those who watch this thread likely aren't subscribed to my build :)

    Trying to perform the PID tuning tonight using SMC3 setup utility, I'm finding some weird behavior. Sometimes the motors get "stuck" in one position. More details:
    • I'm running the monstermotos as a half-bridge (one board per motor) as per the instructions in first page of this thread.
    • When it works, it works flawlessly (95% of the time)
    • The potentiometer feedback is spot on. Any time the motor moves the feedback graph (green) moves.
    • When it stops responding it's usually when I'm just switching to that motor and the target position is a ways away from the feedback position or I've left the motor in one position for a while and manually step the target position a fair ways away from the feedback.
    • The utility indicates it's outputting the max PWM and I've confirmed this at the arduino PWM pin as well as the monstermoto contacts using a multimeter.
    • The direction output from the arduino seems to be correct (one direction is +5v and the other is zero. These pins swap if I jump the target location over the feedback location but don't go near it)
    • The output voltage from the monstermoto at this time is zero.
    • The heatsink on the driver does not get warm to the touch at this time.
    • To get out of this "stuck" position, if I go to the utility and pull the target postion to the feedback position then away it will eventually start working again.
    • Can see this in the posted graph where I pull the target position (blue) towards then away from the actual position (green) multiple times. The first two times don't fix the problem but the third time does and the motor begins following the target position again. It will work again until I leave the motor idle for a while.
    • This is happening with both of my motors.
    Is this a quirk with manual mode in the utility? Maybe with the monstermoto boards? Any help would be appreciated.

    smc3_issues.png