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

    massimofarinelli Member

    Joined:
    Oct 8, 2015
    Messages:
    37
    Occupation:
    automation
    Location:
    italy
    Balance:
    501Coins
    Ratings:
    +7 / 1 / -0
    My Motion Simulator:
    Arduino
    Hallo, i new in this forum.
    Excuseme for My English.
    I have a problem Whit motor two.
    The motor two Not work.
    I have a pololu driver.
    If invert 1 whit 2 The motor work correctly.
    I have test The Arduino output 4,5,10 whit anoter skatch And The Pin was ok.
    Now why The motor two Not work ?
    In The Smc 3 i have copy all Three motor.
    Thank for reply.
  2. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,438Coins
    Ratings:
    +3,089 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    As "worse the English" as better any screenshots, photos and videos. :)
    • Agree Agree x 1
  3. massimofarinelli

    massimofarinelli Member

    Joined:
    Oct 8, 2015
    Messages:
    37
    Occupation:
    automation
    Location:
    italy
    Balance:
    501Coins
    Ratings:
    +7 / 1 / -0
    My Motion Simulator:
    Arduino
    :D ok
    • Like Like x 1
  4. massimofarinelli

    massimofarinelli Member

    Joined:
    Oct 8, 2015
    Messages:
    37
    Occupation:
    automation
    Location:
    italy
    Balance:
    501Coins
    Ratings:
    +7 / 1 / -0
    My Motion Simulator:
    Arduino
    I use the translator who is best.
    the engine problem I solved,
    Now I do not understand 'cause I do not work live for speed.
    I downloaded the latest version
    Live for Speed S2 0.6J.
    I followed the tutorial, but I did not move anything.
    What can I check?
  5. massimofarinelli

    massimofarinelli Member

    Joined:
    Oct 8, 2015
    Messages:
    37
    Occupation:
    automation
    Location:
    italy
    Balance:
    501Coins
    Ratings:
    +7 / 1 / -0
    My Motion Simulator:
    Arduino
    this is my "tester"[​IMG]
  6. massimofarinelli

    massimofarinelli Member

    Joined:
    Oct 8, 2015
    Messages:
    37
    Occupation:
    automation
    Location:
    italy
    Balance:
    501Coins
    Ratings:
    +7 / 1 / -0
    My Motion Simulator:
    Arduino
  7. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,438Coins
    Ratings:
    +3,089 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
  8. massimofarinelli

    massimofarinelli Member

    Joined:
    Oct 8, 2015
    Messages:
    37
    Occupation:
    automation
    Location:
    italy
    Balance:
    501Coins
    Ratings:
    +7 / 1 / -0
    My Motion Simulator:
    Arduino
    thanks for the link, but the tutorial I followed was what.
  9. massimofarinelli

    massimofarinelli Member

    Joined:
    Oct 8, 2015
    Messages:
    37
    Occupation:
    automation
    Location:
    italy
    Balance:
    501Coins
    Ratings:
    +7 / 1 / -0
    My Motion Simulator:
    Arduino
    I checked a few things.
    I downloaded simtools 1.3
    the plugin updater does not make me do anything.
    it's normal?
  10. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,030
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,878Coins
    Ratings:
    +10,880 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    You need to start your own thread for questions like this here: http://www.xsimulator.net/community/forums/diy-motion-simulator-building-q-a-faq.31/

    You will need to read the SimTools documentation: http://www.xsimulator.net/simtools-complete-documentation/

    Specifically for the Plugin Updater here, where you drag a plugin to the updater to install the plugin: http://www.xsimulator.net/simtools-game-plugin-updater/
    • Informative Informative x 1
  11. Lorien31

    Lorien31 Member Gold Contributor

    Joined:
    Aug 5, 2015
    Messages:
    32
    Occupation:
    IT System Specialist
    Location:
    Switzerland
    Balance:
    140Coins
    Ratings:
    +10 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Is it possible to set limits higher than 255 ? Or does that not make sense ? I am currently testing my axes and noticed that the 255 limit is near the mechanical limit of my arms.
    So i wanted to limit it further but 255 is max it looks like.
  12. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,438Coins
    Ratings:
    +3,089 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    If your clip respectively max limit is too low then you have to use some gears because the limit is your potentiometer and not the mechanical design.
  13. Lorien31

    Lorien31 Member Gold Contributor

    Joined:
    Aug 5, 2015
    Messages:
    32
    Occupation:
    IT System Specialist
    Location:
    Switzerland
    Balance:
    140Coins
    Ratings:
    +10 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Hmm i don't understand your answer. Why do i need gears or a different potentiometer ?

    I wanna limit his possible movements not increasing them.
  14. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,438Coins
    Ratings:
    +3,089 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    Huh? :) Using gears they reduce or expand any potentiometers. If you want to limit the movements, you have to expand the movement on the potentiometer to get the best results.
  15. Lorien31

    Lorien31 Member Gold Contributor

    Joined:
    Aug 5, 2015
    Messages:
    32
    Occupation:
    IT System Specialist
    Location:
    Switzerland
    Balance:
    140Coins
    Ratings:
    +10 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Ah ok. But changing the whole mechanical design because of just 5mm missing limit on one side, so i not wanna do that.

    So why does the software have a limit of 255 and not maybe 270 whats the reason for that ? Because the pot is still moving a lot, still move in the kohm ranges, so should be still ok for the analog input of the arduino.
    Is it only the loss of resolution, is it that bad ?

    Gonna move the middle point of the axe a little, because up i have plenty room and way over 255 limit, guess that's the best option without changing too much.
  16. pipis2015

    pipis2015 over-boost

    Joined:
    Feb 18, 2015
    Messages:
    222
    Location:
    Athens, GREECE
    Balance:
    10,248Coins
    Ratings:
    +272 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    0 value + 255values =256 values = 8bit

    So 255 is max pwm value.
  17. speedy

    speedy Well-Known Member

    Joined:
    Feb 1, 2012
    Messages:
    1,193
    Location:
    Alexandria , Egypt
    Balance:
    7,931Coins
    Ratings:
    +1,287 / 10 / -0
    My Motion Simulator:
    3DOF, AC motor, Arduino, Motion platform
    May be a POT scaling can be useful here ... @pipis2015 @Lorien31 see the related FW v0.7 updates in the first post .

    Updates Version 0.7

    • Added a POT scaling input that can be used to scale the motion output based on the POT position
    • POT scaling can be setup as one of two modes - Linear or non-linear
    • DO NOT ENABLE POT SCALING UNLESS POT ATTACHED TO ARDUINO
    • AN5 used for POT scaling input
    • The non linear scaling is designed to try and reduce the overall motion but maintain the "smaller" movements as best possible - ie road noise and stuff, but scale back on the huge side to side motion you get in higher power cars.
    scaling.jpg
    Last edited: Oct 11, 2015
  18. insanegr

    insanegr !N$@n€

    Joined:
    Jan 14, 2014
    Messages:
    504
    Location:
    Athens
    Balance:
    16,718Coins
    Ratings:
    +499 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    what would be better to do if we want to reduce our movement permanently ?
    gearing our pots or using SMC3 v0.7 with non linear pot scaling ?
  19. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,438Coins
    Ratings:
    +3,089 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    IMO I do not understand your thoughts because we can reduce movements by any software like SMC3 or SimTools itself. The non linear pot scaling shows a big advantage if you change a car (like a F1) and you want to soft the shaking, or you want to leave the rig and would like to avoid any malfunctions...only a few examples.
  20. insanegr

    insanegr !N$@n€

    Joined:
    Jan 14, 2014
    Messages:
    504
    Location:
    Athens
    Balance:
    16,718Coins
    Ratings:
    +499 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    @Pit sorry for not being so clear with my question .
    i have learnt here(hope right o_O) we can reduce our movements with simtools axis limiting or using low %values in axis assignments or using a big clip input value in SMC3 or gearing our pots like you have done with your rig or using a pot with less deg of rotation.
    with my current pots my motors have 180 deg movement and its to big for me and have reduced it permanently at 100 deg with SMC3 v0.7 and the non linear option.
    is this the best way reducing movement without loosing any resolution and anything else or have to do it different way?