Motor #10 not working

Hello!

I’m a newcomer to Vex IQ, and I started building the Clawbot. Then I tried to control it with the controller but the arm won’t move up and down. Reviewing the brain, I see that port 10 is still white despite having the motor connected. Any tips on getting the brain to recognize the motor?

Thanks,
Ian

What program are you using for controlling the claw bot? If you are using the default drive code on the brain, PORT_10 may not be initialized as a motor (is not set as one). If you are using this template:
image
and the motor on PORT_10 still dose not work, you may have a faulty port.

To switch the ports for the motors, go to the Devices tab in VEXcode IQ on the right of the window.


click on ArmMotor
image
and click on the motor icon with the “10” on it.
image
Now, you can change the port for the motor to, lets say, PORT_5.
Click on the “5” and press done.
image
Now, download the program to the brain and: Voila! Your claw bot’s arm motor runs on PORT_5. (Make sure you also re-wire the motor or it won’t work)

Are you sure you are running a clawbot code? If you use regular “Drive”, you won’t get anywhere, because the controller doesn’t know how to control it (you’ll need to run a clawbot code or program it yourself: Follow @Bananapi’s instructions)

For hardware issues:

  1. Try to push the cable in on the brain port and motor port
  2. Try a different Brain port
  3. Remove anything that’s in its path or holding it
  4. Try a different cable
1 Like

Thanks everyone. I got it working by reconnecting the motor physically to the robot. It could have been a faulty connection when I mounted the motor on the robot.

1 Like