Problem with Servomotor Arduino

First of all, sorry for my english but I am from Uruguay and we speak spanish.

I am creating a program with arduino that rotate a servomotor (Savox SB-2270SG) from 0 to 90 to 180 degrees and backforward.

When I connect the servo only rotate to 90 degrees and return to 0.

I tried with an annalogical servo and the program works successfully.

Do you have any idea of what it’s happening?

Thanks and regards.-

If you are using the Arduino servo library, you should be specifying positions 0 and 180 (not -90 to +90).
If that doesn’t work, then see if your servo’s range is not actually 180 but rather around 90 degrees; not all servos rotate 180.
playground.arduino.cc/ComponentLib/Servo