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. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,650Coins
    Ratings:
    +1,009 / 9 / -1
    Only Simtools v1.2 has the fixes.
    • Like Like x 1
  2. ericRacer

    ericRacer You get old because you stop playing ! Gold Contributor

    Joined:
    Jun 11, 2009
    Messages:
    251
    Occupation:
    Pilot
    Location:
    Canada, Quebec
    Balance:
    989Coins
    Ratings:
    +147 / 2 / -0
    My Motion Simulator:
    3DOF, Arduino, Motion platform
    I have numbers now !
    :grin
    • Like Like x 1
  3. ericRacer

    ericRacer You get old because you stop playing ! Gold Contributor

    Joined:
    Jun 11, 2009
    Messages:
    251
    Occupation:
    Pilot
    Location:
    Canada, Quebec
    Balance:
    989Coins
    Ratings:
    +147 / 2 / -0
    My Motion Simulator:
    3DOF, Arduino, Motion platform
    numbers.jpg
    • Like Like x 1
    • Old Old x 1
  4. spartan300

    spartan300 New Member

    Joined:
    May 25, 2011
    Messages:
    19
    Occupation:
    Doctor
    Location:
    Athens
    Balance:
    462Coins
    Ratings:
    +19 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    hi RufusDufus,
    Do you have any news regarding the problem we have.
    Eric told me that he still have the problem.
    If i uninstall anr re-install the simtools v 1.2 will make any difference?
    • Like Like x 1
  5. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,650Coins
    Ratings:
    +1,009 / 9 / -1
    Hi spartan, Is your problem exactly the same or just similar?

    You must be using the v1.2 beta version - this is the one with the fixes. Note however the beta is not publicly available, please refer to the PM I sent to your forum inbox.

    I have not been able to reproduce any issues with v1.2 beta so far.
    • Like Like x 1
  6. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,166
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,212Coins
    Ratings:
    +5,038 / 16 / -0
    Now in version 1.2v2 (out soon)
    Added – Tuning Center – New Axis Output Mode.

    Untitled.jpg

    Should help some with their setups.
    yobuddy
    • Like Like x 4
    • Useful Useful x 1
  7. Luimp

    Luimp New Member

    Joined:
    Oct 23, 2013
    Messages:
    21
    Location:
    Dungannon, Northern Ireland
    Balance:
    319Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hi , I'm trying to connect this to simtools but I can I'm only using one computer is that ok or I need two before I use racingmat arduino code and everything worked ok only wanted to try this one because I feel that the code from racing mat was missing some feeling I didnt feel the acceleration/braking or the gears changing.
    with this code I can connect to the smc3 util but even there the pots are very sensitive in center .
    • Like Like x 2
  8. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,650Coins
    Ratings:
    +1,009 / 9 / -1
    Yes this can be used with one computer. The best way is to use it just like any other Arduino code and just connect direct to Simtools. In this case you only need the windows SMCUtils to setup the Arduino parameters then you shut it down and run Simtools. Best getting this to work before trying other modes.

    To setup Simtools to connect direct to Arduino SMC3 use the following settings.
    SER output, with connected comm port
    500000 baud, no parity, 8 data bits, 1 stop bit
    10 bit binary output.
    Output string: [A<Axis1>][B<Axis2>][C<Axis3>]

    (Note you need to include both square and triangle brackets above)

    **** warning the pinouts may not be the same as other Arduino code - check first ****
    • Like Like x 3
  9. Luimp

    Luimp New Member

    Joined:
    Oct 23, 2013
    Messages:
    21
    Location:
    Dungannon, Northern Ireland
    Balance:
    319Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    I CONNECT EVERYTHING ALRIGHT USING THE DRAW FROM ROBBIE, BUT I DIDNT KNEW I HAD TO SWITCH OFF SMCUTILS BUT LIKE IS OFF IS WORKING IN SIMTOOLS THE OTHER THING IS THAT THE POTS NOW ARE VERY SENSITIVE IN CENTER THERES ANYWAY TO ADD SOME DEADZONE IN CENTER AND DO I NEED TO SET LIMITS IN SIMTOOLS WHEN START AND OFF LIKE THE RACINGMAT CODE.
    SORRY FOR THE CAPITAL LETTERS BUT IS MY MOBILE NOT CHANGING FOR SMALL
    • Like Like x 1
  10. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,650Coins
    Ratings:
    +1,009 / 9 / -1
    You can setup various parameters in the Arduino SMC3 code including a deadzone and axis limits. Use the windows SMC3 utils to do this setup. Once happy everything is automatically saved in the Arduino. Shutdown windows SMC3 utils and run Simtools.

    If movement is too sensitive you can fine tune motion using Simtools tuning center.
    • Winner Winner x 2
    • Useful Useful x 2
    • Like Like x 1
  11. Luimp

    Luimp New Member

    Joined:
    Oct 23, 2013
    Messages:
    21
    Location:
    Dungannon, Northern Ireland
    Balance:
    319Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Thank you very much for the help and for the amazing code now is all working just need to do some fine tuning.
    what forces should I put for the likes of F1 2013 , Pcars, race 07 should I put all of them?
    once again thank you
    • Like Like x 1
  12. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,650Coins
    Ratings:
    +1,009 / 9 / -1
    Great to hear it is working!

    You will probably get more responses to your question about forces if you create your own thread in the DIY forum. I suspect this is very much related to the type of sim and personal preference.
    • Like Like x 1
  13. fireflyone

    fireflyone firefly's simulatior test build

    Joined:
    Dec 30, 2013
    Messages:
    11
    Location:
    uk
    Balance:
    381Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform, 6DOF
    hi thanks for servo sketch robbie i need to change to set up as the i think its the 301 simulator this i have looked at the sketch what should i put for the rear centre servo
    to add it to the the left and right
    const char kActuatorName[kActuatorCount] = { 'R', 'L' };
    const int kPins[kActuatorCount] = {4, 5}; // pins to which the Actuators are attached
    const int kActuatorScale[kActuatorCount][2] = { { 0, 179 } , // Right Actuator scaling
    { 179, 0 } // Left side Actuator scaling
    }; i have set up all 3 motors today finally got them finished as you can see in the pictures i am using a hospital bed control just for testing what control 4 motors 24 v
    i only need to use the 3 of them two at front and one at the back as i will not be using tv using the oculus rift to keep down the weight i have put on a pic for the settings for robbie i need some help so close for testing

    Attached Files:

    • Like Like x 2
  14. fireflyone

    fireflyone firefly's simulatior test build

    Joined:
    Dec 30, 2013
    Messages:
    11
    Location:
    uk
    Balance:
    381Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform, 6DOF
    just wanted to add got measuring pot value i have been playing with gametrack its a fight golf controller easily works with arduino its spring loaded save breaking pots and it good for liner measurement they are cheep to buy i hope this helps some one

    Attached Files:

    • Like Like x 1
  15. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,650Coins
    Ratings:
    +1,009 / 9 / -1
    Hi, I think you may have responded to the wrong post... It sounds like you are referring to different code than SMC3? ;)
    • Like Like x 1
  16. Nath Older

    Nath Older Member

    Joined:
    Mar 17, 2014
    Messages:
    95
    Occupation:
    Laboratory Supervisor
    Location:
    United Kingdom
    Balance:
    271Coins
    Ratings:
    +29 / 1 / -0
    My Motion Simulator:
    2DOF
    Just thought I'd ad my thanks for the wiring diagrams on page 1. Thank you very much, this all helps a lot.
    • Like Like x 1
  17. 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
    Sorry for the late update. Just wanted to say that your code is working perfectly for the traction loss axis on my rebuilt 2DoF platform. It really was easy to set up following your instructions on the first page. The utility program allowed me to test and tune the motor output before I connected it to the platform. This really saved me a headache as my pots are 10 turn with is massive overkill for the reduced gearing that I am using on the winch motor.

    Great work and thanks again for taking the time to help us out.
    • Like Like x 1
    • Winner Winner x 1
  18. jenny

    jenny

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    HELLO.

    VERY GOOD JOB!! I LOVE IT!
    I'm building my 2DFO CODE YOUR SYSTEM.
    IN BRIEF ascend PHOTOS ..
    REMAINING THIS FINE.

    I AM A GENIA, JEJEJE.

    I BOUGHT THIS:

    60A Motor Driver Dual H-Bridge Drive Module PWM Control for robot car projects

    http://www.ebay.es/itm/60A-Dual-Mot...LH_DefaultDomain_0&hash=item3cd159fd0d&_uhb=1


    HOW TO CONNECT AND NOT, I HAVE AN IDEA, BUT I PREFER ASK NOT BREAK THE MODULE.

    IN1_L ---- ENA - MOT 1
    IN2_L ---- ENA-MOT 2
    IN3_R ---- ENB - MOT 1
    IN4_R ---- ENB - MOT 2
    EN_L PWM ---- 1
    EN_R ---- PWM2

    It is CORRECT?

    Become A THANK SHARE WITH U.S..

    THANK YOU
    ..
    • Like Like x 1
  19. terry wells

    terry wells Active Member

    Joined:
    Jan 19, 2014
    Messages:
    250
    Occupation:
    retired military
    Location:
    minnesota USA
    Balance:
    734Coins
    Ratings:
    +59 / 1 / -0
    My Motion Simulator:
    3DOF, Arduino
    I downloaded the SMC3 zip files but I am having problems with the SMC3utils v06 file. When I open the file and click "RUN" I get a message that says it was unable to connect to the com port. (pic#2) I am using Com #4 I went into the ini file and changed the com port from #7 to #4. (pic #4) That did not work, same message Is there something else I need to change to make this work?
    terry. Capture 2.PNG Capture-4.PNG
    • Like Like x 1
  20. 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
    Did you install SMC3 via the Arduino IDE? I know this might be a simple question but you never know....
    • Like Like x 1