Hello, I have a problem with a servo.
I used the standard "knob" program to control a servo with a joystick instead of a potentiometre, but while the servo turns from angles between 0 and 180 degrees, it turns about 135 degrees when I want it to turn 90 degrees (when the joystick is at its normal middle position). Clearly the servo is very off even though the fact that I am using a hobby grade servo with an error margin of 0.5 degrees.
I tested whether there was problem with the joystick and there wasn't any as I expected.
I connected the servo to the arduino 5V power source. I know that you should have a different power source when using a servo, but I only used one servo with a simple code. Plus, I tested the same knob code with the joystick and a servo before, and it was working fine. But, is the error still caused by the fact that I am using the arduino power source?
I am very new to arduino, so sorry if I am asking for a obvious answer.