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,146
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,571Coins
    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/

    We have bi-lingual speakers from many different language groups so if Google Translate really messes it up they can help clarify what was intended.
  2. Nellrolandmosselbay

    Nellrolandmosselbay New Member Gold Contributor

    Joined:
    Oct 30, 2016
    Messages:
    3
    Location:
    South Africa
    Balance:
    87Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    3DOF
    Hi, can I use 2 of the DQ860MA Drivers instead of your "Monster Motor Board"? I have two Nema42 that I am going to use.
  3. Francisco Junior

    Francisco Junior Member

    Joined:
    Aug 11, 2015
    Messages:
    53
    Location:
    Curitiba - Brasil
    Balance:
    285Coins
    Ratings:
    +9 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Hello everyone

    I am building a 3 dof using mode2.

    I am using 3 IBT2 and 3 worm gears by PgSaw. (https://www.ebay.com/itm/GEAR-MOTOR...LL-FEED-150-160-rpm-25-1-ratio-/351066992384? hash = item51bd392f00)

    In the initial tests everything is working normally. Today when I complete the construction, one of my engines (board 2) began to turn only to one side.



    Turning right and left, it switches between slow and fast, but to the same side. With the other two engines I do not have this problem.

    I changed the order of the motors, and always what is on board 2 has this problem of turning only to one side. That is, the problem is not in the motor, but in the board.

    I've checked the wiring, but it's all correct.

    I tried to redo the settings in SMC3Utils but it remains the same.

    Is it possible that the board has been damaged?

    Any solution.
  4. Francisco Junior

    Francisco Junior Member

    Joined:
    Aug 11, 2015
    Messages:
    53
    Location:
    Curitiba - Brasil
    Balance:
    285Coins
    Ratings:
    +9 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Complementing.
    I unplugged all the wires and tested this board with the 3 motors and the problem persisted.
    Is there any way to reset the ibt memory?
  5. SimplyPakistani

    SimplyPakistani New Member

    Joined:
    Apr 23, 2018
    Messages:
    6
    Occupation:
    Pilot
    Location:
    Multan
    Balance:
    155Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Job well done and nicely elaborated @RufusDufus, will you please tell if simtools and smc3 can be used on a single pc without intermediate pc(to control sim motion via arduino), if yes then min requirements of the system to run game,simtools and smc3 utility software??
    Regards
  6. bruce stephen

    bruce stephen Hammer doesnt fix it, must be electrical

    Joined:
    Jun 7, 2015
    Messages:
    1,286
    Occupation:
    general contractor
    Location:
    michigan
    Balance:
    9,112Coins
    Ratings:
    +1,238 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform, 6DOF
    Depending on specs one PC should work. Which game and what are the specs of your PC?
  7. SimplyPakistani

    SimplyPakistani New Member

    Joined:
    Apr 23, 2018
    Messages:
    6
    Occupation:
    Pilot
    Location:
    Multan
    Balance:
    155Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Thanks @bruce stephen for response, Dirt 4, RYZEN 5 1600, RX 580 8Gb, DDR4 16Gb 2400mhz
  8. bruce stephen

    bruce stephen Hammer doesnt fix it, must be electrical

    Joined:
    Jun 7, 2015
    Messages:
    1,286
    Occupation:
    general contractor
    Location:
    michigan
    Balance:
    9,112Coins
    Ratings:
    +1,238 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform, 6DOF
    This pc should run everything without issue.
  9. SimplyPakistani

    SimplyPakistani New Member

    Joined:
    Apr 23, 2018
    Messages:
    6
    Occupation:
    Pilot
    Location:
    Multan
    Balance:
    155Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Gracias :)
  10. MarcoMade

    MarcoMade Active Member

    Joined:
    Jan 3, 2018
    Messages:
    150
    Occupation:
    Tecnico pc hardware/software MadeFix
    Location:
    italy
    Balance:
    157Coins
    Ratings:
    +63 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Thanks for the great software and firmware, with it I managed to move my big 80A 12v gearmotors, opel corsa b. everything worked right away even with xsim. here is the video of the first movement on the bench full of disorder

    Grazie per il grande software e firmware, con esso sono riuscito a gestire i miei motori da 80A 12v, elettrosterzi opel corsa b. ha funzionanto tutto subito anche con xsim. ecco il video del primo movimento sul banco pieno di disordine

    https://www.xsimulator.net/community/threads/my-wheel-plus-2dof-project.11796/#post-155393
  11. SimPotato

    SimPotato Member

    Joined:
    May 17, 2017
    Messages:
    47
    Occupation:
    Designer
    Location:
    Gardiner, NY USA
    Balance:
    479Coins
    Ratings:
    +53 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Last edited: Apr 27, 2018
  12. gorzasty

    gorzasty Active Member

    Joined:
    Apr 2, 2012
    Messages:
    151
    Occupation:
    photographer, IT specialist
    Location:
    Poland, Wrocław
    Balance:
    1,060Coins
    Ratings:
    +41 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Another day another problem ;) Everything was fine with my seat and SMC gr8 software, but today... when I was turning it on seat center is broken. My chair is strong on the left side in the default position ;/ (I'm on v. 2.2.5). When I'm testing with SMC3 software everything is OK, but after Simtools is on everything is broke. My system is Win 10 ENG (with polish language installed). Nothing was changed on my system. I've heard that some win10 update was coming. Is it possible it is his fault? Could you help me wit this problem please?
  13. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,146
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,571Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    • Like Like x 1
  14. gorzasty

    gorzasty Active Member

    Joined:
    Apr 2, 2012
    Messages:
    151
    Occupation:
    photographer, IT specialist
    Location:
    Poland, Wrocław
    Balance:
    1,060Coins
    Ratings:
    +41 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Thank You @noorbeast ! As always You are the best with your advice ;) That was it. Changed the region settings and everything is ok. Why Simtools is so vulnerable with this settings...
  15. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,146
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,571Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    It could be that this is a Windows problem, not actually SimTools itself, and @yobuddy and others have not been able to pin a common cause down.

    If you would not mind can you please run a Belarc Advisor report, remove identifying product keys but PM the rest to @yobuddy for analysis: http://www.belarc.com/Programs/advisorinstaller.exe
  16. evolaco

    evolaco Member

    Joined:
    Sep 27, 2015
    Messages:
    260
    Location:
    Spain
    Balance:
    1,070Coins
    Ratings:
    +29 / 0 / -0
    My Motion Simulator:
    3DOF
    using two arduinos how does the pot used to vary the scale work? Do you have to put two pot?
  17. Arazok

    Arazok Member

    Joined:
    Mar 26, 2018
    Messages:
    180
    Occupation:
    Computer scientist
    Location:
    Germany
    Balance:
    783Coins
    Ratings:
    +32 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi, i have one problem with smc3 and MM: everything is working fine with simtools (demo), output test and the smc3 setup utility. Motor is moving in right direction.
    But: whenever the hallsensor is going below a specific value (i guess it is 255) the motor stops, even if there is no limit or clipping set (currently no rod mounted to motor). in the opposite direction everything is fine, goes up to 1000 (as set in code) but not in the down direction. and whenever it stops, i have to loosen the hallsensor, turn it above 255, tighten it, set motor to „on“ in the smc3 tool, and give it another try......

    any idea, what could be the problem ?

    cheers, Arazok
  18. Arazok

    Arazok Member

    Joined:
    Mar 26, 2018
    Messages:
    180
    Occupation:
    Computer scientist
    Location:
    Germany
    Balance:
    783Coins
    Ratings:
    +32 / 0 / -0
    My Motion Simulator:
    2DOF
    ok, problem solved.
    There were old limits set inside the eeprom, which I haven‘t seen.
    Forgot to press „save image“ inside the smc3 tool when adapting the values.
  19. Gustavo Massaneiro

    Gustavo Massaneiro New Member

    Joined:
    May 8, 2018
    Messages:
    14
    Location:
    Brazil
    Balance:
    78Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, 4DOF, 6DOF
    @RufusDufus
    Awesome work!

    I'm starting my mini 6DOF prototype using your SMC3 software, but I'm changing some important things:

    1 - I'm using rotary encoder based on interrupts instead of pots (https://github.com/Billwilliams1952/KY-040-Encoder-Library---Arduino)
    2 - I'm using freeRTOS for Arduino, so I'm creating parallel tasks (https://github.com/feilipu/Arduino_FreeRTOS_Library), the minimum tick time is about 15ms, so I'll check the results using tasks
    3 - I removed everything related to motor 3, so the software will handle just 2 motors per Arduino. (SMC2)
    4 - Can you please provide the SMC3 Util source code? (I want to update the protocol and remove the motor 3 settings)

    As soon I have some result I post here, I'll also create a GitHub for the SMC2 project using freeRTOS.

    Thank you!
  20. sam poole

    sam poole Active Member

    Joined:
    Nov 14, 2017
    Messages:
    137
    Location:
    midlands
    Balance:
    34Coins
    Ratings:
    +45 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform, 4DOF, 6DOF
    After windows update my arduino board have changed com ports had to set them again in simtools using 3 4 and 5 instead of 7