Voice assistant volume too low with MAX98357A

Hi There,

I’m doing the basic esp32 circuit for a voice assistant, as seen in the Egg entry (Home Assistant - Egg by toddpage - Thingiverse) and it works fine except that the volume on a basic 4ohm speaker is very low. I’ve seen how I can make it quieter with a resistor to the GAIN pin, but is there a tweak to make it louder? Is it the speaker?

We probably need far more information to be able to help, as we have no idea what you have built apart from some 3d printing.

But best bet is to google MAX98357A and learn about the gain pin and what you can do increase gain.

The volume depends on the gain setting and also depends on your power supply. What voltage does the supply have? If you have a 5V system, you should be able to get 3.2W in your 4 Ohm speaker.

You can set the gain by connecting the gain pin to GND or VDD with a 100KOhm resistor or directly, resulting in different gain levels. If you are using TDM the gain is fixed at 12dB. Connected the gain pin with 100KOhm to GND will give you 15dB gain, the highest level.

1 Like

Thanks! That gave it the boost I was looking for.