Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Motors (http://www.chiefdelphi.com/forums/forumdisplay.php?f=52)
-   -   help --- drive other motors? (http://www.chiefdelphi.com/forums/showthread.php?t=65847)

qpang 14-03-2008 11:01

help --- drive other motors?
 
I'm able to drive my wheel motors using easy C Pro, the function block "Tank(), and it works fine. But when I try to use the same function to drive my other motors (used for the arm), it just doesn't work. Those motors for the arm are not the same model, but use the same voltage.
My question is whether there is a specific requirement (besides voltage) on the motors for the controller to be able to drive it?

Cow Bell Solo 15-03-2008 15:31

Re: help --- drive other motors?
 
I have not used Easy C, but here are my thoughts.

Are they connected to the correct PWMs?
Are supposed to be connected to Victors or Spikes?
Do you have the controller in the correct port on the OI?
Are they faulty wires you are using(bad PWM cable, shorted wire)?
Power connections are fully made and have contact?
Have a breaker and that it is not tripped?

Those are more of hardware issues and my thoughts. Hope it helps:)

Jimmy Cao 15-03-2008 21:50

Re: help --- drive other motors?
 
The "Tank" function, in my opinion, sets up drivetrain PWMs only. It takes two axis on joysticks, and sets them pwms (1-4 prob).

You need to use something more like pwm_xx (where xx is arm PWM) = p3_y (or something)

I dont use easy-C though, so i may be wrong.

Kev 16-03-2008 14:27

Re: help --- drive other motors?
 
Tank() at my best guess would be something that controls a tank drive (and seeing as it's being passed no arguments, I don't know why you'd think it'd work for any and all PWM connections.)

since I have no idea where Tank() is called, make a new function called Arm() or something and have the pwmxx = p4_x or such.

Mark McLeod 16-03-2008 20:55

Re: help --- drive other motors?
 
Use "OI to PWM" to control a single motor.


All times are GMT -5. The time now is 05:07.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi