MG995R Digital High Torque Servo Not Moving

Hi everyone.

I had a question about my servo, which is powered by my Arduino Mega. I have it powered by the Arduino's 5V pin, and I made sure using a multimeter that it provides a steady 5V to the motor. I have the grounds of the Arduino and the motor connected, and the last pin of the motor is connected to pin 9 on the PWM row of my Arduino. So I'm pretty sure I have everything wired correctly.

I'm using the Sweep example code and uploading it. But very often, the servo will not move, appears to be stuck, and internally, it makes a very soft, ticking/clicking sound. Sometimes, when I first give the servo a spin, the servo will then start moving on its own. But a little while after, it will be stuck again.

I am hypothesizing that this clicking sound and the reason why the servo gets stuck is that the gears in the servo do not perfectly mesh with each other. I've unscrewed the servo myself and tried to rotate the gears with my fingers, and indeed it gets stuck. Is this something that happens often with this servo? And should I be able to move the servo with my hand when it is powered and not powered? I was hoping for something that was better quality than this.

But of course, I am not 100% that this is the reason it's not working. And so I'm wondering if there is something else in the servo that could have gone wrong. I am almost 100% sure that my wiring and code is correct. And I am fairly sure that the servo is powered sufficiently even though I have come across many posts that say that powering a servo using the Arduino is not suggested. To me, it seems that the Arduino provides a sufficient amount of voltage for the servo to properly function.

Thanks, everyone.

You need to power the servo from an external supply, not from the Arduino 5V which can supply nowhere near enough current.

Edit: according to this, that servo's stall current is 1500mA.

A 2A minimum supply would be appropriate for that. You should never power motors and servos from logic
supplied, logic chips need clean uninterrupted power without voltage spikes.