I am working on a school project: a robotic arm controlled by an Arduino Mega board,
- 6 servo motors: https://hobbyking.com/en_us/power-hd-lw-20mg-servo.html?___store=en_us
- 1 PC power supply (450W),
- Arduino board 12V input
- ServoMotors 5V input
Ever since the beginning I had problems with my robotic arm, it keeps twitching (every servo goes to different random angles ) when I start it up and sometimes when its doing something.
I tried modifying the code, changing the wires, and after a few weeks I just got frustrated.
But today I tried something new, I disconnected the Arduino, disconnected every signal cable from every servo and left only + / - from the PC power supply, I started the power supply , for a few seconds nothing happened and then ... again the servos started twiching, every servo just goes to random angles, end moves in every direction.
I`m studding IT so engineering is only a hobby, can you please explain this behavior?
Can the servo motors run without signal cables connected to something?
When I am testing with the Arduino board, the robotic arm works but at random moments it does the things i described before.
Another strange thing is that I replace the power source with a new one,
I changed every servo, before this I had another type of servos , they were behaving in the same way.
I also changed all the wiring.