# Louder Raspberry Hat

Raspberry Pi Hat with TAS5805M DAC with built-in DSP

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

## Options

**Board version**

- 1X Hat (2.0 channels, any Pi), rev E + 40-pin adapter □ (16 left)
- 2X Hat (2.1 channels, any Pi), rev F + 40-pin adapter □ [Add $5.00] (22 left)

## Links

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

## Images

![Louder Raspberry Hat](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NDc3NTksInB1ciI6ImJsb2JfaWQifX0=--fe89fe4c7860ff35c22d7d1348fab1897bf80442/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGVnIiwicmVzaXplX3RvX2xpbWl0IjpbOTYwLDY0MF0sInNhdmVyIjp7InN0cmlwIjp0cnVlfX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--4e27bac8cdfb621fb828f6a3a5982fe1a423b516/DSC_0032.jpeg)
![Louder Raspberry Hat](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NDc3NjMsInB1ciI6ImJsb2JfaWQifX0=--cd3d8bcd24e60cba0c6b4af1209d742c2699dbab/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGVnIiwicmVzaXplX3RvX2xpbWl0IjpbOTYwLDY0MF0sInNhdmVyIjp7InN0cmlwIjp0cnVlfX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--4e27bac8cdfb621fb828f6a3a5982fe1a423b516/DSC_0036.jpeg)
![Louder Raspberry Hat](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NDc3NjcsInB1ciI6ImJsb2JfaWQifX0=--4f86395ba974e2f13e24badb556cf05c0a2f9daa/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGVnIiwicmVzaXplX3RvX2xpbWl0IjpbOTYwLDY0MF0sInNhdmVyIjp7InN0cmlwIjp0cnVlfX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--4e27bac8cdfb621fb828f6a3a5982fe1a423b516/DSC_0039.jpeg)
![Louder Raspberry Hat](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NDc3NzEsInB1ciI6ImJsb2JfaWQifX0=--47b1cc8fa586fede860449ec57997e7ad5d21315/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGVnIiwicmVzaXplX3RvX2xpbWl0IjpbOTYwLDY0MF0sInNhdmVyIjp7InN0cmlwIjp0cnVlfX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--4e27bac8cdfb621fb828f6a3a5982fe1a423b516/DSC_0044.jpeg)

## Description

## What is it?

The **Louder Raspberry Hat** is a cost-effective, high-performance audio add-on for the Raspberry Pi. It pairs the Pi’s processing power with the Hi-Fi audio quality of TI’s TAS5805M DAC and an efficient Class-D output stage.

