1. 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!
  2. 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
  3. 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 here. Do not following these rules will lead to permanent exclusion from this website: Read the forum rules.
  4. All new posts and threads should be written in English. Please do not create dual posts in other languages. If you are not a master of the English language you can use an external service to create a translation of your words, for instance, Google translate or DeepL.
    Due to low activity, we've also closed the french section.
    Dismiss Notice

SMC3 3dof Motor 3 Only Turning one Direction

Discussion in 'Miscellaneous' started by gabe, May 21, 2020.

  1. gabe

    gabe New Member

    Joined:
    May 21, 2020
    Messages:
    5
    Balance:
    57Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    I was able to adjust the pots and motors for motors 1 and 2, but when I got to motor 3, I ran into a problem. I can turn the pot and it displays normal operation on the SMC3 Utility screen, but when the motor turns, it only turns one direction, regardless of what side of the blue target line the pot output is. When the pot value matches the target, the motor stops as expected, but like I mentioned it does not matter which way the pot is turned, the motor only spins in the clockwise direction. I do not have this problem with the other two motors.

    I am using SMC3 V1.01 code on an Arduino in Mode 1. I have checked the boards by attaching motor 3 outputs from the Arduino to the board for motor 2 and the same issue then presents itself on motor 2 (so the problem is not in the board). I also checked the voltages at the board input and compared then to what they are at the Arduino and they are the same, so it is not a wiring connection either. It's almost as if SMC3 is only telling the Arduino to send power to the motor without trying to change direction. Is this possible? The only thing I can find that is out of the ordinary is that the voltage on PIN 7 (ENB MOTOR 3) is lower than the voltage on ENB MOTOR 1 and ENB MOTOR 2. While stationary:
    Pin 3 (ENB Motor 1) is reading 4.5V
    Pin 5 (ENB Motor 2) is reading 4.5V
    Pin 7 (ENB Motor 3) is reading 0.4V

    I am not using ENA (pins 2,4, and 6) for any motors because my Cytron MD30C boards only have pins for GND, PWM, and DIR. The set up is the same on the working motors as it is in the non-working motor.

    Any help would be greatly appreciated. I can handle the mechanical parts, but electronically I am not savvy enough.

    Thank You
  2. Ads Master

    Ads Master

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0