go away spammer

Author Topic: Problem with GWS Mini-Servo  (Read 5139 times)

0 Members and 1 Guest are viewing this topic.

Offline mr_kobayashiTopic starter

  • Jr. Member
  • **
  • Posts: 13
  • Helpful? 0
Problem with GWS Mini-Servo
« on: April 21, 2007, 09:35:14 PM »
Hi, I'm trying to build the $50 robot and I have a problem with the servos. I replaced them and now when I plug them in, they just kind of jitter.

I'm using GWS Mini Servo with the same-ish stats as the HS-311 servo:

http://www.gwsus.com/english/product/servo/mini.htm

Do I have to change the code of the delays because of the different servo? Or do I have to modify it for continous rotation as in the tutorial? (Admin, could use your help again)  ;D

Code: [Select]
delay_cycles(500);

Offline mr_kobayashiTopic starter

  • Jr. Member
  • **
  • Posts: 13
  • Helpful? 0
Re: Problem with GWS Mini-Servo
« Reply #1 on: April 23, 2007, 02:15:33 AM »
OK I've made some developments. I think the problem is this code in the photovore.c file:

Code: [Select]
left_servo(44)
I think this is supposed to make it rotate at a certain speed. I'm using a different servo type than the HS-311 in the tutorial (GWS Mini Servo with similiar capabilities) and mine just seem to rotate to a certain angle.

I read through the tutorial on servos, so I'm guessing I'm going to have to modify them for continuous rotation. Did anyone else who has managed to get the $50 robot working have to modify the servos as well or were they OK straight away? Or maybe there is some code I could use to make my robot "go" using angles rather than speed (if that is easier)?

Any help is much appreciated!

Offline dunk

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 1,086
  • Helpful? 21
    • dunk's robot
Re: Problem with GWS Mini-Servo
« Reply #2 on: April 23, 2007, 02:38:45 AM »
mr_kobayashi,
yup. you'll need to modify your servos for continuous rotation.
it's not actually mentioned in the $50 instructions but it's the only way you can get a servo to spin continuously.

sounds like you are nearing completion. well done!

dunk.
(hey Admin, i think the tutorial needs an addition...)

Offline jsmoker

  • Full Member
  • ***
  • Posts: 118
  • Helpful? 2
Re: Problem with GWS Mini-Servo
« Reply #3 on: April 23, 2007, 11:31:56 AM »
Here's a link to the "Modifying a Servo" Tutorial.  Try to understand the concept behind it cause servos, though they will be the same in concept, may largely vary in design.

http://www.societyofrobots.com/actuators_modifyservo.shtml

-Jsmoker

 


Get Your Ad Here

data_list