The Hat accepts an external power supply of up to 28 V and includes an onboard step-down converter to provide 5 V to the Raspberry Pi, allowing the entire system to run from a single power source. It uses the same highly capable DAC found in its [larger siblings](https://sonocotta.com/raspberry-pi-media-center/), delivering clean, powerful audio suitable for driving large speakers—or pushing small ones to their limits.

| 1X | 2X |
|----|----|
| ![DSC_0169](https://github.com/user-attachments/assets/6b883758-e5cc-466a-85cb-134cbc30f64b) | ![DSC_0164](https://github.com/user-attachments/assets/5eb5781d-9d8b-42ee-bd18-dea1189071e4)

A recent addition to the family is a 2X Louder Raspberry Hat that utilizes two TAS5805M DACs connected in series to deliver a flexible speaker configuration with a dedicated subwoofer driver. 

## Key features

- [TAS5805M](https://www.ti.com/product/TAS5805M) DAC with integrated DSP and built-in amplifier
- Digital volume control (avoids loss of resolution compared to software volume)
- Gain digital control
- Parametric EQ (15xBQ per channel), 128-tap FIR, 3-band DRC, AGL

## Use cases

**Louder Raspberry Hat** 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 **Louder Raspberry Hat** 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, **Louder Raspberry Hat** provides a flexible foundation for personal projects, research platforms, or commercial device development.


## Features

|  | **Louder Raspberry Hat** | [Louder Raspberry Hat Plus](https://lectronz.com/products/louder-raspberry-hat-plus) | [Louder Raspberry Media Center](https://lectronz.com/products/louder-raspberry-pi-media-center) |
|---|---|---|---|
| Image (2.0 model) | ![2.0 Hat](https://github.com/user-attachments/assets/6b883758-e5cc-466a-85cb-134cbc30f64b) | ![2.0 Plus Hat](https://github.com/user-attachments/assets/d27190d9-b295-4cb9-8db9-9b0343fa4398) | ![DSC_0008](https://github.com/sonocotta/raspberry-media-center/assets/5459747/8dc35e18-1663-4a5e-8cae-7efb642978d4) |
| Image (2.1 model) | ![2.1 Hat](https://github.com/user-attachments/assets/5eb5781d-9d8b-42ee-bd18-dea1189071e4) | ![2.1 Plus Hat](https://github.com/user-attachments/assets/6ea40595-5bf0-4188-9f11-c08817e1e429) | n/a |
| Compatible with | Every Pi | Every Pi | Raspberry Pi Zero (W), Raspberry Pi Zero2 W |
| DAC | (1X) Stereo I2S DAC [TAS5805M](https://www.ti.com/product/TAS5805M) with built in D-Class amp<br><br>(2X) Dual (2.1) I2S DAC [TAS5805M](https://www.ti.com/product/TAS5805M) with built in D-Class amp | (1X) Stereo I2S DAC [TAS5825M](https://www.ti.com/product/TAS5825M) with built in D-Class amp<br><br>(2X) Dual (2.1) I2S DAC [TAS5825M](https://www.ti.com/product/TAS5825M) with built in D-Class amp | Stereo I2S DAC [TAS5805M](https://www.ti.com/product/TAS5805M) with built in D-Class amp |
| Output | [1X] 2x 22W (8Ω, 1% THD+N); 2x 32W (4Ω, 1% THD+N) at 20V <br>1x 45W (4Ω, 1% THD+N) at 20V <br><br>[2X]: 2x 22W (8Ω, 1% THD+N) + 1x 45W (4Ω, 1% THD+N) | [1X] 2x 32W (8Ω, 1% THD+N); 2x 45W (4Ω, 1% THD+N) at 20V <br>1x 53W (4Ω, 1% THD+N) at 20V <br><br>[2X]: 2x 32W (8Ω, 1% THD+N) + 1x 53W (4Ω, 1% THD+N) | 2x 22W (8Ω, 1% THD+N); 2x 32W (4Ω, 1% THD+N) at 20V <br>1x 45W (4Ω, 1% THD+N) at 20V |
| IR input | ✅ | 1X model | ✅ |
| Power requirement | 7..26V from external source<br>powering host (up to 3A cont.) | 7..26V from external source<br>powering host (up to 3A cont.) | 65W USB-C PD power adapter or 7..26V from external PSU |
| Mechanical dimensions (WxHxD), Hat | 65mm x 56mm x 20mm | 65mm x 56mm x 20mm |  88mm x 38mm x 100mm |


⚠️ *Louder boards will connect to passive speakers; you can't use headphones or an external amp*

💡 *Need to connect an external amp? Check out [HiFi Raspberry Hat](https://lectronz.com/products/hifi-raspberry-hat) and [HiFi Raspberry Media Center](https://lectronz.com/products/hifi-raspberry-media-center)*

💡 *Don't need DSP capabilities? 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)*


## Board Pinout


|                      | I2C CLK | I2C DATA | DAC PWDN | IR INPUT | I2S CLK | I2S DATA | I2S WS
|----------------------|---------|----------|----------|----------|---------|----------|-----------|
| Raspberry Pi Hat 1X  | 3       | 2        | 4        |   17     |   18    |  19      |    19     |
| Raspberry Pi Hat 2X  | 3       | 2        | 4, 5     |   17     |   18    |  19      |    19     |

## How to use

You can use any distribution you like. To enable the IR reader, you need to add 1 line to the `/boot/config.txt`

```
dtoverlay=gpio-ir,gpio_pin=17
```

TAS5805M DAC is not supported by default Raspbian distribution, therefore, some work needs to be done to enable it. [Linked repo](https://github.com/sonocotta/tas5805m-for-raspbian-paspberry-pi-zero) contains code and instructions on how to configure it. It will take you 5 minutes and one reboot.

## Other software options

The project repository provides a few examples with build instructions, including [Volumio setup](https://github.com/sonocotta/raspberry-media-center#volumio) instructions, among others.

## Hardware

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.

### PCB diagram

| 1X | 2X |
|-------|-------|
| ![image](https://github.com/user-attachments/assets/9357eff8-739b-4b38-ae04-3698985e3dc0) | ![image](https://github.com/user-attachments/assets/4ac30e1b-8d07-4bda-a3ee-99d91c4dc1e9)

### IR reader

Please follow [this guide](https://github.com/sonocotta/raspberry-media-center?tab=readme-ov-file#ir-reader) to configure an IR reader


### TAS58xx DSP Capabilities (TAS5805M / TAS5825M)

Both TAS5805M and TAS5825M DACs feature sophisticated DSPs inside. The unified driver automatically detects which chip is connected based on I2C address and provides extensive control over DSP features through ALSA, eliminating the need for the $250+ evaluation board for most use cases.

**Chip Detection:**
- TAS5805M: I2C addresses 0x2c - 0x2f (automatically detected)
- TAS5825M: I2C addresses 0x4c - 0x4f (automatically detected)

**Currently Implemented:**
- **EQ Modes:** 4 modes selectable via device tree (`ti,eq-mode`)
  - OFF (0): No equalization
  - 15-band parametric EQ (1): Full frequency control with adjustable Q and gain
  - LF Crossover (2): Low-pass filter for subwoofers (60-150Hz, Linkwitz-Riley 4th order)
  - HF Crossover (3): High-pass filter for satellite speakers (60-150Hz, Linkwitz-Riley 4th order)
- **Speaker Configurations:** 2.0 stereo, 2.1 (with dual DAC), bridge/PBTL mono
- **Mixer Controls:** Flexible channel routing (Stereo, Mono, Left only, Right only)
- **Analog Gain:** 32 steps (0 to -15.5dB) for output level optimization
- **Modulation Schemes:** BD, 1SPW, Hybrid (efficiency vs. quality tradeoffs)
- **Switching Frequency:** 384kHz, 480kHz, 576kHz, 768kHz
- **Bridge Mode:** PBTL for maximum mono power output
- **Fault Monitoring:** Read-only ALSA controls for real-time hardware health monitoring
  - Channel faults (overcurrent, DC fault)
  - Power supply faults (PVDD under/overvoltage)
  - Thermal warnings (4 levels: 112°C, 122°C, 134°C, 146°C)
  - Clock and Digital Signal Processing faults
  - Overcurrent warnings and shutdown detection

![image](https://github.com/user-attachments/assets/277d3901-87d8-4c73-84d0-7e2d697c300c)

### Power considerations

Below are the power requirements for different Pi models

| Model | Power requirement |
|-------|-------------------|
| Raspberry Pi Zero W | 260 mA (1.3 W)
| Raspberry Pi Zero 2 W | 500 mA (2.5 W)
| Raspberry Pi 3 Model B | 1.34 A (6.7 W)
| Raspberry Pi 3 Model B+ | 1.21 A (6.05 W)
| Raspberry Pi 3 Model A+ | 0.75 A (3.75 W)
| Raspberry Pi 4 Model B (1GB, 2GB, 4GB, and 8GB RAM variants) | 3.0 A (15 W)
| Raspberry Pi 5 | Approximately 3.5 A

Consider expected audio output to be a part of the power budget and buy a reasonable power source capable of delivering the sum of Pi and audio requirements with a reasonable margin of 15%+

In the extreme scenario, using 2 channels with 4 Ohms load with Pi5, you'd need `(15W [Pi] + 60W [audio]) * 1.2 = 90W`, round up to 100W.

# Restocking & Availability

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](https://www.elecrow.com/louder-raspberry-pi-hat.html).

## 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. In the meantime, you may consider ordering through [Elecrow](https://www.elecrow.com/louder-raspberry-pi-hat.html).

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