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

    Meawto Sorry for bad English ;'(

    Joined:
    Aug 10, 2015
    Messages:
    96
    Location:
    Thailand
    Balance:
    - 336Coins
    Ratings:
    +43 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    hi ! i'm newbie here. i want to know after i'm tuned in SMC software and i can use it immediately or i have to upload code (value in SMC software) again in arduino software ?(Arduino IDE)

    thanks
  2. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,952Coins
    Ratings:
    +1,016 / 10 / -1
    If you used Windows SMC3Utils to change the settings then they are automatically saved in the Arduino EEPROM.

    You should not need to edit SMC3 code except for the initial MODE configuration.
  3. luky_90

    luky_90 Member

    Joined:
    Mar 3, 2016
    Messages:
    106
    Location:
    Italy
    Balance:
    276Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    excuse @RufusDufus, I try to make things clear .
    In the video with the MM I am using the RacingMat code, if I rotate the potentiometer see as the engines move .
    In the video with IBT2 I am using SMC3.ino MODE2 , as you can see if I rotate the potentiometer the motors are at a standstill .
    I hope I have clarified
  4. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,952Coins
    Ratings:
    +1,016 / 10 / -1
    What does Windows SMC3Utils report?
    Does it connect to the arduino (ie show version number of SMC3 installed)?
    When you turn the POT can you see the green line move in the SMC3Utils chart?
    Have you configured the SMC3 settings using SMC3Utils?
    Perhaps post a screenshot or video of this.
  5. luky_90

    luky_90 Member

    Joined:
    Mar 3, 2016
    Messages:
    106
    Location:
    Italy
    Balance:
    276Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I have not installed SMC3 utilities , expecting to make everything work and then do it !!what do you recommend version to download ? I just agreed to take a video .
  6. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,952Coins
    Ratings:
    +1,016 / 10 / -1
    You need to use Windows SMC3Utils to configure the settings before using Simtools.
    It will help you find your problems as well.
    Download and details are in the second post of this thread.
  7. luky_90

    luky_90 Member

    Joined:
    Mar 3, 2016
    Messages:
    106
    Location:
    Italy
    Balance:
    276Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I installed SMC3 utility , followed step by step instructions , but the motors are at a standstill , I tried to move the hand potentiometer and the green line moves, but the engine remains stationary .I also did another house right where there wrote Motor1 , motor2 , Motor3 if I press the power button does not switch to ON

    Attached Files:

  8. stevemontuno

    stevemontuno Active Member

    Joined:
    Apr 24, 2015
    Messages:
    316
    Location:
    UK
    Balance:
    1,461Coins
    Ratings:
    +335 / 0 / -0
    My Motion Simulator:
    2DOF
    I think i remember once not being able to turn the motors on but after i reset my pots back to near center all was good again,,,,worth a try anyways.

    If that works reset your PWMmax etc back to zero and start your test again ,, you should start seeing movement when your pwmmax get up to around 20
  9. luky_90

    luky_90 Member

    Joined:
    Mar 3, 2016
    Messages:
    106
    Location:
    Italy
    Balance:
    276Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    as I reset my pots ?
  10. stevemontuno

    stevemontuno Active Member

    Joined:
    Apr 24, 2015
    Messages:
    316
    Location:
    UK
    Balance:
    1,461Coins
    Ratings:
    +335 / 0 / -0
    My Motion Simulator:
    2DOF
    re-center the pots ,,,
  11. luky_90

    luky_90 Member

    Joined:
    Mar 3, 2016
    Messages:
    106
    Location:
    Italy
    Balance:
    276Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    @stevemontuno I hit the pot as you told me , then I raised PWMmax this video a result , the engines do not move again !!

  12. stevemontuno

    stevemontuno Active Member

    Joined:
    Apr 24, 2015
    Messages:
    316
    Location:
    UK
    Balance:
    1,461Coins
    Ratings:
    +335 / 0 / -0
    My Motion Simulator:
    2DOF
    Make sure you've not got simtools running ,,,and also close the arduino software.
  13. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,952Coins
    Ratings:
    +1,016 / 10 / -1
    The video shows that the motor is already in the target position (blue line and green line on top of each other, therefore the motor does not need to and won't be moved.

    It is best to do this test using square wave or sine wave output.
    • Informative Informative x 1
  14. luky_90

    luky_90 Member

    Joined:
    Mar 3, 2016
    Messages:
    106
    Location:
    Italy
    Balance:
    276Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    hello guys , after several tests I found that the IBT - 2 boards were broken .Today I did some testing with MM , I leave a video because I can not launch if motion in utility after a while it moves jumping power .look your help and thank you for everything !!

  15. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,952Coins
    Ratings:
    +1,016 / 10 / -1
    If you can click the OFF button to ON then the issue is that the Arduino SMC3 code thinks the motor POTs are moving beyond the set limits. As it doesn't appear that way on the chart it could be noise on the signal that isn't showing up - it only needs one sample outside the limits to shut down. Try moving the POT wires away from the motor and 12 power wires, twist the 3 POT wires together, if the POT itself is dirty it could produce noise - try a different POT, try increasing the set limits using the SMC3Utility (red lines) so that there is a greater gap, try some capacitors between the POT input on Arduino and GND to filter noise spikes.
  16. luky_90

    luky_90 Member

    Joined:
    Mar 3, 2016
    Messages:
    106
    Location:
    Italy
    Balance:
    276Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Thank you very much , all sorted now .
    I have a doubt , I will set the data that will remain on the utility also saved on simtool or the utility is only a test program for the engines ?
  17. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,952Coins
    Ratings:
    +1,016 / 10 / -1
    The changes made using SMC3Utils are automatically saved to the Arduino EEPROM.
    • Like Like x 1
  18. luky_90

    luky_90 Member

    Joined:
    Mar 3, 2016
    Messages:
    106
    Location:
    Italy
    Balance:
    276Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    [Quote = "RufusDufus, posta: 114191, Membro: 8539"]. Le modifiche apportate usando SMC3Utils vengono Salvate Automaticamente Nella EEPROM Arduino [/ quote]

    My IBT2 have burned , changing the BTN with this model that I attach what you think ? It seems to be more powerful

    Attached Files:

  19. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,952Coins
    Ratings:
    +1,016 / 10 / -1
    An initial quick look it appears as a suitable alternate for the now obsolete BTS7960B.
    I haven't checked in detail though.
  20. ericRacer

    ericRacer You get old because you stop playing ! Gold Contributor

    Joined:
    Jun 11, 2009
    Messages:
    251
    Occupation:
    Pilot
    Location:
    Canada, Quebec
    Balance:
    949Coins
    Ratings:
    +147 / 2 / -0
    My Motion Simulator:
    3DOF, Arduino, Motion platform
    @RufusDufus Hi !
    I think i found a little error in the software . ( i am not sure, but i found it on my original version). Maybe it is already fixed. here is in the attached file. SMC3_07  Arduino 1.6.5.jpg
    • Winner Winner x 1
    • Informative Informative x 1