You can find very cheap, ready-to-use boards on Ebay or AliExpress, with or without a volume pot. Or design your own with the temporary KiCAD design below, and integrate it into your own projects...
There are also other variants of this amplifier IC:
- PAM8302A (mono, 2.5 W, QFN package available)
- PAM8404 (stereo, 3W, QFN package available)
- PAM8620 (stereo, more power (15 W))
PAM 8302 or 8302A ?
Let's make a DIY-CAD version of this.... dusjagr is prototyping
Adafruit has the 8302A: https://www.adafruit.com/product/2130
dusjagr has around 100 SO-8 versions of the PAM 8302.
Hint: To open the project with the local 3d models, you can start KiCAD with run.sh in the project directory.