I received the pidog and assembled it recently. After the work it is done, I found the around 6 Servo don’t work. They are at positions: 2, 5, 7, 8, head pitch and head yaw. I switched the pins and didn’t get any luck.
Have you tried replacing the non-working servo with a working servo on the PWM pin interface to verify it?
How did you determine that the servo is not working?
I recommend providing the steps you have taken to verify the issue.
If you can provide a video, that would be helpful for us to analyze and troubleshoot the problem.
If the video file is too large, please upload the recorded video to OneDrive, share the video link with us, and give us access permissions.
Note:
Before assembling the servos, make sure to power on the PiDog and run the following commands:
cd ~/pidog/example
sudo python3 servo_zeroing.py
Then, connect each servo to the PWM pins for zeroing. (To ensure the servo is correctly set to 0°, first insert the servo arm into the servo shaft, then gently rotate the arm to different angles. This servo arm is just to help you see that the servo is rotating.)
If you do not connect the battery to power the Robot HAT and only provide external power to the Raspberry Pi, the servos and sensor modules connected to the Robot HAT will not work. This is because the Raspberry Pi cannot power the Robot HAT. If you connect the battery to the Robot HAT, it will receive power, and at the same time, the Raspberry Pi will also be powered. Therefore, when you connect the battery, there is no need to provide separate external power to the Raspberry Pi.
Sorry . I meant to say external power as well as the battery. I was suggesting that the battery voltage may be low, as I could not see any usb power on the video. Apologies for any confusion.
if it’s a low battery situation, the servo will only fail to stand or not fully stand, and the raspberry pi will shut down.
It won’t happen like in the video. Unless the return to zero adjustment wasn’t done properly, or the servo is faulty and the gears are stuck and spinning around.