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

    othmane New Member

    Joined:
    Apr 23, 2019
    Messages:
    2
    Balance:
    77Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    3DOF
    hi does any one know anything about the AMC-MDBOX controller??
  2. Cartman_SP69

    Cartman_SP69 Member

    Joined:
    May 17, 2018
    Messages:
    60
    Occupation:
    IT
    Location:
    South Africa
    Balance:
    384Coins
    Ratings:
    +15 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Good day Guys.

    I don't know what I'm doing wrong, I have Loaded SMC3 Version 1 on my arduino connected my to IBT2 BTS7960 43A bridge H, Change the cod in the Arduino to mode 2.
    Opened the SMC3 Windows utility the utility connects to the arduino board with no issues I followed the instructions on the first post to the letter but the motor does not move when I increase the PWMmax, I have also tested the potentiometers and moved them by hand and the green line on SMC3 moves but i cannot get the motors to turn.

    I also used the wiring diagram for mode 2 on the first post and double checked it multiple times.

    If i connect the motors directly to 24v they work perfectly.

    Thanks in advance for the assistance
  3. Arazok

    Arazok Member

    Joined:
    Mar 26, 2018
    Messages:
    180
    Occupation:
    Computer scientist
    Location:
    Germany
    Balance:
    783Coins
    Ratings:
    +32 / 0 / -0
    My Motion Simulator:
    2DOF
    Can you post us some screenshots or better a video which shows the setup and the problem ?
  4. Cartman_SP69

    Cartman_SP69 Member

    Joined:
    May 17, 2018
    Messages:
    60
    Occupation:
    IT
    Location:
    South Africa
    Balance:
    384Coins
    Ratings:
    +15 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    I will make a video tonight when i'm back home and post it.

    Thanks
  5. hooshang

    hooshang Active Member

    Joined:
    Jul 6, 2011
    Messages:
    273
    Balance:
    285Coins
    Ratings:
    +157 / 3 / -0
    My Motion Simulator:
    2DOF, DC motor, AC motor, Arduino, 6DOF
    this have to be done in SMC code?
    Last edited: May 28, 2019
  6. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,282
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,207Coins
    Ratings:
    +5,093 / 18 / -0
    Yes, in the firmware for the interface you are using.
    btw, @Thanos has a controller for such a sim setup.
    • Informative Informative x 1
  7. Cartman_SP69

    Cartman_SP69 Member

    Joined:
    May 17, 2018
    Messages:
    60
    Occupation:
    IT
    Location:
    South Africa
    Balance:
    384Coins
    Ratings:
    +15 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hi Arazok here are the images of my setup.

    when i connect the motor directly to the powersource the motor turns but when i run it trough the motor controller board and the arduino nothing happens

    Attached Files:

  8. Cartman_SP69

    Cartman_SP69 Member

    Joined:
    May 17, 2018
    Messages:
    60
    Occupation:
    IT
    Location:
    South Africa
    Balance:
    384Coins
    Ratings:
    +15 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hey guys

    I found the issue last night, The power supply we were using was giving 24v when not connected to anything but the moment we connect them to the motor driver boards it reads 33v no idea why. So I'm assuming the boards are going into over voltage lockout as the IBT2 boards have over and under voltage protection.

    I connected a 12v power supply to test and everything started working as it should however my motors are not running as good as they can, I will buy a new 24v PSU 350W should do the trick that is around 14.6A.
    • Like Like x 2
  9. hooshang

    hooshang Active Member

    Joined:
    Jul 6, 2011
    Messages:
    273
    Balance:
    285Coins
    Ratings:
    +157 / 3 / -0
    My Motion Simulator:
    2DOF, DC motor, AC motor, Arduino, 6DOF
    congratulation about the effort but your setup doesnt seems very tidy so try to duble checks all wirring and connections and take a look of cold soldering...then IMO separate the potenciometers from motors and test if it was OK then put in the place.
    change the SMC utility as picture below first and then change it as desire.not bad if you also checks motors ground.

    Attached Files:

    • Useful Useful x 1
  10. Cartman_SP69

    Cartman_SP69 Member

    Joined:
    May 17, 2018
    Messages:
    60
    Occupation:
    IT
    Location:
    South Africa
    Balance:
    384Coins
    Ratings:
    +15 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Thanks a Mil yes I'm going to clean up the setup once everything works I'm using the jumper wires just to do the tests with as they are easier to remove when troubleshooting. Once everything is ready to go and working I will clean it up and permanently solder everything in place.

    I'm also going to be 3d printing a box to contain all the electronics with cooling for the motor drivers.
    • Like Like x 1
  11. Jean Paul Andrade

    Jean Paul Andrade Member

    Joined:
    Jun 15, 2019
    Messages:
    77
    Balance:
    216Coins
    Ratings:
    +26 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    hello, Im a beginer and after some time looking for the best setup for a 3DOF sim i found your post and I decided to use it to build my own, the only thing is not very clear to me is: the 3 motors are for PITCH, YAW and ROLL movements? i would like to be sure I already have the structure and electronics but i still dont understand deeply the software. i really apretiate your help. thanks
  12. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,054
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,022Coins
    Ratings:
    +10,884 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    SMC3 can drive up to 3 motors, but what axis they are depends on the physical desing of the simulator, not the SMC3 Arduino code.

    SimTools is where you actually set up motion profiles and it can simulate more than the actual 3 axis, even on a 2DOF you can have sway, surge, heave, pitch and roll.

    It does take some time researching to get your head around the fundamentals of motion simulation and building a rig.

    You will find plenty of helpful information to get you started in the FAQs: http://www.xsimulator.net/community/faq/

    If something sounds odd then look it up in the glossary: http://www.xsimulator.net/community/faq/glossary-of-acronyms-and-names.66/

    When you are ready please start your own project threads here and post any questions you have on it: http://www.xsimulator.net/community/forums/diy-motion-simulator-projects.22/
  13. Jean Paul Andrade

    Jean Paul Andrade Member

    Joined:
    Jun 15, 2019
    Messages:
    77
    Balance:
    216Coins
    Ratings:
    +26 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Thank you so much for answering and clear my doubt. I see there's a lot of information, i'll follow your advice, thanks again
    Last edited by a moderator: Jun 15, 2019
  14. phongshader

    phongshader New Member

    Joined:
    May 29, 2019
    Messages:
    5
    Balance:
    39Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Can I run the sketch on the 1st page on a Arduino Mega? would the pin out remain the same?
  15. Wagnard

    Wagnard Well-Known Member Gold Contributor

    Joined:
    Jan 30, 2017
    Messages:
    494
    Location:
    Canada, Quebec, Mirabel
    Balance:
    4,836Coins
    Ratings:
    +653 / 2 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Hey guys,
    I want to add some micro switch to limit my actuator, how are you guys actually connecting them? does SMC3 support it? or we do it another way?
  16. tuanlai

    tuanlai New Member

    Joined:
    May 31, 2017
    Messages:
    14
    Location:
    Vietnam
    Balance:
    185Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hi everybody. i have try SMC3 with IBT-2 H-bridge, 12V wiper motor

    I do step by step with SMC3 but motor not moving.
    I can see the green line (pot) moving when i turning pot by hand
    but the yellow line did not moving, im i missing some wired?

    Need your help pls

    I also change "#define MODE1" to "#define MODE2" then upload
    Last edited: Jul 23, 2019
  17. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,054
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,022Coins
    Ratings:
    +10,884 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Can you please post pictures of all of your settings.
  18. tuanlai

    tuanlai New Member

    Joined:
    May 31, 2017
    Messages:
    14
    Location:
    Vietnam
    Balance:
    185Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Thanks for answer me. i resolved my problem, its bad wiring conection pot so its moving not like it should be..
    • Like Like x 1
  19. XaviAlonso

    XaviAlonso New Member

    Joined:
    Dec 10, 2015
    Messages:
    22
    Location:
    España
    Balance:
    55Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi everybody ! Firts to first!
    Thanks all of yours for such a amazing forum.
    I build a one axis motion with arduino and motormonter with simtools
    All looking good! Funtions and reaccion
    But! ( yes a but! )
    Right now im using the surge on the iracing
    For the inertia of aceleration and desaseleration. And react really good
    But its a way to exaggerate a littel more the upcoming data or the data send to arduino?
    I mean i try to multiply the data come out in the interface on simtool , output
    [A<axis1>*2]. But nothing happens
    I want to amplify the data a littel .
    Its a way? Maybe on the SMC3 utility?

    Ah! And other question, i can revers the efects? Because its okey but in the opposite way :)

    Thanks guys for your time.
    Xavi
  20. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,054
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,022Coins
    Ratings:
    +10,884 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    You use the SimTools Tuning Center to modify your surge effect. The lower the value the sharper the response, but over a smaller range, which is what it sounds like you are seeking.