Volume discount | |
2+ items | $15.36 |
5+ items | $14.72 |
10+ items | $13.60 |
Raspberry Pi HiFi Hat is the lightweight implementation of the PCM5100A DAC and ultra-low-noise power circuitry in a Hat shape. It combines the power of the Raspberry Pi SBC and the Hi-Fi audio capabilities of TI’s best-known Hi-Fi DAC. It has two flavors: 1X is a traditional DAC that works with any Raspberry Pi out there, while 2X is specifically designed for Raspberry Pi 5 and implements two stereo DACs, which Raspberry Pi 5 users can use independently. Using two of them, you can have up to 4 stereo outputs, totaling 8 channels of audio.
| 1X | 2X |
|---|---|
I did a few audio projects in the past, some using ESP32, some using larger Orange Pi and Raspberry Pi devices. Each has its pros and cons, and with each iteration, I'm trying to focus on the details that were working best for me while actually using them.
What is special about the Raspberry ecosystem is, of course, its community support. Being a not-so-strong software developer, I often have to rely on the work that other people did and baked into the base Raspbian image. Attaching a DAC, Ethernet, and IR reader is as simple as adding 3 lines into config.txt file. All the device tree definitions, kernel drivers, and dependency packages are already in place, believe it or not.
Sure, compared to the ESP32 platform, it is not as lightweight. It requires more power, it takes some time to boot. But when it comes to rapid development, there is nothing like the Raspberry Pi.
Raspberry Pi HiFi is a first-in-line product that uses the legendary PCM5100 series DAC with supreme audio quality. It exposes line-level output that you can plug into a stereo amplifier. Spend as much as you need on the external amp to deliver the sound you like (personally, I prefer late '80s audio gear).
HiFi Raspberry Hat is a flexible, open-source audio platform designed to fit into both smart homes and custom audio projects.
| HiFi Raspberry Hat | HiFi Raspberry Hat 2X | HiFi Raspberry Media Center | |
|---|---|---|---|
| Image | |||
| Compatible with | Every Pi | Raspberry Pi 5 | Raspberry Pi Zero (W), Raspberry Pi Zero2 W |
| DAC | PCM5100A 32-bit Stereo DAC | Dual PCM5100A 32-bit Stereo DAC | PCM5100A 32-bit Stereo DAC |
| Output | 2.1 VRMS Line level output -100 dB typical noise level | 2.1 VRMS Line level output -100 dB typical noise level | 2.1 VRMS Line level output -100 dB typical noise level |
| IR input | ✅ | ✅ | ✅ |
| RGB LED | ❌ | ❌ | ✅ |
| Onboard Serial Bridge | ❌ | ❌ | ✅ |
| Wizznet W5500 Ethernet | ❌ | ❌ | ✅ |
| Mechanical dimensions (WxHxD) | 65mm x 30mm x 15mm | 65mm x 30mm x 15mm | 88mm x 38mm x 100mm |
| Power requirement | 5V from the host Pi | 5V from the host Pi | 5V USB-C power adapter (up to 1A) |
⚠️ HiFi boards require an external amplifier or active speakers; you can't connect passive speakers to it.
💡 Need to connect speakers as well? Check out Amped Raspberry Hat and Amped Raspberry Media Center
💡 Need only speakers output? Check out Loud Raspberry Hat and Loud Raspberry Media Center
💡 Need more powerful DSP? Check out Louder Raspberry Hat, Louder Raspberry Hat Plus and Louder Raspberry Media Center
| I2S CLK | I2S DATA | I2S WS | IR INPUT | |
|---|---|---|---|---|
| Raspberry Pi Zero | 18 | 21 | 19 | 17 |
| Raspberry Pi 2,3,4 | 18 | 21 | 19 | 17 |
| Raspberry Pi 5 | 18 | 21, 23, 25, 27 | 19 | 17 |
You need nothing more than an SD card with a Raspbian image and a USB-C power brick. You can use any distribution you like. The only change you need to make to enable hardware is to add 3 lines to the /boot/config.txt
dtoverlay=gpio-ir,gpio_pin=17
dtoverlay=hifiberry-dac
The project repository provides a few examples with build instructions, including Volumio setup instructions, among others.
Please visit the hardware section of the project repo for board schematics and PCB designs. Note that PCBs are shared as multi-layer PDFs as well as Gerber archives.
| Image |
|---|
Please follow this guide to configure an IR reader
Raspberry Pi 5 is the first one that allows the user to drive multiple I2S data lines using the same interface. What it means in practice is that while all older Pis have just 3 I2S lines (CLK, WS, DATA), Pi5 supports up to 4 Data lines (CLK, WS, D0, D1, D2, D3), capable of driving 4 independent audio interfaces.
2X Raspberry Pi hats support alternative data lines. You need to short some solder bridge to use it, though. It allows configuring Hats to use different pins and stack them together to create 4 individual stereo interfaces (8 channels in total) using the same device.
By default, the 2X hat uses pins 21,23 for data, with the possibility to switch to pins 25 and 27 with solder bridges and stack 2 boards together.
| HiFi Hat (rev C) | HiFi Hat (rev D) |
|---|---|
The configuration value that allows this is quite simply
dtoverlay=hifiberry-dac8x
New restock batches are regularly ordered from the factory, and I plan to keep all versions available at least until the next board revision is released. For current availability, you can also check the official reseller Elecrow.
Due to the new tariffs introduced by the Trump administration, standard shipments are temporarily on hold. However, shipping to the US has now resumed via UPS, though rates are currently quite high. I’ll fully resume regular shipping as soon as the restrictions are lifted. In the meantime, you may consider ordering through Elecrow.
If you’re working on an open-source project, an educational initiative, or any pro-bono/volunteer effort, feel free to reach out for sponsorship details. I’ll do my best to provide discounts or even free boards.
If you’re interested in a custom design based on, or inspired by, my boards, I also offer contract design work and consultation when needed.
Most orders are shipped the next business day morning. All shipments are tracked. Delivery time in the EU is 3-7 days, outside 2-3 weeks, depending on the distance. After 30 days, the package is considered lost - reach out for a refund or replacement.