1. 5 weeks ago

    TaranMayer

    Dec 11 Arizona 6142w

    So, one of our wheels has stopped working. The code has not changed, and this issue arose yesterday. The front right wheel spins fine in reverse, but it spins at like 1/10 speed going forward. We have switched motors, and it didn't fix it. The motor controller is also not the issue. Does anyone have any helpful advice?

    Ah, yeah. The motor controllers for ports 1 & 10 are built in to the Cortex, which is why it's generally not advisable to use them for strenuous tasks like running drive trains without sensors and code to protect them from overwork.

  2. If you've swapped the motor hardware, it may be in the Cortex. (I assume you still are using it because V5 doesn't have controllers) I would swap the port and see what that does. Also try to download a simple code to run the motor and see what happens.

    Change the Cortex, too, if you have spares.

  3. Edited 5 weeks ago by John TYler

    @Got a Screw Loose Also try to download a simple code to run the motor and see what happens.

    This is really, really good advice that too many people ignore. The software is much easier to test than changing hardware. A minimal program that works will let you know that the problem lies in your full program without having to first change motors, change motor controllers, reassemble mechanisms, etc.

    There's also a feature in Robot Mesh Studio where you can click "connect" and it gives you little manual sliders to control the motors by hand, which also works as a "minimal working program."

  4. @John TYler This is really, really good advice that too many people ignore. The software is much easier to test than changing hardware. A minimal program that works will let you know that the problem lies in your full program without having to first change motors, change motor controllers, reassemble mechanisms, etc.

    @John TYler complimented me?! My life goals have been fulfilled!

    I usually try changing the port first, though. I plug the wire into the other slots and see it it works there. Then I swap the controller, then I go to code.

  5. TaranMayer

    Dec 12 Arizona 6142w

    I fixed it. It was the port. It was port 10. Now I need to change all the code because with 2 broken ports (1 was already broken) I need y cables. Also, it isn't even our cortex. We borrowed it from PLTW, because ours were sent in for V5

  6. John TYler

    Dec 12 Answer WA

    Ah, yeah. The motor controllers for ports 1 & 10 are built in to the Cortex, which is why it's generally not advisable to use them for strenuous tasks like running drive trains without sensors and code to protect them from overwork.

 

or Sign Up to reply!