Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Motors (http://www.chiefdelphi.com/forums/forumdisplay.php?f=52)
-   -   Trouble getting servo to work (http://www.chiefdelphi.com/forums/showthread.php?t=138878)

mitchklong 02-11-2015 12:30

Trouble getting servo to work
 
We have successfully programmed with the servos that came with the KOP, but recently purchased a different one for slightly more toruque.

We cant get them to work. Its a hitec HS-5485HB. Its digital, unlike the analog KOP servos, but the specs suggest they should program the same.

The servo powers up but wont respond to position requests by the code.

ideas ??

Whippet 02-11-2015 22:16

Re: Trouble getting servo to work
 
It would help us a lot if you could tell us whether you're programming an FTC or FRC robot, along with the programming language you're using and your current hardware setup.

GeeTwo 02-11-2015 23:36

Re: Trouble getting servo to work
 
I agree with whippet that more info on both HW and SW use is needed.

One thing that strikes me as I look at the specs for this servo is the high current draw (500mA no load at 6V, presumably much higher when there's a load, much less at stall). You may want to check the voltage supply to the servo while you're trying to drive it; you may be pulling that voltage below the 4.8V required for reliable operation.

DaveL 03-11-2015 02:59

Re: Trouble getting servo to work
 
Quote:

Originally Posted by mitchklong (Post 1502800)
We have successfully programmed with the servos that came with the KOP, but recently purchased a different one for slightly more toruque.

We cant get them to work. Its a hitec HS-5485HB. Its digital, unlike the analog KOP servos, but the specs suggest they should program the same.

The servo powers up but wont respond to position requests by the code.

ideas ??

Where are you connecting the servo motor?

mitchklong 03-11-2015 16:04

Re: Trouble getting servo to work
 
We are in FRC using java.

The servo is plugged directly to a PWM port of the roborio. We are using the servo class.

I dont think its a current draw problem. When we are testing the servo and it first gets power, it repositions itself to 0 degrees. The toruqe and movement look fine. If you turn it it repositions back to 0. So it seems to function normally, we just cant control it with the rio like we can with other servos.

randantor 03-11-2015 17:15

Re: Trouble getting servo to work
 
Does the servo stop trying to move when the robot is disabled? What about when it is plugged into an unused PWM port?

BitTwiddler 03-11-2015 18:56

Re: Trouble getting servo to work
 
Quote:

Originally Posted by GeeTwo (Post 1502897)
I agree with whippet that more info on both HW and SW use is needed.

One thing that strikes me as I look at the specs for this servo is the high current draw (500mA no load at 6V, presumably much higher when there's a load, much less at stall). You may want to check the voltage supply to the servo while you're trying to drive it; you may be pulling that voltage below the 4.8V required for reliable operation.

Just for reference the roboRio spec for the 6VDC power is rated at 2.2 Amp total.

GeeTwo 03-11-2015 22:18

Re: Trouble getting servo to work
 
Quote:

Originally Posted by BitTwiddler (Post 1503011)
Just for reference the roboRio spec for the 6VDC power is rated at 2.2 Amp total.

Again, note that the 500mA spec is for no-load operation. This is just to produce enough torque to overcome the internal friction. If there is a load resisting the servo's attempted travel, the current use for each servo could easily be several amps.

mitchklong 04-11-2015 13:38

Re: Trouble getting servo to work
 
I dont think we tried plugging into a different PWM port. It returns to zero even when disabled.

seg9585 05-11-2015 07:34

Re: Trouble getting servo to work
 
Quote:

Originally Posted by mitchklong (Post 1503143)
I dont think we tried plugging into a different PWM port. It returns to zero even when disabled.

Is the PWM wire plugged in with the correct orientation? When the roboRio is disabled, the servo should be getting no PWM signal to go to any position including zero.


All times are GMT -5. The time now is 23:06.

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