Author Topic: Servos only rotate one way  (Read 1058 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

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
1930 Views
Last post March 13, 2009, 08:41:22 PM
by pomprocker
1 Replies
904 Views
Last post November 02, 2009, 02:43:09 AM
by Joker94
15 Replies
1186 Views
Last post January 24, 2011, 05:09:42 PM
by alexus
4 Replies
557 Views
Last post August 03, 2012, 08:46:14 AM
by Soeren


Get Your Ad Here