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

Greg's journey into the world of 2DOF simulators

Discussion in 'DIY Motion Simulator Projects' started by Greg83, Feb 17, 2015.

  1. Greg83

    Greg83 Active Member

    Joined:
    Feb 2, 2015
    Messages:
    104
    Occupation:
    IT Specialist
    Location:
    Budapest, Hungary
    Balance:
    328Coins
    Ratings:
    +46 / 0 / -0
    So new MM's have arrived two days ago, yesterday spent a long time with assembly, but it seems Motor 1 is stubborn...
    Although I have progress, Motor2 is working like a charm! :)

    Any idea guys as to why isn't Motor 1 following the target line downwards?:confused:
  2. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,439Coins
    Ratings:
    +3,089 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    Great that you sorted it out.
    Like always there must be an issue...first when you switch to motor 1 the feedback and the target line are not one above the other. The motor gets power but does not move. I suggest to switch the motors (or the MMS) by replacing each to other to check out if the issue persists. I assume that you have all wired correctly.
  3. Greg83

    Greg83 Active Member

    Joined:
    Feb 2, 2015
    Messages:
    104
    Occupation:
    IT Specialist
    Location:
    Budapest, Hungary
    Balance:
    328Coins
    Ratings:
    +46 / 0 / -0
    Resoldering of all wires has started, hopefully this will sort out things!
    IMAG0303.jpg
    • Like Like x 1
  4. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,439Coins
    Ratings:
    +3,089 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    Obviously you have enough solder :) Good luck.
    • Funny Funny x 3
  5. Greg83

    Greg83 Active Member

    Joined:
    Feb 2, 2015
    Messages:
    104
    Occupation:
    IT Specialist
    Location:
    Budapest, Hungary
    Balance:
    328Coins
    Ratings:
    +46 / 0 / -0
    Well soldered everything perfectly, I simply can't do a better job:
    IMAG0306.jpg IMAG0307.jpg IMAG0308.jpg IMAG0309.jpg IMAG0310.jpg IMAG0311.jpg IMAG0312.jpg


    The frustrating this is, that I know I did not love up this time and even though this piece of shit motor 1 does not move downwards...
    BTW motor 1 has a brand new pot!

    I'am clueless what to do...

    Guys?
  6. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,439Coins
    Ratings:
    +3,089 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    OK, please switch motor 1 <-> motor 2 and the pots as well. Then report what happened.
  7. Greg83

    Greg83 Active Member

    Joined:
    Feb 2, 2015
    Messages:
    104
    Occupation:
    IT Specialist
    Location:
    Budapest, Hungary
    Balance:
    328Coins
    Ratings:
    +46 / 0 / -0
    Switched as instructed (also cables on MM): IMAG0313.jpg

    Now visibly in SMC Utility you won't see any diffrence, but on the sim the other motor was moving.
  8. 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
    @Greg83 did you reverse cables red cycle from photo? do you power with 5V to the MM with those cables too or only the POT's? if yes you reversed polarity to the MM.
    a photo with all connections would be better
  9. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,439Coins
    Ratings:
    +3,089 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    hmm, very annoying.
    BTW I cannot see how the boards are connected using GND...
    Both motors seem to work (if switched). Whereas you switched the pin out of the MM, the MM could be faulty. In order to get out what really happens you should test your arduino only with one pot (A0), one motor and only the wiring for one motor (1). If this works well, use the same pot and same motor for A1 (instead of A0).
    Be sure you are using SMC 0.63 and not 0.7.
  10. Greg83

    Greg83 Active Member

    Joined:
    Feb 2, 2015
    Messages:
    104
    Occupation:
    IT Specialist
    Location:
    Budapest, Hungary
    Balance:
    328Coins
    Ratings:
    +46 / 0 / -0
    Hey!

    Yes I do power MM with 5V and I have changed the cables there too (cabling: http://www.xsimulator.net/community/attachments/motomonstersetup-jpg.10992/):
    This was the first version:
    http://www.xsimulator.net/community/attachments/imag0313-jpg.21106/

    After change:
    IMAG0314.jpg

    I have made the joints from the pot/arduino/MM like so:

    IMAG0316.jpg
    Last edited: Apr 18, 2015
  11. Greg83

    Greg83 Active Member

    Joined:
    Feb 2, 2015
    Messages:
    104
    Occupation:
    IT Specialist
    Location:
    Budapest, Hungary
    Balance:
    328Coins
    Ratings:
    +46 / 0 / -0
    @Pit : I hope the above pictures give you a better picture of my wiring?
    Tonight I will test out upon your instructions! Thanks ;)
  12. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,439Coins
    Ratings:
    +3,089 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    If available check your wire by using a voltage and continuity tester
  13. Greg83

    Greg83 Active Member

    Joined:
    Feb 2, 2015
    Messages:
    104
    Occupation:
    IT Specialist
    Location:
    Budapest, Hungary
    Balance:
    328Coins
    Ratings:
    +46 / 0 / -0
    So tested this out and it seem the problem lies within A0 part because when I plug over everything from the working A1 side it stops working downwards.
    Can I have done something with the Arduino when I blew up my MM?
  14. Greg83

    Greg83 Active Member

    Joined:
    Feb 2, 2015
    Messages:
    104
    Occupation:
    IT Specialist
    Location:
    Budapest, Hungary
    Balance:
    328Coins
    Ratings:
    +46 / 0 / -0
    Also took apart the whole connection between the Arduino used new wires and soldered everything together the proper way:
    IMAG0323.jpg
  15. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,439Coins
    Ratings:
    +3,089 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    @Greg83 what do you mean when saying plug over?
  16. Greg83

    Greg83 Active Member

    Joined:
    Feb 2, 2015
    Messages:
    104
    Occupation:
    IT Specialist
    Location:
    Budapest, Hungary
    Balance:
    328Coins
    Ratings:
    +46 / 0 / -0
    @Pit Just to be clear if I did not miss understand anything! Try it like so: MotoMonsterSetup.jpg
    And then change the green line to A1?
    Currently Motor 1 and Pot 1 is not working like this.
    My test was to witch pot1/motor1/MM motor 1 cable with pot2/motor2/MM motor 2 cable.
  17. Pit

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

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,439Coins
    Ratings:
    +3,089 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    hi @Greg83 if you use only one pot both motors are working simultaneously. By switching A0 to A1 you can check the Ard if the signal will send correctly.
    Do you own a Voltmeter? If you can check the A1/B1 and A2/B2 outputs that would be helpful. If the voltage differs (eg. one output ~12v, the other 6V or so) than your MM could be damaged.
    At least the MM has some LED lights as well which should be on when the PSU is attached and on, too..
    Aside of each chips there are some small LEDs - can you make a video of them while turning the pot? (PSU must be ON)
    • Agree Agree x 1
    Last edited: Apr 23, 2015
  18. Alexey

    Alexey Well-Known Member

    Joined:
    Sep 23, 2014
    Messages:
    452
    Occupation:
    Electronics Technician
    Location:
    Adelaide, Australia
    Balance:
    8,062Coins
    Ratings:
    +620 / 2 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    You should clearly see the LED next to the ports that indicate that there is a signal going to the chips (pit beat me to it). If there is no lights that means no signal or no power going to the chip. If the lights are flashing but no movement then the MM chip is dead. One thing to rule out the arduino being the problem is go into the arduino code and change the PWM and analogue pins + wiring for the motor that does not move. If the motor still does not move, then it could be a dead MM.
  19. Greg83

    Greg83 Active Member

    Joined:
    Feb 2, 2015
    Messages:
    104
    Occupation:
    IT Specialist
    Location:
    Budapest, Hungary
    Balance:
    328Coins
    Ratings:
    +46 / 0 / -0
    @Pit :
    @Alexey :
    Gents thank you for the tipps, I will get a multimeter and make a video of this on Sunday.
    Unfortunately I won't have time for my project before then...:(
  20. Greg83

    Greg83 Active Member

    Joined:
    Feb 2, 2015
    Messages:
    104
    Occupation:
    IT Specialist
    Location:
    Budapest, Hungary
    Balance:
    328Coins
    Ratings:
    +46 / 0 / -0
    @Pit : Hey, managed to shoot two video's of the motors @work:



    Tried using only 1 pot, but instead of my motors moving at the same time the one that did not have its pot connected to the Arduino went down to its phisically maximum position and had to quickly turn off power to avoid damage.
    Got a Volt meter, I should measure the voltage at the cables going out from the MM to the motor right? Obviously while the motor is following target with sine?!!.!

    @Alexey : Previously we have done a test with Pit when I changed the whole Motor1/Pot1 cabling to Motor2/Pot2 position and the motor worked like that, so my guess is that the problem lies with A0 part of the Arduino. Is my thinking solid?