raspberry pi 3A+ use a amplifier to add stereo speakers

What I want

The raspberry pi 3A+ is a powerful and small single board computer, I like to use it in many projects, but, its onboard audio output is not powerful enough, only can power up headphones, so, I bought an amplifier to make an improvement.

The amplifier I used


the amplifier board based on PMA8403 chip

Wire schematic

wire schematic

you can use the mute switch to mute the speakers, when you use headphones, or, if you want to auto switch between speakers and headphones, you can solder a 5-pin jack to connect speakers and not use pi’s jack for headphones.