# HiFi Raspberry Pi Media Center

Home Media Center powered by Raspberry Pi and PCM5100 DAC

- **Seller:** [Sonocotta store](https://lectronz.com/stores/sonocotta), Warsaw, Mazowieckie, Poland
- **Price:** $40.00 (USD, before shipping and taxes)
- **Availability:** In stock
- **Categories:** Home automation, Audio, Raspberry Pi
- **Product page:** https://lectronz.com/products/hifi-raspberry-media-center

## Options

**Front panel**

- Standard black FR4 panel
- Add smoked glass panel [Add $5.00] (10 left)

## Links

- [Documentation](https://hackaday.io/project/195272-raspberry-pi-media-center)
- [Code](https://github.com/sonocotta/raspberry-media-center)

## Images

![HiFi Raspberry Pi Media Center](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTIxNzksInB1ciI6ImJsb2JfaWQifX0=--93b5ae587d51d24b2660abb2a3b2017ad77b5b8b/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2024-03-19T21-03-45.250Z-DSC_0733.JPG)
![HiFi Raspberry Pi Media Center](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTIxODAsInB1ciI6ImJsb2JfaWQifX0=--1e17f9800d325d84a1448e39f19cf4bbeae6a6fd/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2024-03-19T21-03-45.250Z-DSC_0730.JPG)
![HiFi Raspberry Pi Media Center](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTIxODEsInB1ciI6ImJsb2JfaWQifX0=--6bb9cb36fce848e981f90bbf64b47cd6a7975f9a/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2024-03-19T21-03-45.250Z-DSC_0726.JPG)
![HiFi Raspberry Pi Media Center](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTIxODIsInB1ciI6ImJsb2JfaWQifX0=--29ae4687b5a97b89cd8ca21fc1c5a0c66635e6b8/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2024-03-19T21-03-45.250Z-DSC_0735.JPG)
![HiFi Raspberry Pi Media Center](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTIxODMsInB1ciI6ImJsb2JfaWQifX0=--d3605b0c3ee514b07da58171640fcc1b958e0ece/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2024-03-19T21-03-45.250Z-DSC_0737.JPG)
![HiFi Raspberry Pi Media Center](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTIxODQsInB1ciI6ImJsb2JfaWQifX0=--752a1777476db8c6e09200f8a989d6fd15522d8c/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2024-03-19T21-03-45.250Z-DSC_0739.JPG)
![HiFi Raspberry Pi Media Center](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTIxODUsInB1ciI6ImJsb2JfaWQifX0=--b573cf536250b99489c0fe5e4fb034ce2865d2d7/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2024-03-19T21-03-45.250Z-DSC_0741.JPG)
![HiFi Raspberry Pi Media Center](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTIxODYsInB1ciI6ImJsb2JfaWQifX0=--84419d507c96de38b07b76ef6ba5b94ceb1e79db/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2024-03-19T21-03-45.250Z-DSC_0727.JPG)
![HiFi Raspberry Pi Media Center](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTIxODcsInB1ciI6ImJsb2JfaWQifX0=--4e069dd873c2cb1a9a4c04cd68e7eb0373f54c22/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2024-12-02T09-58-35.684Z-DSC_0063.JPG)
![HiFi Raspberry Pi Media Center](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTIxODgsInB1ciI6ImJsb2JfaWQifX0=--d273a83ecc38fb3d8fea4eead9e40535e9f4488a/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2024-12-02T09-58-35.684Z-DSC_0060.JPG)
![HiFi Raspberry Pi Media Center](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTIxODksInB1ciI6ImJsb2JfaWQifX0=--b7a6892f4ec389fcd0077e1ddcfb4ed749e76530/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2024-12-02T09-58-35.684Z-DSC_0061.JPG)
![HiFi Raspberry Pi Media Center](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTIxOTAsInB1ciI6ImJsb2JfaWQifX0=--569e1c3371448c1a8084dee6a5278b8e90fbdb06/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2024-12-02T09-58-35.684Z-DSC_0066.JPG)

## Description

## What is it?

The Raspberry Pi Home Media Center is a compact and neatly designed hardware project that combines the power of the Raspberry Pi Zero board and the Hi-Fi audio capabilities of the TI’s PCM5100 32-bit DAC. This versatile media center provides a customizable and fully open-source hardware platform for home entertainment.

![DSC_0727](https://github.com/sonocotta/raspberry-media-center/assets/5459747/029e5175-1ee1-4876-8ba3-91d49730c29f)

With a minimalistic but functional design inspired by commercial audio gear, it offers a seamless user experience. It aimed to support [Volumio](https://volumio.com/), [Mopidy](https://mopidy.com/), or any custom firmware you may come up with.

## Why did I build it

I did a few audio projects in the past, some using [ESP32](https://sonocotta.com/esparagus-hifi-medialink/), some using larger [Orange Pi](https://sonocotta.com/orange-pi-media-center/) and [Raspberry Pi](https://hackaday.io/project/162373-orangepi-zero-pulse-music-server-using-i2s-dac) 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).

## Use cases

**HiFi Raspberry Media Center** is a flexible, open-source audio platform designed to fit into both smart homes and custom audio projects.

*   **Smart Home Audio, TTS & Automation Node**
    Integrates with Home Assistant and Music Assistant for high-quality playback, text-to-speech, and event-driven announcements. Functions as both an audio endpoint and a networked automation node for sensors, triggers, and smart home workflows.
*   **Multi-Room Audio Infrastructure**
    Use **HiFi Raspberry Media Center** as a Snapclient server and endpoint for perfectly synchronized distributed audio. Ideal for open, vendor-neutral whole-home or commercial audio systems.
*   **Standalone Network Player & Streaming Hub**
    Run LMS/Squeezelite for a self-contained streaming device supporting Spotify Connect, AirPlay, and Logitech Media Server — no external computer required.
*   **Embedded Audio Processing & DSP Platform**
    Execute real-time digital signal processing, filtering, effects, or audio analysis directly on-device. Suitable for smart speakers, alert systems, acoustic sensing, and custom audio interfaces.
*   **Networked Sensor & Interface Controller**
    Combine audio output with GPIO control, sensors, buttons, displays, or actuators. Ideal for interactive installations, smart appliances, voice feedback devices, or industrial status systems.
*   **Educational Platform for Systems & Networking**
    A practical teaching platform for embedded Linux-style workflows without full SBC overhead — covering networking, streaming protocols, real-time processing, IoT architectures, and open-source audio systems.
*   **Rapid Prototyping for Connected Products**
    Designed for fast iteration of networked hardware products — from smart audio devices and notification systems to interactive kiosks and connected consumer electronics.
*   **Open Platform for Custom Products & DIY Builds**
    With fully open firmware and tooling, **HiFi Raspberry Media Center** provides a flexible foundation for personal projects, research platforms, or commercial device development.


## Features

|  | [HiFi Raspberry Hat](https://lectronz.com/products/hifi-raspberry-hat) | [HiFi Raspberry Hat 2X](https://lectronz.com/products/hifi-raspberry-hat) | **HiFi Raspberry Media Center** |
|---|---|---|---|
| Image | ![DSC_0733 (copy 1)](https://github.com/sonocotta/raspberry-media-center/assets/5459747/990da9e7-b8fd-400c-b818-cb9352fd10a3) | ![DSC_0122](https://github.com/user-attachments/assets/0b297b27-d3c7-4b82-b072-3d3edb96539f) | ![DSC_0113](https://github.com/user-attachments/assets/e42a2fa6-db4e-4659-9651-801031f9721c)
| 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](https://lectronz.com/products/amped-raspberry-hat) and  [Amped Raspberry Media Center](https://lectronz.com/products/amped-raspberry-media-center)* 

💡 *Need only speakers output? Check out [Loud Raspberry Hat](https://lectronz.com/products/loud-raspberry-hat) and [Loud Raspberry Media Center](https://lectronz.com/products/loud-raspberry-media-center)*

💡 *Need more powerful DSP? Check out [Louder Raspberry Hat](https://lectronz.com/products/louder-raspberry-hat), [Louder Raspberry Hat Plus](https://lectronz.com/products/louder-raspberry-hat-plus) and [Louder Raspberry Media Center](https://lectronz.com/products/louder-raspberry-media-center)*

## Board Pinout

### Audio

|       | I2S CLK | I2S DATA | I2S WS | 
|-------|---------|----------|--------|
| Raspberry Pi Zero | 18      | 21       | 19     | 

### Peripheral

|       | SPI CLK  |SPI MOSI| SPI MISO | LAN RES   | LAN CS   | LAN INT  |  WS2812 RGB LED |  RELAY EN | IR INPUT |
|-------|----------|--------|----------|-----------|-----------|-----------|---------|----------|----------|
| Raspberry Pi Zero |  11      |  10    |   9      |   24      | 8         | 25        |     12  |  7      | 23        |

## How to use

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=23
dtoverlay=w5500
dtoverlay=hifiberry-dac
```

## Hardware

| Front | Back | PCB |
|---|---|---|
| ![DSC_0730 (copy 1) JPG-mh (1)](https://github.com/sonocotta/raspberry-media-center/assets/5459747/c281dab2-9842-4760-be31-8ad52d836f4d) | ![DSC_0733 (copy 1) JPG-mh](https://github.com/sonocotta/raspberry-media-center/assets/5459747/ba11555c-9e0c-47eb-b77e-4ac4b4ca1a99) | ![DSC_0739 (copy 1) JPG-mh](https://github.com/sonocotta/raspberry-media-center/assets/5459747/b438fd68-108c-42b6-b3b1-4c2507fbd568)

Please visit the [hardware](https://github.com/sonocotta/raspberry-media-center/tree/main/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.

## USA shipping Update

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.

## Sponsorship & Community Support

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.

## Custom Design & Consultation

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.

## Shipping policy

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.
