# PiDog not responding to sound when it's 'resting'

**URL:** <https://forum.sunfounder.com/t/pidog-not-responding-to-sound-when-its-resting/1018>\
**Category:** Robotic kit for Raspberry Pi\
**Created:** [April 10, 2024, 8:33am UTC](https://forum.sunfounder.com/t/pidog-not-responding-to-sound-when-its-resting/1018 "2024-04-10T08:33:47Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![Ludo](https://avatars.discourse-cdn.com/v4/letter/l/5f9b8f/32.png) [@Ludo](https://forum.sunfounder.com/u/Ludo)\
**Post date:** [July 17, 2024, 1:25pm UTC](https://forum.sunfounder.com/t/pidog-not-responding-to-sound-when-its-resting/1018/21 "2024-07-17T13:25:30Z")

</div>

I received the new 6 DOF IMU utility, installed it and it works well: balance, being picked up and the message sh3001 disappeared.  
However I still have no sound.  
I hoped that after installing the above mentioned utility, it should do it, but no.  
So I have a new SD-card with raspberry PI Legacy 32 bit and I will install all the software again, hoping to have sound.  
In case you have some advice…please let me known.

---

<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 18, 2024, 3:47am UTC](https://forum.sunfounder.com/t/pidog-not-responding-to-sound-when-its-resting/1018/22 "2024-07-18T03:47:29Z")

</div>

1.Please remove the robot-hat and check the back of the speaker to see if it is functioning properly. Another possible issue is that if a metal heatsink has been installed on the Raspberry Pi CPU, it may be pressing down on the speaker’s diaphragm, preventing it from producing sound.  
2.Run the sound effect to check the operation:  
cd ~/pidog/sounds  
aplay -D plughw:2,0 angry.wav  
If there are any errors when running it, it’s possible that the aplay process is already in use. In that case, please execute the sudo killall aplay command, then try running again:  
cd ~/pidog/sounds  
aplay -D plughw:2,0 angry.wav

---

<div class="post-metadata">

**Author:** ![Ludo](https://avatars.discourse-cdn.com/v4/letter/l/5f9b8f/32.png) [@Ludo](https://forum.sunfounder.com/u/Ludo)\
**Post date:** [July 18, 2024, 6:33pm UTC](https://forum.sunfounder.com/t/pidog-not-responding-to-sound-when-its-resting/1018/23 "2024-07-18T18:33:49Z")

</div>

Dear Moderator,

I checked the distance from the speaker to the raspberry PI, the flexible plastic video strap is between them  
and I can freely move the white plastic video strap, so I think the speaker is free.

I mentioned allready that I bought a second pidog Hat, I removed the speaker with his two wires, cut them in the middle and hold a 1.5 V battery between them. I thougt to hear ‘some sound’, but no.  
that speaker seemes not to be crushed.

Finally find hereby a printout of the cmd’s you send me.

I’am sorry not to have better news.

I have some experience with Linux Mint and trying to record with audacity and there was often a problem with ALSA.  
Finally: isn’t it possible to have sound via the raspberry ?

With kindest regards, Ludo Nagels

> **(attachments)**
>
> ![Screenshot from 2024-07-18 20-17-18.png](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/1X/fb97e4e44a3b9dbb2a92a47572745f406f61475e.png)

---

<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 23, 2024, 8:32am UTC](https://forum.sunfounder.com/t/pidog-not-responding-to-sound-when-its-resting/1018/24 "2024-07-23T08:32:29Z")

</div>

You try to reinstall i2samp.sh:  
cd ~/pidog  
sudo bash i2samp.sh  
After successful installation, reboot the Raspberry Pi.  
Go ahead and run the following command again and see if it sounds properly as well:  
cd ~/pidog/sounds  
sudo aplay angry.wav  
If you get any errors during the run, it is possible that the aplay process is already in use. In this case, run sudo killall aplay and try to run it again.  
Tip: Whenever you run code, it must be preceded by sudo run.

---

<div class="post-metadata">

**Author:** ![Ludo](https://avatars.discourse-cdn.com/v4/letter/l/5f9b8f/32.png) [@Ludo](https://forum.sunfounder.com/u/Ludo)\
**Post date:** [July 23, 2024, 4:45pm UTC](https://forum.sunfounder.com/t/pidog-not-responding-to-sound-when-its-resting/1018/25 "2024-07-23T16:45:09Z")

</div>

I did as you indicated and this is what I get:

 ![Screenshot from 2024-07-23 18-35-43](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/1X/52b1af06bdf1de1e00e961c5deed94a0f51fca66.png)

But no sound.

---

<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, 10:03am UTC](https://forum.sunfounder.com/t/pidog-not-responding-to-sound-when-its-resting/1018/26 "2024-07-24T10:03:39Z")

</div>

We will send you a replacement robot hat.  
Once you have received your new robot hat and installed it, it is recommended to reinstall i2samp.sh:  
cd ~/pidog  
sudo bash i2samp.sh  
After successful installation, reboot the Raspberry Pi.  
Tip: If the Raspberry Pi has a metal heatsink installed on the CPU, it may press down on the speaker diaphragm and prevent the speaker from producing sound.  
It is recommended to remove the metal heat sink.

---

<div class="post-metadata">

**Author:** ![Ludo](https://avatars.discourse-cdn.com/v4/letter/l/5f9b8f/32.png) [@Ludo](https://forum.sunfounder.com/u/Ludo)\
**Post date:** [July 24, 2024, 10:26am UTC](https://forum.sunfounder.com/t/pidog-not-responding-to-sound-when-its-resting/1018/27 "2024-07-24T10:26:32Z")

</div>

Thanks a lot for your action, I understand that I only have to reinstall the i2samp.sh for all the software is on the raspberry PI, and I will remove the metal heat sink from the CPU.

All the connections to the robot hat are numbered (when I installed the second robot hat), I did this for avoiding mistakes, but now I check each connection two times.

I will let you know as soon as I can.

---

<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 25, 2024, 8:56am UTC](https://forum.sunfounder.com/t/pidog-not-responding-to-sound-when-its-resting/1018/28 "2024-07-25T08:56:29Z")

</div>

The replacement robot hat was arranged.

---

<div class="post-metadata">

**Author:** ![Ludo](https://avatars.discourse-cdn.com/v4/letter/l/5f9b8f/32.png) [@Ludo](https://forum.sunfounder.com/u/Ludo)\
**Post date:** [July 31, 2024, 10:14am UTC](https://forum.sunfounder.com/t/pidog-not-responding-to-sound-when-its-resting/1018/29 "2024-07-31T10:14:57Z")

</div>

Up to now I received 2 mails from DHL on which I should respond.  
They are marked as spam, and I daren’t open them: the Email-adress from the latest sender is very suspicious.

Can you give me some advice ?

[Previous page](https://forum.sunfounder.com/t/pidog-not-responding-to-sound-when-its-resting/1018.md?page=1)
