# Pidog's servo not works

**URL:** <https://forum.sunfounder.com/t/pidogs-servo-not-works/1557>\
**Category:** Robotic kit for Raspberry Pi\
**Created:** [August 25, 2024, 10:31pm UTC](https://forum.sunfounder.com/t/pidogs-servo-not-works/1557 "2024-08-25T22:31:05Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucasRobot](https://avatars.discourse-cdn.com/v4/letter/l/dec6dc/32.png) [@lucasRobot](https://forum.sunfounder.com/u/lucasRobot)\
**Post date:** [August 25, 2024, 10:31pm UTC](https://forum.sunfounder.com/t/pidogs-servo-not-works/1557/1 "2024-08-25T22:31:05Z")

</div>

Hello,

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.

Could you send me the replacement? Thanks

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [August 26, 2024, 7:37am UTC](https://forum.sunfounder.com/t/pidogs-servo-not-works/1557/2 "2024-08-26T07:37:08Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![lucasRobot](https://avatars.discourse-cdn.com/v4/letter/l/dec6dc/32.png) [@lucasRobot](https://forum.sunfounder.com/u/lucasRobot)\
**Post date:** [August 29, 2024, 9:17pm UTC](https://forum.sunfounder.com/t/pidogs-servo-not-works/1557/3 "2024-08-29T21:17:46Z")

</div>

Thanks for your reply. Please see inline:

> > > Have you tried replacing the non-working servo with a working servo on the PWM pin interface to verify it?

Yes, tried

> > How did you determine that the servo is not working?

Besides switching with other servos, I ran the below test code:

1. sudo python3 servo\_zeroing.py
2. sudo python3 0\_calibration.py

and other examples under ~/pidog/examples.

The servo didn’t move.

I took the videos from both sides of the pidog when the 0\_calibration.py. Thank you

> **[iCloud Photos - Apple iCloud](https://www.icloud.com/photos/#010tbB-_pNX4EuZKqx6uJ28tg)**
>
> View, organize, and share photos and videos with iCloud Photos on the web. Changes will sync across your devices with iCloud.

> **[iCloud Photos - Apple iCloud](https://www.icloud.com/photos/#0e7M4vr8gpHBDGGzmfeHWLI3Q)**
>
> View, organize, and share photos and videos with iCloud Photos on the web. Changes will sync across your devices with iCloud.

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [August 30, 2024, 6:55am UTC](https://forum.sunfounder.com/t/pidogs-servo-not-works/1557/4 "2024-08-30T06:55:59Z")

</div>

We will send you the replacement servos.  
Please contact us at [service@sunfounder.com](mailto:service@sunfounder.com)

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.)

Please refer to the tutorial link:[7. Servo Adjust(Important) — SunFounder PiDog Kit 1.0 documentation](https://docs.sunfounder.com/projects/pidog/en/latest/python/python_start/py_servo_adjust.html)

Servo Adjustment Tutorial  
After completing the servo zeroing assembly, proceed to do the servo calibration:  
[Calibration Tutorial](https://docs.sunfounder.com/projects/pidog/en/latest/python/py_0_calibrate.html)

cd ~/pidog/examples  
sudo python3 0\_calibration.py

It is also recommended to watch our assembly videos to confirm the assembly process is correct:

[Assembly Video 1  
Assembly Video 2](https://youtu.be/Gskge1fDR30)

---

<div class="post-metadata">

**Author:** ![lucasRobot](https://avatars.discourse-cdn.com/v4/letter/l/dec6dc/32.png) [@lucasRobot](https://forum.sunfounder.com/u/lucasRobot)\
**Post date:** [August 30, 2024, 8:35pm UTC](https://forum.sunfounder.com/t/pidogs-servo-not-works/1557/5 "2024-08-30T20:35:49Z")

</div>

I did it when assembling. Thank you very much! Will contact support.

---

<div class="post-metadata">

**Author:** ![Spf650](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Spf650](https://forum.sunfounder.com/u/Spf650)\
**Post date:** [September 3, 2024, 6:34am UTC](https://forum.sunfounder.com/t/pidogs-servo-not-works/1557/7 "2024-09-03T06:34:13Z")

</div>

Is the behavior identical when supplied by external power instead of just the battery?

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [September 4, 2024, 7:24am UTC](https://forum.sunfounder.com/t/pidogs-servo-not-works/1557/8 "2024-09-04T07:24:43Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Spf650](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Spf650](https://forum.sunfounder.com/u/Spf650)\
**Post date:** [September 4, 2024, 10:48am UTC](https://forum.sunfounder.com/t/pidogs-servo-not-works/1557/9 "2024-09-04T10:48:30Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![steve](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@steve](https://forum.sunfounder.com/u/steve)\
**Post date:** [September 4, 2024, 1:19pm UTC](https://forum.sunfounder.com/t/pidogs-servo-not-works/1557/10 "2024-09-04T13:19:35Z")

</div>

New servos work well, no problems with the shaking servos. thanks

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [September 5, 2024, 2:33am UTC](https://forum.sunfounder.com/t/pidogs-servo-not-works/1557/11 "2024-09-05T02:33:07Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Spf650](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Spf650](https://forum.sunfounder.com/u/Spf650)\
**Post date:** [September 5, 2024, 4:30am UTC](https://forum.sunfounder.com/t/pidogs-servo-not-works/1557/12 "2024-09-05T04:30:29Z")

</div>

Thank you for spending the time to clarify. Much appreciated.
