Speaker Bonnet on Raspberry Pi 4 - No errors and no sound

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
D4na
 
Posts: 3
Joined: Tue Nov 23, 2021 3:51 pm

Speaker Bonnet on Raspberry Pi 4 - No errors and no sound

Post by D4na »

I recently purchased the Adafruit Speaker Bonnet with the 3W enclosed speaker set for use on my Pi 4 with Raspbian Buster. I ran the script from the guide here and did not receive any errors, but after rebooting and running the script again, the audio test produced no sound. I then went through the detailed install guide to verify that the the setup script ran correctly and everything looked good.

I'm not sure if it matters, but I've soldered the data input of a Neopixel strip to pin #12 on the speaker bonnet and they appear to be working fine that way.

I'm a bit a green when it comes to Raspberry Pi and Linux, so I apologize if I'm not providing necessary information. Any help would be greatly appreciated!

User avatar
mikeysklar
 
Posts: 14165
Joined: Mon Aug 01, 2016 8:10 pm

Re: Speaker Bonnet on Raspberry Pi 4 - No errors and no soun

Post by mikeysklar »

Can you post a photo of your soldering?

Are you able to see the speaker bonnet from the OS?

Code: Select all

aplay -l

Code: Select all

lsusb

User avatar
D4na
 
Posts: 3
Joined: Tue Nov 23, 2021 3:51 pm

Re: Speaker Bonnet on Raspberry Pi 4 - No errors and no soun

Post by D4na »

I've attached a photo of my soldering. The 2x20 header arrived pre-soldered to the bonnet. You can see my solder on pin 12 and the two terminal blocks.

Here's the output of aplay -l

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 [HifiBerry DAC HiFi pcm5102a-hifi-0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
and lsusb

Code: Select all

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 0644:0000 TEAC Corp. Floppy
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Thanks again for your help and advice.
Attachments
PXL_20211127_200559288-small.jpg
PXL_20211127_200559288-small.jpg (1017.29 KiB) Viewed 652 times

User avatar
mikeysklar
 
Posts: 14165
Joined: Mon Aug 01, 2016 8:10 pm

Re: Speaker Bonnet on Raspberry Pi 4 - No errors and no soun

Post by mikeysklar »

Okay, aplay shows the speaker bonnet is being discovered correctly on Card 0/0.

You probably need to adjust your output device.

Are you running The Pi OS GUI where you can adjust the output device and volume from the top right corner? It's probably trying to play over HDMI.

https://learn.adafruit.com/adafruit-spe ... -2711202-3

User avatar
D4na
 
Posts: 3
Joined: Tue Nov 23, 2021 3:51 pm

Re: Speaker Bonnet on Raspberry Pi 4 - No errors and no soun

Post by D4na »

When I right click on the speaker icon on the top right corner, it says something to the effect of "no output devices available." I tried adjusting the volume using alsamixer, but that didn't seem to make a difference. Unfortunately, I'm not going to have access to the pi or the speaker bonnet for the following two weeks as they're going to be part of a university art show, but I'll check again when I get it back and follow up here.

User avatar
mikeysklar
 
Posts: 14165
Joined: Mon Aug 01, 2016 8:10 pm

Re: Speaker Bonnet on Raspberry Pi 4 - No errors and no soun

Post by mikeysklar »

You are doing the correct gesture trying to right click on the speaker. Your Pi should see the HDMI, AV Jack and Bonnet as output devices. This is what mine looks like. I use a fancy DAC to output audio.
Screen Shot 2021-11-30 at 11.24.13 AM.png
Screen Shot 2021-11-30 at 11.24.13 AM.png (177.8 KiB) Viewed 580 times
You might want to run raspi-config on your pi from the command line and see what your audio settings are.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”