r/ArduinoProjects • u/Jun1or_ME • Oct 21 '24
Servo Stutter
I am using an arduino mega board with a joystick to control two servo motors. I believe there is an issue with my circuit. Servo1 has clean, smooth, precise movements. Servo2 loses its position very often and stutters often. I am powering the circuit with a AC/DC (output=9V) adapter. I still believe that servo2 is not getting enough power to function correctly. How can I rework my circuit in order for servo2 to function properly? I believe the board is limiting the amount of voltage being outputted to my servos (9V input actually gets stepped down by the board to 5V maybe). Any help/advice would be appreciated.
Notes: My code is 100% not the issue. If I connect my code with only servo1 or only servo2 connected, there are no issues.
Servo:
1
u/duckbeater69 Oct 21 '24
Highly likely power issues. As you’ve got it set up now, power needs to go through the board to the servos, this limits throughput.
You could try to solder power wires directly to the contact, check so that the servos can handle the voltage.
The black female contact where the white cable is connected has two metal points on the outside. These are directly from the wall adapter. The one on the round side should be ground and the flat side positive (check with multimeter to be sure, I’m 99%). If you attach wires there these can power the servos directly. Make sure you don’t feed this into the arduino in a way that bypasses its voltage regulator though!
Maybe not the best description. Feel free to ask for clarifications if needed