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

2dof - another in da' house ;)

Discussion in 'DIY Motion Simulator Projects' started by gorzasty, Apr 7, 2015.

  1. gorzasty

    gorzasty Active Member

    Joined:
    Apr 2, 2012
    Messages:
    151
    Occupation:
    photographer, IT specialist
    Location:
    Poland, Wrocław
    Balance:
    1,060Coins
    Ratings:
    +41 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Thx for replay Pit. I think I understand. I've got multimeter and I can measure the voltage or current with it but not the power.
    At the moment my pots are not mounted to the motor. They are connected only to the Arudino and MM. BTW they are 10k linear pots.

    As You said I will try:

    1. Check the voltage A1-B1 while turning the pot (maybe the current also)
    2. Upload 0.63 and try one more time

    Now I know how should it work. Maybe I should also check my Arduino UNO chinese clone and chinese MM are they OK, but I dont know how.
    It's strange for me that with RacingMat code motor is turning. I cant control it at the moment but is alive. With SMC3 code something is wrong with my hardware, couse motor is dead... I'm not Sherlock Holmes ;) but I think that motor is OK, MM is OK and maybe there is something wrong with Arduino that should control the movement.
  2. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,416Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    if RacingMat's code is working fine you should go this way first?
    You need only to check out the voltage. Current is not needed. Yesterday I checked your wire but could not find any faults. The MM, The Ard and the pots are connected by +5V and GND of the Ard I assume? And the pot is wired correctly as well? You know + and - are the outer in- or outputs...
  3. gorzasty

    gorzasty Active Member

    Joined:
    Apr 2, 2012
    Messages:
    151
    Occupation:
    photographer, IT specialist
    Location:
    Poland, Wrocław
    Balance:
    1,060Coins
    Ratings:
    +41 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Thx for checking. I have checked it for hundred times and couldn't find any problems... My pots are also seems to be right connected. SMC Utility recognizes them well.

    RacingMat's code is ok, but I rather to start with SMC3. It seems to be better IMO and from what I have heard. Besides I wasn't tested RacingMat's code deeper, so maybe there will be different problems. I started with SMC3 and I really want to make it work. There must be some way with all Your help!

    Now I have made measurements:

    Utility is showing:

    [​IMG]

    I startred from PWMmax=0 to PWMmax=73

    Voltage was incresing form 0 to 0,26V at PWMmax=73 it's obvious that my motor have no power to start. At this voltage my chip was so hot that I had to turn off my PSU. Voltage at the input of MM is 12,5V all the time.
    • Useful Useful x 1
  4. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,416Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    Ok, there MUST be something wrong, because I can use the MMs without cooler only for testing with especially when no motors are connected. They stay cool so if they became hot - this is no good sign. Can you check out the board of the MM if somewhere is some solder or a very thin wire where it not should be...you can help us better if you take some more photos, one detailed photo from the bird eye's perspective (high resolution), from each board, but please from the whole board...again look very exactly if somewhere is some metal which can be responsible of a short circuit.
    Last edited: Apr 28, 2015
  5. gorzasty

    gorzasty Active Member

    Joined:
    Apr 2, 2012
    Messages:
    151
    Occupation:
    photographer, IT specialist
    Location:
    Poland, Wrocław
    Balance:
    1,060Coins
    Ratings:
    +41 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    I can't see any shorts or unwanted connections. I chcecked with the multimeter - anly pins connected are 2 GND on MM. Maybe screw cennections for wires are too close the chips on MM? But A1B1 and A2B2 are not shortened.

    Here are the pictures:


    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]
  6. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,416Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    Obviously damaged!
    20150428_170942.jpg
    BTW you should improve your soldering skill...what is your soldering bolt?
  7. gorzasty

    gorzasty Active Member

    Joined:
    Apr 2, 2012
    Messages:
    151
    Occupation:
    photographer, IT specialist
    Location:
    Poland, Wrocław
    Balance:
    1,060Coins
    Ratings:
    +41 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hey I think I found something at last!

    I disconnected my motor and I checked if MM will get hot, but he won't. So I mesured resistance between + and - of unconnected motor wires and it is 0 - ZERO. Does it mean that my motor is broken and makes short circuit?

    Whats more voltage between A1B1 is about 10V when no motor is connected. When I connect my motor voltage go near zero (0,3V). Looks like my motor is broken?

    I dont have any other motor to check at the moment. Can I try with computer fun?

    My soldering skills are not the best I know ;/ but most the time it works ;) Tommorow I will show You pictures of my soldering bolt. The pin You showed is ok - I checked it twice with multimeter.
  8. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,416Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    No, your MM is damaged.
  9. gorzasty

    gorzasty Active Member

    Joined:
    Apr 2, 2012
    Messages:
    151
    Occupation:
    photographer, IT specialist
    Location:
    Poland, Wrocław
    Balance:
    1,060Coins
    Ratings:
    +41 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    My MM? Pit I just found small computer fan and connected it to MM. And... it works! Just like You said. Starts when I put PWMmax =3 and reacts on pot. Are You sure that my MM is broken? I'm really confused ;(
  10. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,416Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    Sure - I hope not :) Why I resume that the MM could be damaged: first the photo which I have uploaded shows you a white spot, a wire on the board itself seems to be broken. Second if you have not 12v output without any motors connected and no power (volts) if motors are connected the MM has been damaged. A very small motor like a fan works well, but that says nothing. I hope I am mistaken but I am rather sure.
    • Useful Useful x 1
  11. gorzasty

    gorzasty Active Member

    Joined:
    Apr 2, 2012
    Messages:
    151
    Occupation:
    photographer, IT specialist
    Location:
    Poland, Wrocław
    Balance:
    1,060Coins
    Ratings:
    +41 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Ok, thx very much Pit for all Your help. Something is broken that's for sure... but it would be better for me if my MM was broken then my motor. Motor has cost me 6 times more ;/ Now I will wait for my next MM that is coming to me. Could You advice me how to not damaged another MM? I really dont know what I did that damaged it.
  12. gorzasty

    gorzasty Active Member

    Joined:
    Apr 2, 2012
    Messages:
    151
    Occupation:
    photographer, IT specialist
    Location:
    Poland, Wrocław
    Balance:
    1,060Coins
    Ratings:
    +41 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Here is my stuff. I know... there is nothing to be proud of ;)

    [​IMG]

    [​IMG]
  13. SeatTime

    SeatTime Well-Known Member

    Joined:
    Dec 27, 2013
    Messages:
    2,574
    Occupation:
    Retired
    Location:
    Brisbane Australia
    Balance:
    28,370Coins
    Ratings:
    +2,844 / 39 / -0
    My Motion Simulator:
    AC motor, Motion platform
    Recommend that you connect your motor directly to your 12V DC power supply, if the motor turns then your motor is OK. All the solder splatter and board delamination points to too much heat (or left in place too long) from the soldering iron. Are you using a temperature controlled soldering iron? Edit - seems you do - maybe it is turned up too high (picture shows it on max :eek: - not required when soldering small wires onto a circuit board) or you are leaving it on the job too long? Practice makes perfect. I like to use a iron that has a closed loop tip temperature gauge - removes the guess work.
    Last edited: Apr 29, 2015
  14. gorzasty

    gorzasty Active Member

    Joined:
    Apr 2, 2012
    Messages:
    151
    Occupation:
    photographer, IT specialist
    Location:
    Poland, Wrocław
    Balance:
    1,060Coins
    Ratings:
    +41 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Ok, thx for the advices I will improve my soldering skills.

    I connected my motor directly to my PSU and there is also some problem... look at the video:



    Motor is trying to strat but can't do it.for some reason. On the psu yellow led is on - it means a problem and probably some protection is on.

    But.. if I connected my motor through multimeter (in current measurement mode) my motor works... what is going on here guys???

    video with multimeter in the circuit:

  15. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,416Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    @gorzasty be cautious we are mixing now different things! We did the test without motors and the MM seems to be faulty.
    Your motor is fine. When you stop the motor using the volt meter the PSU is shuttung down for a second, then comes back to life...you have a too weak or damaged PSU (or you did not connected all lines of the 12V)

    Perhaps you can try an other PSU?

    What you can do furthermore: please check the case of the motor if somewhere the power inputs of the motor are connected with the case of the motor by accident...
    • Agree Agree x 1
  16. gorzasty

    gorzasty Active Member

    Joined:
    Apr 2, 2012
    Messages:
    151
    Occupation:
    photographer, IT specialist
    Location:
    Poland, Wrocław
    Balance:
    1,060Coins
    Ratings:
    +41 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    So maybe all my problems come from PSU...

    I used this manual to mod it

    and I took volatge form two pins inside like on this picture:

    [​IMG]

    Tommorow I'll try to use my car battery and we'll see.
  17. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,416Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    Car battery should work anyway.
    • Useful Useful x 1
  18. Alexey

    Alexey Well-Known Member

    Joined:
    Sep 23, 2014
    Messages:
    452
    Occupation:
    Electronics Technician
    Location:
    Adelaide, Australia
    Balance:
    8,060Coins
    Ratings:
    +620 / 2 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Did you enable the 12v line by placing a resistor across the sense lines? If you did then the supply is going into overload protection, if not then you need to add the resistor.
    • Agree Agree x 1
    • Informative Informative x 1
    • Useful Useful x 1
  19. gorzasty

    gorzasty Active Member

    Joined:
    Apr 2, 2012
    Messages:
    151
    Occupation:
    photographer, IT specialist
    Location:
    Poland, Wrocław
    Balance:
    1,060Coins
    Ratings:
    +41 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Ok I tried connect my motor directly to the car battery and it works. Motor is OK, as Pit said. Next I tried it with computer PSU and the same thing - motor works. Then I also connected it the the Ard+MM and same problems - MM is getting hot very quickly, but now motor works.

    Conclusion:

    1. Motor is OK
    2. MM is broken
    3. Ard is OK
    4. PSU is broken or not properly moded

    Thx Alexey, You right. I forget to add the resistor. I enabled 12V with short connection, but no resistor and voltage is maybe to high (12,8V). I disconnected it and my voltage went 11,7V. With this voltage motor connected directly to the PSU sometimes starts, but not always. I read that I need 470 ohm resistor there. Do You think this is the problem with my PSU, or I have to look somewhere else? I think 12V motor should have some tolerance and should work with the range 11,5V-12,5V.
  20. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,416Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    The range is absolutely no issue and standard. I am happy you have sorted it out. BTW your matter was a big support effort :) Hope next time you will success.
    • Like Like x 2