|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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? |
|
#2
|
||||
|
||||
|
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 ![]() |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||
|
|||
|
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. |
|
#5
|
|||||
|
|||||
|
Re: help --- drive other motors?
Use "OI to PWM" to control a single motor.
Last edited by Mark McLeod : 16-03-2008 at 20:59. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Drive Motors | Joe_Widen | Motors | 23 | 26-05-2006 01:00 |
| Drive Dave's Other Car Like You Stole It.......... | JohnBoucher | Chit-Chat | 7 | 26-05-2004 19:44 |
| Drive motors | archiver | 2000 | 3 | 24-06-2002 00:25 |
| Globe Motors & other FIRST Suppliers at Design Show | archiver | 1999 | 2 | 23-06-2002 22:07 |