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

Showroom Blame73's 2DOF Seat Mover

Discussion in 'DIY Motion Simulator Projects' started by Blame73, Nov 20, 2014.

  1. Rav3n87

    Rav3n87 Active Member

    Joined:
    Sep 9, 2020
    Messages:
    131
    Balance:
    723Coins
    Ratings:
    +44 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    @p00ky

    past that bit now too haha, up to output testing not playing ball on sim tools, got it to move on smc3 nicely
  2. p00ky

    p00ky Active Member

    Joined:
    May 4, 2020
    Messages:
    109
    Occupation:
    Self Employed Laser Cutter
    Location:
    Wales
    Balance:
    350Coins
    Ratings:
    +56 / 2 / -0
    My Motion Simulator:
    2DOF, Arduino
    More good news :D Your on a role.
    So thought I might just show you my settings in simtools, maybe that will help you out.

    So the first and most important is the connection settings......
    [​IMG]
    I have 3 motors , 2dof and traction-loss but this wikll work if you only have 2 motors. The only thing you would need to change is the com port so it's the same as your arduino.

    Then theres the individual dofs and axis.
    [​IMG]
    [​IMG]

    This should only be used as a guide as you would want to tune your machine yourself. The only thing to note is the third axis which has been set to extra1 which is normally used for traction loss.

    I haven't included my axis limits settings as again that is something that would be particular to your machine.

    Hopefully that helps.

    Attached Files:

  3. Rav3n87

    Rav3n87 Active Member

    Joined:
    Sep 9, 2020
    Messages:
    131
    Balance:
    723Coins
    Ratings:
    +44 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    @p00ky

    another total noob mistake, didnt realise what smc3 utility was trying to do grrr it wasnt working properly....turns out i had the driver in pin 3 instead of pin2 ffs..... works like a charm, will start my thread tomorrow and pop a video or something up of hopefully all three tracking the target in smc3


    thank you both for putting up with me!
    • Winner Winner x 1
  4. p00ky

    p00ky Active Member

    Joined:
    May 4, 2020
    Messages:
    109
    Occupation:
    Self Employed Laser Cutter
    Location:
    Wales
    Balance:
    350Coins
    Ratings:
    +56 / 2 / -0
    My Motion Simulator:
    2DOF, Arduino
    Deep down we are all n00bs my friend :D But thats great news. Shall look forward to your build thread.
  5. Blame73

    Blame73 Well-Known Member

    Joined:
    Nov 6, 2014
    Messages:
    1,210
    Location:
    Italy
    Balance:
    8,255Coins
    Ratings:
    +1,103 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    I bet most of us couldn't even solder a wire before starting our own rigs...
    Enjoy your motion rig!
    • Like Like x 2
  6. Rav3n87

    Rav3n87 Active Member

    Joined:
    Sep 9, 2020
    Messages:
    131
    Balance:
    723Coins
    Ratings:
    +44 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    @Blame73 @p00ky

    hey guys what pins for motor 3?



    EDIT

    ahh and motor 2 lol its not behaving output light is solid on before being switched on

    ive got 4,10,a1 for motor 2

    is there a way to check the pins in the code?


    EDIT Found the pins in the code

    Motor 1
    dir 2
    pwm 9
    pot a0

    motor 2
    dir 4
    pwm 10
    pot a1

    Motor 3
    dir 6
    pwm 11
    pot a2
    Last edited: Sep 23, 2020
  7. p00ky

    p00ky Active Member

    Joined:
    May 4, 2020
    Messages:
    109
    Occupation:
    Self Employed Laser Cutter
    Location:
    Wales
    Balance:
    350Coins
    Ratings:
    +56 / 2 / -0
    My Motion Simulator:
    2DOF, Arduino
    All your pins seem correct so would need more info in order to troubleshoot.

    EDIT
    I just plugged my rig in & the md30c driver is active as soon as you give it power, It doesn't care if simtools output testing is enabled or not. Simtools should be telling it to be central as soon as you start the app. You should have a green led that tells you you have power and then there are 2 red led's marked ds1 &ds2 respectively which tell you which direction the motor is being powered in. If the pot is central then you might see some flickering from 1 or both but they should only be on if the motor is turning in a particular direction.
    Last edited: Sep 23, 2020
  8. Rav3n87

    Rav3n87 Active Member

    Joined:
    Sep 9, 2020
    Messages:
    131
    Balance:
    723Coins
    Ratings:
    +44 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Thanks @p00ky i got it sorted, foiled again by sticking wires in the wrong bloody holes hahahha, cant follow my own damn directions,

    ps: Check over at my thread for a video coming shortly
  9. amer

    amer New Member

    Joined:
    Oct 17, 2020
    Messages:
    17
    Location:
    Malaysia
    Balance:
    157Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Hi @Blame73 .. I just started building my rig and I also use the same cytron driver md30c and I use your modified smc3 code (thanks for that). I have 1 question.. do u use battery for your setup? I have 24v 500w motor with 24v 700w psu.. I just want to make sure if battery is necessary for my setup since cytron recommend to use battery to handle regenerative current. if possible I want to avoid to use battery to save some space and wondering if there is any other option instead of using battery.

    seems like @p00ky and @Rav3n87 also using cytron for their setup.. do u guys also using battery?

    thanks
  10. p00ky

    p00ky Active Member

    Joined:
    May 4, 2020
    Messages:
    109
    Occupation:
    Self Employed Laser Cutter
    Location:
    Wales
    Balance:
    350Coins
    Ratings:
    +56 / 2 / -0
    My Motion Simulator:
    2DOF, Arduino
    Hey there, I can't really answer for Blame73 although we have spoken about it briefly in the past. I use both an md30c and the double driver mdds30 with a battery and a PSU.

    The manual for the mdds30 states

    "MUST BE IN PARALLEL WITH A BATTERY WITH SAME VOLTAGE.

    NOTE If a power supply that cannot sink current is being used (example: bench top and AC to DC switching power supply), the input voltage will rise when the driver is regenerating (motor is slowing down, or being pushed by external force). Thus, it is important to connect a battery with same voltage in parallel with the power supply to absorb the current generated by the motor. Else, the input voltage might rise to a level where SmartDriveDuo-30 can’t handle and it will be destroyed permanently or the power supply trigger protection mode"

    Where as the manual for the md30c states

    "We recommend to use battery as power source to MD30C.
    NOTE:

    If Switching Power Supply is being used as power source for MD30C, we recommend parallel it with same voltage battery. This is to absorb the re-gen power from motor. DC brushed motor will become generator when it is slow down and rotate by external force.
    "

    The wording is quite different between the 2 which makes it a little hard to interpret. Because I use the mdds30, I went with a battery.

    Sorry, I know that's not exactly helpful :/ I'm pretty sure Blame runs 3 individual md30c's & may well have a better answer for you.
  11. Blame73

    Blame73 Well-Known Member

    Joined:
    Nov 6, 2014
    Messages:
    1,210
    Location:
    Italy
    Balance:
    8,255Coins
    Ratings:
    +1,103 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hey @amer, I'm using (well... right now the rig is still to get moved to the new house) a battery in parallel.
    I'm using 12V motors, so I'm using a 12v motorcycle battery, that's not big and does what it has to.

    Cheers
  12. amer

    amer New Member

    Joined:
    Oct 17, 2020
    Messages:
    17
    Location:
    Malaysia
    Balance:
    157Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    thanks @Blame73 @p00ky .. so looks like it is better for me to use battery as well..since my motor is 24v,so i think i might need 2 12v batteries connected in series to make it 24v..

    last question,for now i have 2 unit of 24v motor and since I am using separate PSU for each motor, should I also be using separate battery for each motor as well? or can I connect only 1 battery in parallel with 2 PSUs and then from the battery I connect to both Md30c? And also do u guys using diode between the PSU and battery?

    sorry if my question doesn't make any sense since I dont have much knowledge in electrical things..

    Thanks
  13. absyfadhel1

    absyfadhel1 Member

    Joined:
    Oct 19, 2017
    Messages:
    324
    Location:
    bahrain
    Balance:
    422Coins
    Ratings:
    +30 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Where to find this product link? I'm searching for it from long time
  14. Blame73

    Blame73 Well-Known Member

    Joined:
    Nov 6, 2014
    Messages:
    1,210
    Location:
    Italy
    Balance:
    8,255Coins
    Ratings:
    +1,103 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    I don't know if using them in parallel in order to get 24v and then going to both motors could be bad, sorry I can't help you with that.
    Right now I'm not using diodes


    I bought them on the bay, I don't have a link to a seller
    • Like Like x 1
  15. amer

    amer New Member

    Joined:
    Oct 17, 2020
    Messages:
    17
    Location:
    Malaysia
    Balance:
    157Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino

    Thanks @Blame73 .. much appreciated
  16. Natethegreat

    Natethegreat New Member Gold Contributor

    Joined:
    Sep 7, 2022
    Messages:
    2
    Balance:
    - 67Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, SimAxe
    Hello I have a couple of cytron md20a driver from other project will they work with smc3 if so which mode?
    Thanks in advance
  17. Blame73

    Blame73 Well-Known Member

    Joined:
    Nov 6, 2014
    Messages:
    1,210
    Location:
    Italy
    Balance:
    8,255Coins
    Ratings:
    +1,103 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    • Informative Informative x 1
  18. Bo Howell

    Bo Howell Member Gold Contributor

    Joined:
    Mar 4, 2020
    Messages:
    33
    Occupation:
    Product Specialist
    Location:
    New Sharon, Iowa
    Balance:
    119Coins
    Ratings:
    +24 / 0 / -0
    My Motion Simulator:
    6DOF
    Hello all,

    I'm sorry to revive an old post, but I think it does fit here?
    I am experimenting with a Cytron MDDS30 for my 6DOF platform to replace the dreaded IBT-2 drivers I keep killing.
    I have installed the modified SMC3 sketch by Blame73, set the dip switches and its wired exactly as p00ky has his set up.
    I have played around with the SMC3 settings. (deadzone needs to be large in order to get the initial stop input)

    It works as intended if I "center" my two actuators that I have connected to it. (mid travel shown in SMC3)
    But if it has drooped down, as it does when the power is off, and I fire up the PC which powers up the Arduinos.
    Then I get the two double flash red LED's on the Cytron indicating it doesn't see the stop input from the Arduino and will not turn on when I send 24v to the motor input side.

    I am no programmer so I am wondering if there is a setting in the modified SMC3 sketch that can be adjusted to give this "stop" input for initial startup no matter where the actuator is in its range of motion?

    I hope this all makes sense.
    If not, please ask me any questions if you have some thoughts.
    Thank you to everyone who has worked on using this driver ahead of me!
  19. p00ky

    p00ky Active Member

    Joined:
    May 4, 2020
    Messages:
    109
    Occupation:
    Self Employed Laser Cutter
    Location:
    Wales
    Balance:
    350Coins
    Ratings:
    +56 / 2 / -0
    My Motion Simulator:
    2DOF, Arduino
    Hey there, sorry to hear your having issues. I am not the coder and I may not be able to help on that side of things but I do know of what you speak.... I think.

    So on my rig I use a couple of old wheel chair motors. They have worm gears but not enough to stop them from collapsing under the rigs weight. When the rig is off I prop the front up on a block thats the right height to keep it level. More often than not when I turn my rig on I wont get any output from the driver until I've recentered the motors stroke. I do this by lifting the front of the rig by hand & normally the drivers kick right in. I've never really worried about it as the solution is so simple on my setup. Depending on how your rig is designed, it may not be so easy. You probably shouldn't try and rotate the motor directly at the shaft by hand as when the motors kick in they can be less than suttle & I wouldn't want it to rip off your arms :D

    Are you able to lift the front of your rig by hand? (without sticking your hands anywhere they really shouldn't be. I lift my frame from under the pedals).

    Perhaps Blame73 has a more sophisticated solution?
  20. Bo Howell

    Bo Howell Member Gold Contributor

    Joined:
    Mar 4, 2020
    Messages:
    33
    Occupation:
    Product Specialist
    Location:
    New Sharon, Iowa
    Balance:
    119Coins
    Ratings:
    +24 / 0 / -0
    My Motion Simulator:
    6DOF
    Thank you for the quick response!
    That is exactly like what I am dealing with.
    It would not be very easy to lift my platform into position to start the drivers.

    I could possibly make “hard stands” to be able to
    hold it in place while powering up, and I had considered that. But I was hoping there would be another way to go around the “safety” built into the Cytron driver to allow it to power up with the actuator in any position as the IBT-2’s do.

    thank you again for the suggestions!