So I am relatively new to Arduino, and I was curious how to control motors. I want to be able to control some CIM motors using a motor controller such as a Jaguar or a Talon.
My plan was to have my power source wired to the motor controller, and that wired to my motor.
The help i need is how to control these motors using a PWM connection. I wanted to be able to use the Arduino to send a PWM signal to the motor controller, thus controlling the speed at which my motors move.
I can't use the Arduino motor shield because the motors would be too big and need too much power for my project.
Any suggestions or solutions?
You need to post a link to the datasheets for the motor drivers.
I wonder if they are controlled like a regular servo using the Arduino Servo library?
...R
If you're talking about the VEXpro_Jaguar, it has a PWM/Servo plug, which the Servo library should work just fine with. (servo.write 0 for full rotation one direction, 90 for full stop, 170 for full speed opposite.) I'm trying to get the Talon SR (Also Vexrobotics) manual to open, but they look roughly the same basic design.. The Talon SRX, seems similar. the Specs on all three, seem similar to the LM292 H-Bridge, 4 to 30V max. for driver voltage, but with the added CAN-Bus & PWM plugs. (with exception of the SR, which only has PWM, the SR & SRX without cooling fan, stock.) All three, should be usable as if they were a servo being driven by PWM.. You might need to calibrate, by duplicating the servo.h library, and changing the output frequency to match the controller's specs, but should be required. (Pardon, I've run into a few RC servos, which had odd frequencies.) The specs/user manuals are all available online...
http://ctr-electronics.com/Talon_User_Manual_1_1.pdf