Turn your Pi into a Lilliputian ghetto blaster with Speaker pHAT!
Speaker pHAT crams an I2S DAC and mono amplifier, a tiny 8Ω 2W speaker, and a 10 LED bar graph all onto one teeny little pHAT. It's the neatest way to add audio to you Pi project, and its beautiful artwork evokes an 80s boombox!
We can't claim audiophile sound quality, but it's perfect for fun little projects where you want to add sound output - speech, notification sounds, or light music, for example.
Why not combine it with a little USB microphone to make a tiny voice-activated assistant in the style of Amazon's Echo? Or set up a simple Flask API and send audio notifications to it from IFTTT with a simple HTTP request.
It comes as a kit, so you'll have to solder on the female 40 pin header, and screw and solder the speaker on. Check out our assembly guide for more details.
The MagPi said that Speaker pHAT was "a great way of adding audio to projects" and that "it looks cute too", giving it four stars.
Features
Kit includes
Software
We've put together a handy one-line installer that will get everything set up in a jiffy! Our installer configures ALSA to output sound through the DAC on Speaker pHAT, and installs a custom plugin to display sound level on the bar graph LEDs. Find details of how to run the one-line installer in the Speaker pHAT GitHub repo.
Notes