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. Pierre Lalancette

    Pierre Lalancette Sir Lalancelot Gold Contributor

    Joined:
    Dec 11, 2016
    Messages:
    943
    Occupation:
    3D teacher
    Location:
    Quebec, Canada
    Balance:
    7,683Coins
    Ratings:
    +884 / 6 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, 6DOF
    Fpid should be higher (mine was at 4). It helps smoothing. It may not solve your issue but that is were I would start. My Fpwm was at 35khz.
    • Informative Informative x 1
  2. Historiker

    Historiker Dramamine Adict Gold Contributor

    Joined:
    Dec 16, 2010
    Messages:
    2,158
    Occupation:
    Retired
    Location:
    Michigan USA
    Balance:
    9,176Coins
    Ratings:
    +2,159 / 19 / -1
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform, 6DOF
    I had to use Fpid set to 4 when I was using SMC3
  3. miaziol

    miaziol New Member

    Joined:
    Dec 20, 2020
    Messages:
    29
    Location:
    Poland
    Balance:
    - 82Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    generally working, but there is a problem with one of the engines. As if I would not set it off after a while. I am not able to set the correct pids on it. It walks for a while and turns off. Cold engine, same as driver.
    Last edited: Oct 8, 2021
  4. Henrik

    Henrik New Member Gold Contributor

    Joined:
    Aug 13, 2017
    Messages:
    18
    Location:
    Sverige
    Balance:
    104Coins
    Ratings:
    +15 / 0 / -0
    Did you get the settings for PGSaw and IBT2 sorted?
    I have the same setup and its not as smooth as i was hoping.
    Or did the change of pin fix that as well?
  5. Ronan Design

    Ronan Design Roman Design - Custom MSFS Scenery

    Joined:
    Jun 4, 2021
    Messages:
    104
    Occupation:
    Web Designer, MSFS Scenery Designer
    Location:
    Toronto, Canada
    Balance:
    843Coins
    Ratings:
    +22 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Yes, I think so. Here's what I'm using:
    upload_2021-11-15_16-41-5.png
    I'm totally happy with those settings - more than enough power, I have to filter things in FlyPT Mover not to be thrown out of a chair :). The motors whine a bit when fully back, but hold me and the rig fine, and have no problem moving back from that position. In other positions, or even without load they crackle a bit, but I guess it's normal. With the limited movement in VR that I need (arms have holes at 60mm from the shaft) it works just fine as far as I can tell. Since I dialed it in I make all the tweaks in FlyPT Mover as I feel no need to change anything in SMC since I dialed it in.

    Here's my rig, for reference.
    • Like Like x 2
  6. scruck

    scruck Member

    Joined:
    Jul 18, 2019
    Messages:
    31
    Location:
    España
    Balance:
    365Coins
    Ratings:
    +56 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Greetings guys, since I realized the 2DOF project I have always encountered the following problem, it never mattered to him but I was getting bored and decided to get into it, the problem is the following, when I open scm3utils the level seat, when I open simtools I do not know levels until I open a game, but when I open a game and close it, the seat like it lowers a bit and does not maintain the level until I open the game again and it is leveled again, another thing is that, for example before to open any program if I connect the sources the seat goes up but it doesn't level if not it always stays a little down since I don't play or open smc3utils, what could be the problem? Cheers
  7. scruck

    scruck Member

    Joined:
    Jul 18, 2019
    Messages:
    31
    Location:
    España
    Balance:
    365Coins
    Ratings:
    +56 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Solved !!! You just have to comment the increment of the CommsTimeout variable, it would look like this:
    this -> CommsTimeout++;
    for this -> //CommsTimeout++;

    Thanks !!
    • Informative Informative x 1
  8. FLMCO

    FLMCO New Member

    Joined:
    Dec 12, 2021
    Messages:
    13
    Occupation:
    Banquet Captain
    Location:
    United States
    Balance:
    56Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    While texting the smc3 my motors when on off status and now I can't get them to start again. Any reason for that to happen? I did the initial set up process just like it said in this thread. Please help
  9. FLMCO

    FLMCO New Member

    Joined:
    Dec 12, 2021
    Messages:
    13
    Occupation:
    Banquet Captain
    Location:
    United States
    Balance:
    56Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Ok so motor its running good all its is set as per directions, but motor #2 the feedback its going above the motor limits. What could be wrong or what should I do. It was running fine but suddenly it didn't work any more. Please help.
    Thank you!
  10. FLMCO

    FLMCO New Member

    Joined:
    Dec 12, 2021
    Messages:
    13
    Occupation:
    Banquet Captain
    Location:
    United States
    Balance:
    56Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Problem solved
  11. FLMCO

    FLMCO New Member

    Joined:
    Dec 12, 2021
    Messages:
    13
    Occupation:
    Banquet Captain
    Location:
    United States
    Balance:
    56Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Problem solved
  12. FLMCO

    FLMCO New Member

    Joined:
    Dec 12, 2021
    Messages:
    13
    Occupation:
    Banquet Captain
    Location:
    United States
    Balance:
    56Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Problem solved
  13. seuszok

    seuszok Member Gold Contributor

    Joined:
    Nov 8, 2021
    Messages:
    89
    Location:
    Poland
    Balance:
    485Coins
    Ratings:
    +55 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform
    FLAMCO if You have some issue and ask for help put here how You solve it... others have similar issues so thats help us.
    Regards
    • Agree Agree x 1
  14. FLMCO

    FLMCO New Member

    Joined:
    Dec 12, 2021
    Messages:
    13
    Occupation:
    Banquet Captain
    Location:
    United States
    Balance:
    56Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Hi yes, my potentiometer was loose so we tight things up and everything started to work again. I'm sorry about misspelling and broken English it's no my primary language.
  15. Quang Thuy

    Quang Thuy New Member

    Joined:
    Nov 30, 2021
    Messages:
    14
    Balance:
    87Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    2DOF
    Has anyone had this error like me? The motor feedback current does not run towards the blue target, but is exceeded which shuts down the motor. I have checked and rewired the wires many times, tried using my hand to turn the shaft back to the target, but when I power on the motor, it fails to overrun.

    Attached Files:

  16. seuszok

    seuszok Member Gold Contributor

    Joined:
    Nov 8, 2021
    Messages:
    89
    Location:
    Poland
    Balance:
    485Coins
    Ratings:
    +55 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform
    Hi, if You use bridge driver change connection of motor for exemple : + and - change to - and +
    But only motor not a driver power suply
    Last edited: Dec 30, 2021
  17. FLMCO

    FLMCO New Member

    Joined:
    Dec 12, 2021
    Messages:
    13
    Occupation:
    Banquet Captain
    Location:
    United States
    Balance:
    56Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    That happen to me and I found out that the issue was the connection from the potentiometer to the motor. the tubing I was using was to loose.
  18. Quang Thuy

    Quang Thuy New Member

    Joined:
    Nov 30, 2021
    Messages:
    14
    Balance:
    87Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    2DOF
    Thank you. I tried reversing the + and - wires of the motor to the terminal before, but when the power was applied, the motor immediately rotated continuously, so I returned the + and - poles to their original positions.
  19. Quang Thuy

    Quang Thuy New Member

    Joined:
    Nov 30, 2021
    Messages:
    14
    Balance:
    87Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    2DOF
    I will double check the control terminals of the potentiometer. Hopefully it will work well for me to proceed to the next step, completing my project. If anyone has other tips to solve the problem, please help me.
  20. Pierre Lalancette

    Pierre Lalancette Sir Lalancelot Gold Contributor

    Joined:
    Dec 11, 2016
    Messages:
    943
    Occupation:
    3D teacher
    Location:
    Quebec, Canada
    Balance:
    7,683Coins
    Ratings:
    +884 / 6 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, 6DOF
    Make sure your potentiometer is connected properly. Some potentiometers have the variable value in the center pin, and some others on the side.