# PiDog Raspberry Pi shuts down when multiple servos run

**URL:** <https://forum.sunfounder.com/t/pidog-raspberry-pi-shuts-down-when-multiple-servos-run/1380>\
**Category:** Robotic kit for Raspberry Pi\
**Created:** [July 18, 2024, 11:06pm UTC](https://forum.sunfounder.com/t/pidog-raspberry-pi-shuts-down-when-multiple-servos-run/1380 "2024-07-18T23:06:45Z")\
**Posts on this page:** 4\
**Page:** 1

<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:** [July 18, 2024, 11:06pm UTC](https://forum.sunfounder.com/t/pidog-raspberry-pi-shuts-down-when-multiple-servos-run/1380/1 "2024-07-18T23:06:45Z")

</div>

PiDog project. My Raspberry Pi 4 shuts downs when multiple servos are activated.  
I had a Raspberry Pi 3 in it originally, and replaced it, just in case it was the board.  
Items that work:  
The zero script, works good  
Items that work running 2\_function\_demonstration.py:

1. Shake head
2. Tilt head
3. wag tail
4. All sound effects.

Items that do not work (causes the Raspberry Pi to crash, loss of SSH connection)  
All items 1 thru 12  
I can stand, but sit will crash the PI.  
It appears that when multiple servos are activated there is a power issue.  
Does the servos need replacing, pulling excessive power?  
Thanks for your help.

---

<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:** [July 19, 2024, 9:29am UTC](https://forum.sunfounder.com/t/pidog-raspberry-pi-shuts-down-when-multiple-servos-run/1380/2 "2024-07-19T09:29:48Z")

</div>

Please keep the battery fully charged.  
You can try to run the example after the battery is fully charged to see if you still have the problem of the Raspberry Pi shutting down.  
Also please make sure that the servo return to zero adjustment and calibration is done.  
If possible, we suggest you provide us with the video of the problem, so that we can help you analyse.

---

<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:** [July 23, 2024, 10:04pm UTC](https://forum.sunfounder.com/t/pidog-raspberry-pi-shuts-down-when-multiple-servos-run/1380/3 "2024-07-23T22:04:49Z")

</div>

I found the problem, I installed the PyCamera cable backwards, the connector that was suppose to go to the camera was at the PI, and the PI connection was at the camera. Hopefully the camera is ok.

---

<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:** [July 24, 2024, 3:44am UTC](https://forum.sunfounder.com/t/pidog-raspberry-pi-shuts-down-when-multiple-servos-run/1380/4 "2024-07-24T03:44:12Z")

</div>

Please follow our pictures to install the camera.  
If there are other problems, please contact us

 ![IMG_20230213_162428_edit_252218622802660](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/1X/53f4037d939d906cda14538123215c8401796947.jpeg)  
 ![IMG_20230213_162510_edit_252207856917245](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/1X/ba80c19c714d3a50327fc174e40f2c41f6c2ebe2.jpeg)  
.  
 ![IMG_20230213_162530_edit_252195039823497](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/1X/5a949acad8201429dba9a471615500e7388c1ba4.jpeg)  
 ![4](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/1X/7467ad8df063f60fca095831587c0aead700bae0.jpeg)
