I am working on a robot arm for a project but the servos keep doing this jittering thing and are trying to rip everything apart.
I taped the wires together, I tightened the connection to the power supply and it still jitters.
It works fine enough if it is simply powered by the arduino (originaly this approach also had a problem with the contacts but by adding the little white contact connector thingy it got fixed), but for my project I will need to power 3 servos and a stepper so that won't work.
Here is the code ("baza", "zglob1" and "zglob2" are the names of the joints / servos in my native language), planning on controlling the whole thing with 2 joysticks (just 2x2 potentiometers) but in this version of the code it's just one joystick.
The weirdest part is that I once tried running the code without a single servo.write command and it still jittered. Disconnecting the signal wire from the servo stops the jitters as expected.
I already kinda damaged one of the six servos I have so I would like to keep the sacrafices to a minimum.
If anyone has any ideas for fixing this they would be greatly appreciated.
(edit) I just thought of this but this extention might be the problem.Tommorow I will try using only the original cable and/or power the arduino with a 9V if it is just losing power but I am too tired today.