How do I control these motors?

Have you ever heard of VeX Robotics?

We'll what I am trying to do is control one of there motors. I have done it before, but that was in the servo library. If you have any suggestions or ideas, feel free to post them. I have seen others o this on Youtube.

Links: VeX Homepage: http://www.vexrobotics.com/ VeX Motor: http://www.vexrobotics.com/products/accessories/motion/276-2163.html

Picture of motor:

Going thru the specs, found this:

Specifications Free Speed:100 rpm @ 7.5 volts Stall Torque:6.5 in-lbs Voltage:4.4 - 9.1 Volts (Motor life will be reduced operating outside this range) PWM Input:1ms - 2ms will give full reverse to full forward, 1.5ms is neutral Dead Band:1.47ms - 1.55m Black Wire:Ground Orange Wire:Power White Wire:PWM signal

So looks like whatever library lets you control pulsewidth of PWM signal, going to a transistor to control higher current/voltage, is what you need.

1ms - 2ms will give full reverse to full forward, 1.5ms is neutral

This would be controlled by an Arduino just like controlling any modified continous rotation R/C type servo, using the servo library. 0 degrees would full reverse, 180 degrees would be full forward and 90 degree command would be stop. Most have found it better to use the http://arduino.cc/en/Reference/ServoWriteMicroseconds command as finding the exact stop value using degree values may not work well.

You would also need an external 7.5 vdc power supply (or batteries) for the servo power and must also wire the servo ground, external power ground and arduino ground together.

Lefty

Ok, so I use the servo library. I hooked this up to a potentiometer and it acted like a speed control. It works fine off of 5V.

Ok, so I use the servo library. I hooked this up to a potentiometer and it acted like a speed control. It works fine off of 5V.

Good for you. Running at 5vdc probaly just lowers the speed and torque capacity a little, so it depends on what you use it for if the higher voltage would be useful or not.

Lefty