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

    pipis2015 over-boost

    Joined:
    Feb 18, 2015
    Messages:
    222
    Location:
    Athens, GREECE
    Balance:
    10,248Coins
    Ratings:
    +270 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    The only way to have full resolution of the ADC (analog to digital) is to ensure full travel on your pot.

    So you can either:
    1) make your rods smaller (for example 50mm shortened to 40 mm)...
    This way, full pot rotation gives you less simulator travel but motor rotation stays the same.
    (I suggest the first option)

    Or
    2) use proper gears to change the pot to motor rotation ratio.
    This way you reduce your motor rotation and thus your simulator travel the more you change this ratio.
    If this second solution changes your motor rotation to be no less than +/- 45 degrees from resting position then it may work too. I dont suggest Less than +/-45 degrees of motor travel.
    • Informative Informative x 1
  2. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,409Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    Dear @insanegr if you use a smaller range of the pots (f. eg 100 degrees instead of 180 degrees) you get a worse resolution! So I suggest always to reach the max and use gears if needed :)
    • Informative Informative x 1
  3. insanegr

    insanegr !N$@n€

    Joined:
    Jan 14, 2014
    Messages:
    505
    Location:
    Athens
    Balance:
    16,715Coins
    Ratings:
    +498 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    thanks for your answers @pipis2015 @Pit :cheers .
    need to find some gears and put them on my pots.
    • Like Like x 1
  4. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,461
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,596Coins
    Ratings:
    +10,741 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Check your balance and PM and have fun experimenting with different plugins.

    The link you posted in not active, please try posting it again in your own thread.
  5. yeniuser

    yeniuser Member

    Joined:
    Oct 30, 2011
    Messages:
    43
    Occupation:
    Teacher
    Location:
    Turkey
    Balance:
    313Coins
    Ratings:
    +4 / 0 / -0
    What is difference from 4DOF?
  6. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,409Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    Pardon? Could you describe it more exactly?
  7. speedy

    speedy Well-Known Member

    Joined:
    Feb 1, 2012
    Messages:
    1,193
    Location:
    Alexandria , Egypt
    Balance:
    7,916Coins
    Ratings:
    +1,285 / 10 / -0
    My Motion Simulator:
    3DOF, AC motor, Arduino, Motion platform
    Sub thread ...
    Easy adjusting the Max limit and Clip input with "Motors POWER OFF " just using the Arduino and the feedback pot signal :

    1112.jpg

    • Taking advantage of the feedback signal as a guide where the platform is located now ... Manually move motor 1 UP or DOWN through the working area to the maximum allowable ... leaving a small mechanical operating safe zone from the actual platform damage point ...
    • Open the SMC3 Util and you'll notice that the feedback green line is moving toward that maximum allowable working position .
    • Then use that position point in the Util. as a guide to adjust and place the Clip input Orange line exactly as the same place as the green line ... that's where the motor will receive a PWMrev reversing command .
    • Then slowly move the platform little forward toward that safe zone and stop just before platform damage point ... where actually you don't want motors to go further ... then place the Max Limit Red line so as the green line position has touched the red line by now you'll notice that in SMC3 Util. motor 1 is = > OFF .
    • Use the +- small 1 step to accurately do that alignment .
    • Go back manually reverse to the maximum opposite side and verify & match these limit lines are positioned at the same points for the other mechanical allowed safe zone and damage stop point .
    • As in SMC3Util. both side limits has the same values thus the working area should be really centered ... IF COULD NOT ACHIEVED ... Use whatever the biggest values found for these limits [ the closer to the center ] .
    • Go back manually near to center position for this motor ...
    • Perform the previous steps for each motor ...
    • Finally Turn ON motors power s and manual mode mouse click center the platform electrically .
    • Enjoy .
    • Informative Informative x 5
    • Like Like x 3
    Last edited: Nov 14, 2015
  8. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    49Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Boa tarde! @RufusDufus , @eaorobbie

    Rápido rápido Você poderia Fazer hum código Para Que POSSA USAR ESSE tipo de Cartão?
    ESTA placa E fabricado Aqui no Brasil, eu ficaria grato se Muito Alguém escrever hum código Para Que eu USAR com placa Arduino, SMC3, Blackmoon.
    Envie o manual do fazer que eles possam analisar Paragrafo agradecimento [Anexar = full] 26027 [/ attach]

    Attached Files:

    • Agree Agree x 1
    Last edited: Nov 17, 2015
  9. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,409Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    • Funny Funny x 1
    • Winner Winner x 1
    • Useful Useful x 1
    Last edited: Jun 8, 2016
  10. Edson Lourenço Bezerra

    Edson Lourenço Bezerra Edson Bezerra - Desenvolvedor Open Source

    Joined:
    May 14, 2014
    Messages:
    67
    Occupation:
    Analista de Sistema
    Location:
    Jundiaí
    Balance:
    147Coins
    Ratings:
    +24 / 2 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform, 4DOF
    Saudações BR, a codificação terá a mesma logica que a utilização para Arduíno e ponte H, agora se diz a respeito de não utilizar um intermediário?

    Você fabrica a placa, já tens simulador?

    Translator
    Greetings BR, encoding will have the same logic that the use for Arduino and H bridge, now says about not using an intermediary?

    You manufacture the plate, already have simulator?
  11. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    49Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    yes i have a simulator!
    but Chinese H bridge do not support the weight. Blackmoon have these plates but I can not code in order to use them!:sos
  12. Edson Lourenço Bezerra

    Edson Lourenço Bezerra Edson Bezerra - Desenvolvedor Open Source

    Joined:
    May 14, 2014
    Messages:
    67
    Occupation:
    Analista de Sistema
    Location:
    Jundiaí
    Balance:
    147Coins
    Ratings:
    +24 / 2 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform, 4DOF

    Qual modelo utiliza?

    Eu uso um chinesa e uma própria com CI 31 e 32

    __________________________________________

    Which model to use?
    I use a Chinese and an own CI with 31 and 32
  13. AlexinChina

    AlexinChina Member

    Joined:
    Sep 2, 2015
    Messages:
    71
    Location:
    China
    Balance:
    371Coins
    Ratings:
    +8 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    I tested Mode2, and used two 400W motors, and then my IBT-2 is broken.
    Although IBT-2's rated current is 43A, logically speaking, there is no problem to drive 450w(less than 12V×43A=516W) motor, but my IBT-2 is broken.
    Fortunately, I found the designer of IBT-2 in the Internet. According to him, IBT-2 is designed for 80W window lifts motors, and 43A is not IBT-2's rated current, IBT-2 can't work for a long time in 43A.
  14. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,409Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    Thank you for sharing. BTW this is not new, the ibt-2 is a relative weak motor driver.
    Last edited: Nov 25, 2015
  15. fzxj520

    fzxj520 Active Member

    Joined:
    May 14, 2015
    Messages:
    176
    Location:
    SimTools is a generic Motion Simulator
    Balance:
    1,341Coins
    Ratings:
    +87 / 1 / -0
    My Motion Simulator:
    2DOF
    Thanks Rufus Rufus work!
    Problems I found while testing, I hope you can help me analyze the reasons about problems,Thanks!
    For ease of explanation problem I made two pictures:
    win8.1 x64
    SimTools_v1.3
    1. Use SMC3 output test, the motor is working properly.
    Please Note: The slider position corresponding to the position of rotation of the motor

    1.JPG
    3.jpg
    2. Use SimTools output test, the motor does not work properly.
    Please Note: The slider position corresponding to the position of rotation of the motor

    问题2.JPG
    4.jpg
    • Like Like x 1
    Last edited: Nov 28, 2015
  16. AlexinChina

    AlexinChina Member

    Joined:
    Sep 2, 2015
    Messages:
    71
    Location:
    China
    Balance:
    371Coins
    Ratings:
    +8 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    In the SMC3, the computer drive your motors to do triangle wave motion , so they will work smoothly and properly,
    and in the SimTools ,your motors to do triangle wave motion in manual, so they work bad.
    • Informative Informative x 1
  17. fzxj520

    fzxj520 Active Member

    Joined:
    May 14, 2015
    Messages:
    176
    Location:
    SimTools is a generic Motion Simulator
    Balance:
    1,341Coins
    Ratings:
    +87 / 1 / -0
    My Motion Simulator:
    2DOF
    Thanks you

    Used to manually adjust the test
    SMC3 move the slider, the motor rotation will correspond to the correct position with the slider.
    SimTools move the slider, the motor rotational position corresponding to the position with the slider is wrong
  18. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,409Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    Try lower fpids f.eg. 2 or 3 and lower fpwm like 25hz
  19. fzxj520

    fzxj520 Active Member

    Joined:
    May 14, 2015
    Messages:
    176
    Location:
    SimTools is a generic Motion Simulator
    Balance:
    1,341Coins
    Ratings:
    +87 / 1 / -0
    My Motion Simulator:
    2DOF
    Thank you!
    I try to change the settings, but the problem remains.(Try lower fpids f.eg. 2 or 3 and lower fpwm like 25hz)
    I also add a caption.
    Please note: the slider position corresponding to the position of rotation of the motor.
  20. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,409Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    Could you try in Simtools the axis output and not the force output. thanks