You could have broken the 5V pin, but you said you checked the wiring.I will try that, however if three servos were working earlier why would they suddenly stop? I have changed nothing in the program. I have chnaged the resting position of the servos slightly as i glue them onto pieces but they are not being pulled on or barring any weight. I have also alrady tried running one completely different servo alone in a fresh program and it does not work. Could I have broken the 5V pin?
What you are saying is that everything worked on the bench, but stopped working when you integrated the servos into something else. Is that right?
It's possible you have a bad connection, or you have plugged a servo in backwards, or you have zapped something with static, or any number of things.
You could take everything apart and set it up on the bench again, where it was working. Or acquire three more motors and test them, and/or another Pi.
You could test the motors individually with a servo tester that you build or buy.
You could swap the motors around physically, or connect them to alternative pins, and alter the software to match the new pin numbers.
There is no magic. Just a boring slog trying everything until the answer is found.
Statistics: Posted by ame — Sat Jun 15, 2024 9:37 am