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

    giorgionrg New Member

    Joined:
    Feb 2, 2020
    Messages:
    8
    Occupation:
    Technician
    Location:
    Italy
    Balance:
    90Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Attached the wiring diagram and the .ino code used.
    Is it normal, with this config, that the motor start to move when I power on the system?

    Thanks.

    Attached Files:

  2. giorgionrg

    giorgionrg New Member

    Joined:
    Feb 2, 2020
    Messages:
    8
    Occupation:
    Technician
    Location:
    Italy
    Balance:
    90Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    At the end I solved it by increasing the DEADZONE value. Now it's setted to 10 and when I turn on the motor are stopped.

    The next step is the AssettoCorsa plugin creation.
    I'll update you.
    Bye :thumbs
    • Like Like x 1
  3. Marcos73

    Marcos73 Member

    Joined:
    Feb 14, 2020
    Messages:
    77
    Balance:
    100Coins
    Ratings:
    +55 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hello.
    I am unable to run the engines with the SCM3.
    The potentiometers appear on the graph but the motors are not started.
    IMG_1066.JPG

    What is the correct pinout to configure the motors?
    It is?
    2DOF arduino and 1 motomonster.png

    Or is?
    SMC3Pinout.jpg

    I'm using this Arduino code.
    IMG_1067.JPG

    Please help, thanks.
    ----
    Olá.
    Não estou conseguindo fazer funcionar os motores com o SCM3.
    Os potenciômetros aparecem no gráfico mas os motores não são acionados.
    Qual a pinagem correta para configurar os motores?
    Esta?

    Ou esta?

    Estou usando este código Arduino.

    Por favor ajudem, obrigado.
  4. 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
  5. tomkil192

    tomkil192 Member

    Joined:
    Jun 25, 2015
    Messages:
    81
    Location:
    Uk. London
    Balance:
    - 25Coins
    Ratings:
    +26 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Set the green line right in the middle. And then play with the program but read the link above from Noorbeast first
  6. Marcos73

    Marcos73 Member

    Joined:
    Feb 14, 2020
    Messages:
    77
    Balance:
    100Coins
    Ratings:
    +55 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    • Like Like x 1
  7. tomkil192

    tomkil192 Member

    Joined:
    Jun 25, 2015
    Messages:
    81
    Location:
    Uk. London
    Balance:
    - 25Coins
    Ratings:
    +26 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    It takes time. you have to read a lot. Set the green line righ in the middle with the potentiometer. Then set all parameters low as per the instructions. Max limit and clip input set to 250. then click sine
    (Do not touch the potentiometer)
    If the switch next to the motor you have selected is ( OFF) then you have reached the limits.

    I hope this will help.
    • Like Like x 1
    • Informative Informative x 1
  8. Marcos73

    Marcos73 Member

    Joined:
    Feb 14, 2020
    Messages:
    77
    Balance:
    100Coins
    Ratings:
    +55 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Thanks Tom, I was successful, in fact I had used an Arduino pinout that was not correct. And after testing all the pinouts I found here, I found the correct one. Hugs and good luck! :)
    • Like Like x 1
  9. 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/
    • Like Like x 1
  10. Marcos73

    Marcos73 Member

    Joined:
    Feb 14, 2020
    Messages:
    77
    Balance:
    100Coins
    Ratings:
    +55 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hello. Following your guidelines and RufusDufus ttps://www.xsimulator.net/community/threads/smc3-arduino-3dof-motor-driver-and-windows-utilities , but I believe that there is still no success. The engines did not stop. I still don't understand how SMC3 works!
    Does the SMC3 define the working angles of the engines?
    IMG_1126.JPG
    If so, what happens is that you are not able to stop at 90 °, setting the maximum engine limit.
    When using the potentiometers, they stop, but still pass the 90 ° I need.
    And I changed all the parameters.
    Please help.
    Follow video.

    Thank you.

    ------

    Olá. Seguindo suas orientações e o RufusDufus, mas acredito que ainda não há sucesso. Os motores não pararam. Não entendi ainda como funciona o SMC3!
    O SMC3 define os ângulos de trabalho dos motores?
    Se sim, o que acontece é que não está conseguindo parar em 90 °, definindo o limite máximo de motores.
    Quando usar os potenciômetros, eles param, mas ainda assim passam os 90 ° que preciso.
    E mexi em todos os parâmetros.
    Por favor ajudem.
    Segue vídeo.
    Obrigado.
  11. 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
    The SMC3 configuration is explained here: https://www.xsimulator.net/communit...driver-and-windows-utilities.4957/#post-48121

    You need to have a pot connected to the motor, which gives position.
  12. 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
    Sorry but there is not enough detail and context to understand what you need help with, can you please be more specific.
  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
    What motor drivers are you using?

    Please post pictures of all of your settings and hardware.
  14. 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
  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
  16. 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
  17. josemanuelrm26

    josemanuelrm26 my 2dof

    Joined:
    Sep 22, 2015
    Messages:
    100
    Location:
    valencia
    Balance:
    - 13Coins
    Ratings:
    +36 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    upload_2020-5-1_10-26-46.png
    hello following this firmware for arduino for 3 motors do you know how to connect the pins to 2 motomonster?
    is that I'm a little lost ..
  18. Llewelyn

    Llewelyn Member

    Joined:
    Nov 10, 2017
    Messages:
    69
    Occupation:
    IT consultant
    Location:
    south africa
    Balance:
    108Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 4DOF
    Hi had these pics which I always use,you can figure it out from there,simple.

    This one below is to double the current capcity. Double moto monster connection.jpg

    This is to connect two motors to one motomonster below:

    MotoMonsterSetup.jpg
    This one below is todouble the current capacity of the two channels on the one board:
    MotoMonsterSetup_single-motor-driver_final.jpg
    And lastly this is the pin outs to use when you connect your motomonstor boards:
    Motor monster connection ena and enb.png
  19. josemanuelrm26

    josemanuelrm26 my 2dof

    Joined:
    Sep 22, 2015
    Messages:
    100
    Location:
    valencia
    Balance:
    - 13Coins
    Ratings:
    +36 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I need this but I don't know if the wiring is correct 3 motors 1 arduino and 2 moto monster
    and thanks for answering me

    [​IMG]

  20. Llewelyn

    Llewelyn Member

    Joined:
    Nov 10, 2017
    Messages:
    69
    Occupation:
    IT consultant
    Location:
    south africa
    Balance:
    108Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 4DOF
    Yes that wiring is correct.
    • Agree Agree x 1