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

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    50Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    @Pit @RufusDufus @noorbeast @SilentChill
    Hello friends !
    I need an urgent help :(
    I'm having problems with the SMC3 program and with the simtools.
    When I open the program with the power source turned off everything works, but as soon as I turn the power on within 30 seconds the program stops responding.
    I have refit all the wiring, deactivated the antiviros, and the windows defend and nothing solved.
    I'm using an adu3 uno r3 with the ibt2 7960
    The same problem occurs with the simtools.
    please help me solve this problem!

    upload_2018-6-3_14-34-24.png
    upload_2018-6-3_14-35-1.png
    upload_2018-6-3_14-37-33.png
    upload_2018-6-3_14-38-11.png
    Last edited: Jun 3, 2018
  2. evolaco

    evolaco Member

    Joined:
    Sep 27, 2015
    Messages:
    260
    Location:
    Spain
    Balance:
    1,070Coins
    Ratings:
    +29 / 0 / -0
    My Motion Simulator:
    3DOF
    strange problem, can not use another pc?
  3. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    50Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    I've already connected to another pc and the same problem occurs!
    I've already connected to another pc and the same problem occurs!

    I open the SMC3 and everything works correctly even with the power supply on.

    But when I click on square, so I can check the progress of the motors, they work correctly for just a few seconds and the TX of the arduino board that stays on blinks and then the SMC3 hangs :(
  4. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    50Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    I thought the problem was with my H bridge drivers.
    But as the motors are responding as they should, I believe it's not a spinning problem!
    The motors move in all directions correctly until the arduino flashes the TX led.
    So at this point, smc3 crashes and stops working. and this is happening with the simtools as well
  5. 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
    I don't know if it makes a difference but I notice you have a different version of arduino smc3 to Windows utility
  6. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    50Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    I'm using these versions
    upload_2018-6-3_17-42-0.png

    Attached Files:

  7. 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
    Really doubtful but have you tried opening the 0.63 utility?
  8. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    50Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    [QUOTE = "sam poole, post: 157055, membro: 27964"] Realmente duvidoso, mas você já tentou abrir o utilitário 0.63? [/ QUOTE]

    I do not know what could be happening!
    After several tests, I decided to change the socket and the program stabilized.
    My PC and my SimTools were connected to the same outlet and for this reason it did not work!
    Anyone have any idea why this happens?
  9. evolaco

    evolaco Member

    Joined:
    Sep 27, 2015
    Messages:
    260
    Location:
    Spain
    Balance:
    1,070Coins
    Ratings:
    +29 / 0 / -0
    My Motion Simulator:
    3DOF
    Does not have any sense that fails to be in the same socket, now works well?
  10. Arazok

    Arazok Member

    Joined:
    Mar 26, 2018
    Messages:
    180
    Occupation:
    Computer scientist
    Location:
    Germany
    Balance:
    783Coins
    Ratings:
    +32 / 0 / -0
    My Motion Simulator:
    2DOF
    What happens, if you do not start SMC3 util but the arduino program and its console and send a command to move the motors in this environment ?
  11. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    50Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    the error occurs in both smc3 and simtools.
    The strange thing is that I took the power outlet, in which the pc and the motion were connected and everything went back to normal!
    I can not understand why it stops working if the simulator source is connected with the pc on the same network!
  12. 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
    grounding issue?
  13. boards77

    boards77 New Member

    Joined:
    Jun 4, 2018
    Messages:
    1
    Location:
    china
    Balance:
    107Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    Great work! Thanks for sharing
  14. Progect555

    Progect555 New Member

    Joined:
    Jun 17, 2018
    Messages:
    17
    Location:
    Россия
    Balance:
    233Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    Вем Доброго дня) Подскажите плиз - вот в CMS3 всё работает двигатели повторяют кривые заданные синусоиду, сейчас с этим скетчем можно работать в SimTools и с тем же подключением по пинам в ардуино и мотошелд у меня схема собрана по MODE1 или нужен другой скетч и зеркальное подключение мотошелда и ардуино то есть 5 к 5 4 к 4 контакту и т.д.?!
  15. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,048
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,986Coins
    Ratings:
    +10,884 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Google Translate:
    New Good Day's Day) Prompt pliz - here in CMS3 everything works the engines repeat the curves given by the sinusoid, now with this sketch you can work in SimTools and with the same connection on pins in arduino and motoshedd. I have a scheme assembled by MODE1 or need another sketch and mirror connection motoslode and arduino that is 5 to 5 4 to 4 contact, etc.?!

    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/

    That said I am not sure I understand your issue. I am correct in assuming that everything works OK in SMC3 but you have an issue connecting to SimTools.

    If so can you please post picture of all of your settings.
  16. Progect555

    Progect555 New Member

    Joined:
    Jun 17, 2018
    Messages:
    17
    Location:
    Россия
    Balance:
    233Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    [QUOTE = "noorbeast, post: 158054, участник: 10786"] Google Translate:
    Новый день Доброго Дня) Подскажите плиз - здесь, в CMS3, все работает, двигатели повторяют кривые, заданные синусоидой, теперь с помощью этого эскиза вы можете работать в SimTools и с тем же соединением на штифтах в arduino и motoshedd. У меня есть схема, собранная MODE1, или вам нужен еще один мостольд с эскизом и зеркальным соединением и ардуино, который имеет 5-5-4-4 контактов и т. Д.?!

    Имейте в виду, что вы можете писать на двух языках, но это часть правил форума, в которую вы также включаете английский, делая это через Google Translate в порядке: https://www.xsimulator.net/community/threads/forum-rules.9527 /

    Тем не менее я не уверен, что понимаю вашу проблему. Я прав, полагая, что все работает нормально в SMC3, но у вас есть проблема с подключением к SimTools.

    Если да, можете ли вы разместить фотографии всех ваших настроек. [/ QU

    Sorry, I just do not know well English (((And a newcomer to the forums you can say the first time in my life))))In the program SMC3, everything works and now there is a question - to work with SIMTools you need already another code is arduino or it is possible with the same code (sketch) to work in SIMTools - the picture I attach tomorrow to the message of SIMTools settings correctly they are there or not)
  17. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,048
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,986Coins
    Ratings:
    +10,884 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    If SMC3 works correctly then you just have to configure SimTools correctly, the SimTools Interface settings are included in the SMC3 instructions under the heading Simtools Setup.

    Once The Interface is set up you create a Default motion profile in Axis settings. The DIR box being checked orange or not determines which way each axis/force moves, this is what SimTools expects and you can check it in Output Testing: https://www.xsimulator.net/community/faq/which-way-to-set-simtool-axis-movements.230/

    These are the steps to creating and refining a motion profile: https://www.xsimulator.net/community/faq/steps-to-create-a-motion-profile.228/
  18. Progect555

    Progect555 New Member

    Joined:
    Jun 17, 2018
    Messages:
    17
    Location:
    Россия
    Balance:
    233Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    Добрый день) С SimTools разобрался в настройках но есть один вопрос - когда захожу в раздел Output Testing и нажимаю Turn On то двигатели из центрального положения разбегаются в разные стороны и замирают но на изменения ползунков реагируют и поворачиваются - вопрос в том почему так, так как в SMC3 когда программу запускаю двигатели в нулевом положении, прикрепляю изображения настроек!

    Attached Files:

    • 443.jpg
      443.jpg
      File size:
      152.6 KB
      Views:
      589
    • 444.jpg
      444.jpg
      File size:
      150.7 KB
      Views:
      656
  19. jose bravo

    jose bravo New Member Gold Contributor

    Joined:
    Dec 26, 2015
    Messages:
    5
    Location:
    ecuador
    Balance:
    - 108Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hi to all. I thought that the configuration was going to be easy, for that reason I paid for the simtools program; but I have read several tutorials, in the whole, looking for an answer to why the motors of the simulator can not start. All the wiring and programming of the arduino card UNO together with the sabertooth 2x32a are configured as indicated by the forums, but no, I can not make the simulator work. I really feel like I've wasted time and money trying to build a 2dof simulator.
    The simtools program detects the arduino card, also the program smc3 moves the motors, but at the moment of starting the game (lfs, rfactor2, ams, assetto, all patched), there is no movement. Maybe it's some Pid configuration, but that's precisely the problem.
    I have tried several arduino cards, thinking that maybe it could be defective, but the problem persists.
    I have read that some people have had the same problem, but I have not found the solution.
    I have tried everything, changing the configuration of the language in windows 7, and I can not solve it.
    Maybe the administrator is already tired of reading that many people can not make their simulator work. I hope he has the patience to explain the reason for my problem.
    Thank you very much.
  20. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,048
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,986Coins
    Ratings:
    +10,884 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Is SMC3 configured correctly and respond as expected?

    If yes then please post all your SimTools settings. If not the go back over the SMC3 instructions at the start of this thread.