Servo problem (it doesn't turn good)

I bought this servo http://www.ebay.com/itm/S9650-Servo-26G-Trex-500-450-Lock-Tail-RC-Helicopter-/260774574981?pt=Radio_Control_Parts_Accessories&hash=item3cb7603b85
When i was testing it it didn't turn as i wrote in code.I have used servo.h libary. can anyone help me?

I found problem. I need to calibrate either libary servo.h or servo. Does anyone now how to do it

You're going to have to provide more info. How (exactly) did you connect the servo, list the code controlling servo, and describe what the servo is doing or not doing.

Hi,
You do not need to calibrate the Servo library and I cant see why you would need to calibrate this servo either.

Did you write your own code or use the servo sweep example ? - I suggest that you use sweep as the initial test.

Did you connect a common ground between the servo and your arduino ?

How are you powering the servo ?

Duane B

rcarduino.blogspot.com

I powered it up correctly, connect it perfectly. Servo is working fine but it is not standard servo.
When I use this code it turns ok to 0 degrees(25 in code) and to 90 degrees (115 in code), but it wont come to 180 degrees, it stops on 155. Servo still have space to rotate, so i think it use different length of PWM signal then is wrote in <Servo.h>.
#include <Servo.h>

Servo myservo;

int pos = 0;
int inbyte;
void setup(){
Serial.begin(9600);

myservo.attach(9);
}

void loop()
{
inbyte = Serial.read();
if( inbyte == 'a'){
myservo.write(25);}
if( inbyte == 'b'){
myservo.write(115);}
if( inbyte == 'c'){
myservo.write(205);}
}

Hi,
I haven't read the servo specs, so don't know if it has a limited range. You could try using writeMicroseconds instead of write. This may give you a larger range. If you check in Servo.h you will see the min and max values allowed for writeMircoseconds, this should give you access to the full range of motion if it is not limited somehow within the servo.

Duane B

rcarduino.blogspot.com