Author Topic: problem after converting servo  (Read 1808 times)

0 Members and 1 Guest are viewing this topic.

Offline mrcw2Topic starter

  • Jr. Member
  • **
  • Posts: 7
  • Helpful? 0
problem after converting servo
« on: May 20, 2011, 03:02:41 AM »
Hi  I use a Phidgets advanced servo controller to control a Hitec HSR-1422CR servo.  I can start the servo with the command

advServo.Servos[0].Engaged = True;

and stop the servo with

advServo.Servos[0].Engaged = False;. 

But I decided to use a Hitec HS-5745MG for more power.  I converted the servo and set the pot to the null position (servo stationary).  Now the first command starts the servo, but the second command doesn't stop the servo. 
Anybody got any idea what else I need to do?

Offline rbtying

  • Supreme Robot
  • *****
  • Posts: 452
  • Helpful? 31
Re: problem after converting servo
« Reply #1 on: May 20, 2011, 07:17:08 AM »
Are you able to get a full range of motion from the servo (-full_speed to +full_speed)? Stopping the signal isn't guaranteed to stop the servo - only a 1500us pulse is going to do that.  The behavior when the servo is not given a signal is not defined, so it'll be inconsistent between servos.

Offline mrcw2Topic starter

  • Jr. Member
  • **
  • Posts: 7
  • Helpful? 0
Re: problem after converting servo
« Reply #2 on: May 20, 2011, 07:53:40 AM »
yes I get the full range of movement.

doesn't a 1500 us puts the servo in the centre position (not bacwards or forwards)?   When I disengage the servo, in whatever position, surely it should stop/disengage.  The other servo stops/disengages whatever position it's in, which is what I think this servo should do.

Offline Gertlex

  • Supreme Robot
  • *****
  • Posts: 763
  • Helpful? 24
  • Nuclear Engineer ยท Roboticist
    • Index of Oddities
Re: problem after converting servo
« Reply #3 on: May 28, 2011, 03:02:58 PM »
Did you test the servo before modifying it?
I

Offline waltr

  • Supreme Robot
  • *****
  • Posts: 1,944
  • Helpful? 99
Re: problem after converting servo
« Reply #4 on: May 28, 2011, 03:50:57 PM »
I don't know what advServo.Servos[0].Engaged = True; does but a servo requires a pulse about every 20msec. From a modified continuous rotation servo the 'neutral' pulse (1500us) must be send at 20ms intervals. So as rbtying said, not sending a pulse is an undefined condition and probably will not stop the servo motion.

Offline mrcw2Topic starter

  • Jr. Member
  • **
  • Posts: 7
  • Helpful? 0
Re: problem after converting servo
« Reply #5 on: May 29, 2011, 02:26:18 AM »
yes the servo worked fine before I played with it, now the servo will engeage ok but won't disengage.  If I apply the correct pulse the servo will stop - which is correct.  Do i want the servo to disengage?  At least now If it's still engaged but on an incline, it holds it's position when stopped.

Offline Razor Concepts

  • Supreme Robot
  • *****
  • Posts: 1,856
  • Helpful? 53
    • RazorConcepts
Re: problem after converting servo
« Reply #6 on: May 29, 2011, 12:08:44 PM »
Because that servo is a digital servo its programming may be different from the analog servo.

 


data_list