Ok, that covers that basics. If you follow the link from the product page you’ll end up here, https://github.com/pimoroni/speaker-phat
I see some test suit entries there that might help sort out what’s wrong.
I have this problem too. I have followed the github instructions for set up. The lights flash up when I run the mp3 using cvlc via putty but no sound. I have soldered the wires to the speaker and they look ok. ANy ideas why there might not be sound?
I’m using the Pogo-a-go-go Solderless GPIO Pogo Pins. This might be the issue as they aren’t really long enough to support the distance needed to fit the speaker. They do just about get into the phat.
Yes, you’ll need to connect a couple of ground pins at least, or it simply wont work at all. (they are marked as small pips on Pinout.xyz to avoid visual noise, so they’re often overlooked)
As for which ground pins, I believe you could get away with just physical pins 9 and 39. Most of the other ground pins are not isolated, but are behind the slot for the LEDs so they’re of minimal importance.
Same result, sorry. I used all of the pins for as many of the ground connections as I could. I’ll have a got at soldering all of them and the other pins. I think there’s a problem with the i2c connection.
I have hooked up all the pins as advised, all the ground pins and the additional 3v3 pin #17) and I can still just get the lights showing it’s playing ok but no sound. I have ran the i2cdetect and I get:
My brain hurts trying to follow that wiring, but I’d suggest triple-checking it. This is suggested from much experience.
Do you have a ribbon cable to connect the two, and see if the sound works that way? That would be the quickest and easiest way to eliminate a wiring issue from the equation.
What are you using for a soldering iron? How many watts? I only ask because it may be inappropriate for this type of soldering. I’d hate to see you damage something else trying to get this working.