Store

Little Bird

5.0 (1 review)

$26.27 |
Out of stock
5.0 (1 review)

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 ba...

Get notified when back in stock

Qty
Estimated Delivery
Arrives
Disclaimer
View Markdown
Secure checkout

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

  • I2S audio DAC with 3W mono amplifier (MAX98357A)
  • Default output of 0.45W/26.5dB
  • 8Ω 2W Mylar speaker
  • Routed holes to channel sound
  • 10 bright white bar graph LEDs
  • SN3218 LED driver chip
  • Speaker pHAT pinout
  • Compatible with Raspberry Pi 3B+, 3, 2, B+, A+, Zero, and Zero W
  • Female header and speaker require soldering (includes a piece of bare wire to solder the speaker)

Kit includes

  • Speaker pHAT
  • 8Ω 2W Mylar speaker
  • 2x20 pin female header
  • 5cm 24AWG bare wire
  • 4x M2x8 black nylon bolts
  • 8x M2 black nylon nuts

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.

Our software does not support Raspbian Wheezy.

Notes

  • The DAC sums the two audio channels to mono, rather than just outputting one channel or the other, meaning that you get both channels of audio out of the single speaker
  • The dimensions of an assembled Speaker pHAT are (height does not include the female header): H 10mm x L 65mm x B 30mm. The speaker itself measures: H 6mm x L 40mm x 20mm.
  • Speaker pHAT won't fit on top of a Pibow Coupé or Pibow Zero due to the height of the speaker, and you won't be able to use a heat sink for the same reason.
  • It's important that you use four of the included eight nuts as spacers to space the speaker slightly away from the PCB. Not doing this, and having the speaker cone touching the PCB, can result in sound degradation and even damage to the speaker.

Jargon buster

Plain-language definitions for the technical terms used above.

API
An API is a software interface that lets a program control hardware or features provided by the operating system. In this product, API support matters if you want your software to adjust display settings such as brightness or contrast automatically.
DAC
A digital-to-analogue converter turns numbers from the microcontroller into a real analogue voltage. It matters if you want to generate simple waveforms, audio-style signals, or variable control voltages rather than just on/off outputs.
I2S
I2S is a digital audio interface used to send sound data between chips, such as from a microcontroller to an audio amplifier or DAC. It matters if your project needs cleaner digital audio output than a basic buzzer or PWM signal can provide.
LED
A light-emitting diode is a small electronic component that lights up when current flows through it in the correct direction. In this kit, LEDs create the flashing effect, so polarity and correct soldering matter for the project to work.
LED driver
An LED driver is a control chip or circuit that supplies and switches power to LEDs. For a display board, it reduces the number of microcontroller pins needed and handles tasks like lighting the right segments and adjusting brightness.
PCB
A printed circuit board is a rigid board with copper tracks that connect electronic parts without loose wires. For this kit, the PCBs also form the airplane shape, so they are both the circuit base and part of the finished model.
pHAT
A smaller add-on board format for Raspberry Pi, similar in idea to a HAT but usually not full-sized. It matters because pHAT compatibility can affect how neatly a board stacks or fits into a Raspberry Pi project.
Stella
Stella Expert

Ask me anything about this product

Maddy, co-founder of Little Bird

Need help? We're here for you!

Hi, I'm Maddy. My team and I are ready to help with your order or any questions.