Author Topic: Servos only rotate one way  (Read 1815 times)

0 Members and 1 Guest are viewing this topic.

Offline apc3161Topic starter

  • Jr. Member
  • **
  • Posts: 36
  • Helpful? 0
Servos only rotate one way
« on: June 09, 2009, 05:47:21 PM »
Hello,

I'm pretty done with the $50 robot but am having trouble on one last step.

My servos will not rotate clockwise under any circumstance.

Here is what I tried to test this:

I took out the "if, else" statements out and replace them with this

servo_left(35);
servo_right(35);

Now, if the number is 35, they just idle. If the number is less than 35, they rotate counterclockwise. However, no matter how large I make them, I can't get them to rotate clockwise. Does anyone know why this is?

Thanks

-edit, it just started to work without me changing anything...
« Last Edit: June 09, 2009, 09:56:52 PM by apc3161 »

Offline Samuel

  • Jr. Member
  • **
  • Posts: 18
  • Helpful? 0
Re: Servos only rotate one way
« Reply #1 on: June 09, 2009, 06:49:24 PM »
you need to calibrate the servos

there is a little hole in the servo that gives access to a potentiometer
that you can turn with a small screwdriver.

You need to use your program to send the number you think should
make the motor stop and then turn the Pot until the motor stops
turning.
then send the max left and the max right and see that they work

But you need to find the Middle value.

Sam

 


Get Your Ad Here

data_list