Speaker-phat max volume

Hi all,
Just installed speaker-phat on rPi 3+, using pygame for primary audio control. Works fine, just wondering if there is a way to increase max volume? Seems a 2W amp should be able to push more than this…?

interestingly, when using VLC with volume set to “125%” the volume is higher than using pygame mixer with sound volume set to 1.0 (max value in pygame). So there must be a way to get more volume just dont know how.

Any suggestions?

thanks in advance.
tom

The speaker being used will have some bearing on how loud it “sounds”.
Are you using the one that comes with it or your own?
If your own speaker, what impedance is it, 4 or 8 ohms etc?
The speaker phat uses an MAX98357A, I think its actually a 3 watt amp.
3.2W Output Power into 4Ω at 5V from the link below.

Thanks for the quick reply - here are my responses:

  • Agree - I’m using the speaker that comes with it.
  • Sorry I misspoke ok 3W vs 2W…
  • Still doesn’t explain why it’s louder using VLC than pygame no?

Still works fine for my purposes… just curious.
tom

Hi again,
Just looking over the datasheet you sent me for the MAX98357A. Could you tell what Gain you set the circuit to? I’m referring to Table 8 of the datasheet. Thanks!
tom

Just for the record, I don’t work for, or have any affiliation with Pimoroni. :) I wish, but no. =(
Anyway, the data sheet I found via a google search. What settings they (Pimoroni) use I have no idea?
You’d have to ask Phil @gadgetoid or maybe Sandy @sandyjmacdonald
It looks to be commonly used, my pHat Beat uses two to get stereo. I have yet to turn that up to full volume by the way. More than loud enough at slightly less than half on the VU meter.
And my Google AIY uses one. I actually added a second to get stereo on that. Adafruits breakout board solders right in on top of the existing one on the AIY HAT to give you stereo out.

This is the breakout board I bought to get stereo out of my Google AIY.


They list it as “Output Power: 3.2W at 4Ω, 10% THD, 1.8W at 8Ω, 10% THD, with 5V supply”.
Maybe you need a 4 ohm speaker not an 8 ohm? To get the full 3 watts?