Go to Post Creatively solving problems is part of the fun. Continuous improvement and sustainment of [old] programs is also important. - tim-tim [more]
Home
Go Back   Chief Delphi > Technical > Motors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-11-2015, 12:30
mitchklong mitchklong is offline
Registered User
None #4859
 
Join Date: Jan 2014
Location: Minnesota
Posts: 30
mitchklong is an unknown quantity at this point
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 ??
  #2   Spotlight this post!  
Unread 02-11-2015, 22:16
Whippet's Avatar
Whippet Whippet is offline
MIT Class of 2020
AKA: Luis Trueba
FRC #4301 (New Tech Narcissists)
Team Role: Alumni
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Cambridge, MA
Posts: 1,186
Whippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond repute
Send a message via Yahoo to Whippet
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.
__________________
2010: FRC 3043, Build Assistant
2011: FRC 3043, Head of Minibot subteam; FLL 12762, Team Captain
2012: FRC 3043, Electrical; FLL 12762, Team Captain; FTC 5670, Team Captain
2013: FRC 4301, Electrical, Team Co-Captain
2014: FRC 4301, Electrical/Programming, Team Co-Captain
2015: FRC 4301, Electrical/Programming, Team Captain
2016: FRC 4301, Chief Technical Officer; FTC 10860, 10861, and 11004: Mentor. Winner, Hub City Regional (3310 & 4063)
  #3   Spotlight this post!  
Unread 02-11-2015, 23:36
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,564
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
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.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
  #4   Spotlight this post!  
Unread 03-11-2015, 02:59
DaveL DaveL is offline
Registered User
FRC #2976
 
Join Date: Jan 2013
Location: WA
Posts: 173
DaveL is a jewel in the roughDaveL is a jewel in the roughDaveL is a jewel in the roughDaveL is a jewel in the rough
Re: Trouble getting servo to work

Quote:
Originally Posted by mitchklong View Post
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?
  #5   Spotlight this post!  
Unread 03-11-2015, 16:04
mitchklong mitchklong is offline
Registered User
None #4859
 
Join Date: Jan 2014
Location: Minnesota
Posts: 30
mitchklong is an unknown quantity at this point
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.
  #6   Spotlight this post!  
Unread 03-11-2015, 17:15
randantor randantor is offline
Registered User
AKA: James Y
FRC #0624 (CRyptonite)
Team Role: Alumni
 
Join Date: Jun 2013
Rookie Year: 2012
Location: Katy, TX
Posts: 48
randantor is a glorious beacon of lightrandantor is a glorious beacon of lightrandantor is a glorious beacon of lightrandantor is a glorious beacon of lightrandantor is a glorious beacon of lightrandantor is a glorious beacon of light
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?
  #7   Spotlight this post!  
Unread 03-11-2015, 18:56
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 240
BitTwiddler is on a distinguished road
Re: Trouble getting servo to work

Quote:
Originally Posted by GeeTwo View Post
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.
  #8   Spotlight this post!  
Unread 03-11-2015, 22:18
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,564
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Trouble getting servo to work

Quote:
Originally Posted by BitTwiddler View Post
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.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
  #9   Spotlight this post!  
Unread 04-11-2015, 13:38
mitchklong mitchklong is offline
Registered User
None #4859
 
Join Date: Jan 2014
Location: Minnesota
Posts: 30
mitchklong is an unknown quantity at this point
Re: Trouble getting servo to work

I dont think we tried plugging into a different PWM port. It returns to zero even when disabled.
  #10   Spotlight this post!  
Unread 05-11-2015, 07:34
seg9585's Avatar
seg9585 seg9585 is offline
Registered User
AKA: Eric
FRC #4276 (Surf City Vikings)
Team Role: Engineer
 
Join Date: Feb 2006
Rookie Year: 2001
Location: Boeing (Seal Beach, CA)
Posts: 519
seg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond repute
Re: Trouble getting servo to work

Quote:
Originally Posted by mitchklong View Post
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.
__________________
My FIRST legacy:

Team 204 Student 2001, 2002 (Voorhees, NJ)
Team 1493 College Mentor 2006 - 2008 (Troy, NY)
Team 2150 Intern/Professional Mentor 2007, 2009 (Palos Verdes)
Team 4123 Lead Engineering Mentor 2012 (Bellflower, CA)
Team 4276 Engineering Mentor 2012-2016 (Huntington Beach, CA)
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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