sonocotta/esparagus-media-center
关于
ESP32 based streaming upgrade for your audio gear
设计与媒体可以做什么
- MCU - ESP32-WROVER-N8R8 or ESP32-S3-WROOM-N8R8 - ESP32-WROVER-N8R8 - ESP32-WROVER-N16R8 - ESP32-S3 (8MB flash + octal PSRAM) - ESP32-WROVER-N16R8 - ESP32-S3 (8MB flash + octal PSRAM) - ESP32-WROVER-N8R8 or ESP32-S3-WROOM-N8R8 - ESP32-S3-WROOM-N8R8
- Output, 8Ω - - - 2x 5W - 2x 22W (8Ω, 1% THD+N) - 2x 22W (8Ω, 1% THD+N) - 2x 25W (8Ω, 1% THD+N) at 22V - 2x 25W (8Ω, 1% THD+N) at 22V - 2x 30W at 24V at 8Ω, THD+N = 1% (Power mode) - 4x 30W at 24V at 8Ω, THD+N = 1% (Power mode)
- PSRAM - 8MB PSRAM - 8MB PSRAM - 8MB PSRAM - 8MB PSRAM - 8MB PSRAM - 8MB PSRAM - 8MB PSRAM - 8MB PSRAM
- Connectivity - WiFi BT4.2 BLE - WiFi BT4.2 BLE - WiFi BT4.2 BLE W5500 Ethernet - WiFi BLE W5500 Ethernet - WiFi BT4.2 BLE W5500 Ethernet - WiFi BLE W5500 Ethernet - WiFi BT4.2 BLE W5500 Ethernet - WiFi BLE W5500 Ethernet
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Esparagus Media Center
Esparagus Media Center is a series of ESP32-based media center devices. They all run Squeezelite-ESP32 software and have similar media capabilities, but are aimed at different use cases. They share a similar look, and compared to my earlier designs, they have a great-looking aluminum case.
⚠️ Looking for ESP32-Audio boards? Check out sister repository: ESP32 Audio Dock
Table of Contents
- Esparagus Media Center
- Table of Contents
- Why Esparagus
- Motivation
- Esparagus HiFi MediaLink
- Loud Esparagus
- Louder Esparagus
- Amped Esparagus
- Esparagus Audio Brick
- Features
- Which chip: ESP32 or ESP32-S3?
- Board Pinout
- Which software is right for me
- Software samples
- Using Esparagus Media Center with the Home Assistant
- Squeezelite-ESP32
- AirPlay 1 & 2
- Standalone Snapclient
- Hardware
- Boxed
- PCB
- BTL and PBTL mode (Louder and Amped boards)
- Amped-Esparagus with TPA3118/TPA3128 amp
- TAS5805M DSP capabilities
- Louder and Amped Esparagus power considerations
- Speakers selection
- OLED screen (soldered in)
- OLED screen (solder-less)
- TFT screen (solder-less)
- Audio Brick details
- Relay Driver
- Errata
- Where to buy
Why Esparagus
ChatGPT made me call it that way. I only asked if there is a fruit or vegetable that is phonetically close to ESP32, which is the heart of this device.
Motivation
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 I like about the ESP32 is how lightweight it is. It barely draws power, so you may not care to turn it off at all. It boots in seconds and is ready for use in a snap. Still, it is capable and works at par with Linux SBC solutions for audio applications, while costing a fraction of their price. Combined with a proper Hi-Fi DAC, you would not tell the difference between commercial devices standing side by side and costing much more.
Over the last few years, I have seen a few amazing software products created to deliver audio on the ESP32, like squeezelite-esp32 or euphonium. Esparagus media center devices are designed specifically to run these great pieces of software and bring new life into aging audio equipment that most of us have at home but do not use that much these days, since it is not working with Spotify and the family.
Esparagus HiFi MediaLink
HiFi Esparagus and HiFi Esparagus S3 are handy, low-cost media devices that will upgrade your legacy audio system with internet streaming capabilities. It exposes line-level output that you can plug into active speakers, a stereo amplifier, or headphones. They use the legendary PCM5100 series DAC with supreme audio quality.
Recent addition - ESP32-S3 version - adds front-facing microphone and RGB LED, so it can also be used as a voice-assist device, providing an off-grid Alexa-like experience for your Home Assistant setup.
Where to buy:
Loud Esparagus
Loud Esparagus is aimed to be paired with small-to-medium-sized speakers in a small room. It uses a dual MAX98357 Hi-Fi DAC that will output 3W per speaker. Admittedly not much, but well enough for a kid's room or workplace. Due to the D-class amp, it barely uses power and can be paired with a standard USB wall charger.
Where to buy:
Louder Esparagus
Louder Esparagus is a top-of-the-range model that uses a modern, highly capable TAS5805M DAC and is aimed to be paired with medium-to-large speaker systems. With 25W per channel stereo output, it packs a punch and can easily enliven living quarters or dorm rooms. It is highly efficient, but much more demanding for power when cranked; therefore, it uses USB-C Power Delivery to pull up to 65W from the wall power adapter. It can be used both with Wi-Fi and Ethernet (to make sure bad Wi-Fi does not interrupt the stream)
The latest update allows direct power through the barrel jack as an alternative to the USB-PD, to provide an alternative and allow more precise control over the power source for your audio
Early access: Louder Esparagus Plus (S3) is a sister board to Amped Esparagus Plus (S3), sharing the same look and feel — front-facing I2S microphone, SPI TFT display, and rotary encoder — but keeps Louder Esparagus's TAS5825M DAC with built-in DSP. It's not yet available for purchase, reach out for early access to prototypes.
Where to buy:
Amped Esparagus
The last in the family, Amped Esparagus, is a device based on PCM5100 HiFi DAC (just like HiFi Esparagus) but adds a powerful and efficient D-class amp (TPA3110D2/TPA3118D2/TPA3128D2 depending on the version) so it can drive speakers directly. It has similar power capabilities to the Louder Esparagus, but it is much simpler to set up and use, since this DAC doesn't need any configuration steps to get going, just a valid I2S audio stream. Simplicity comes at a price; it doesn't have a DSP unit either. Since it has an analog stage, you can use it either with a built-in amp or with an external amp, if you prefer.
With the Amped Esparagus, I'm implementing and testing a new updated look with every board equipped with a semi-transparent front face as standard. Behind it, there is a front-facing IR reader and an 8-LED RGB strip (that can be used for audio visualization or power state). Most noticeably, there is a rotary encoder with a push-button that allows quick change of volume or play/pause action.
Early access: Amped Esparagus Plus (S3) swaps in an ESP32-S3 and an I2C-controlled PCM5122 DAC (versus the static-configuration PCM5100A on the classic ESP32 board), keeping the same TPA3118 amp, RGB LED, IR receiver, and rotary encoder. It adds a front-facing I2S microphone for local voice-assist use cases and an optional SPI TFT display for on-device status/now-playing.
Where to buy:
Esparagus Audio Brick
The Esparagus Audio Brick is a new addition to the Esparagus line of ESP32-based audio hardware. Similar to the Louder Esparagus boards for the most part, the Audio Brick uses the newer TAS5825M DAC/amp, which is a considerably more capable chip with considerably better efficiency figures. It is designed with Home Assistant in mind, so it is a little less about looks and a little more about longevity and practicality.
Our Crowd Supply campaign is underway. Please consider subscribing to make this project go live.
Unlike previous boards, which were mostly intended for table-top use, the Audio Brick is optimized for DIN-rail mounting and modular expansion. Thermal management has been improved for enclosed installs, the power stage has been reworked for efficiency, and the design has been cost-reduced to make multi-unit deployments more practical.
Our Crowd Supply campaign to back the manufacturing of the Audio Brick was successfully funded, and I'm working hard to make sure all orders are shipped to backers in July. Thanks to everyone who made that possible.
Here you can find a video overview of the board.
Where to buy:
Dual DAC model (prototype)
I’m currently working on the dual DAC variant of the Audio Brick. Its main feature is a second TAS5825M DAC that is connected to the same I2S line (so it is perfectly synced with the primary DAC), but allows flexible configuration as either additional 2 channels of audio, a more powerful subwoofer channel, or even a bi-amp configuration, with each DAC driving one speaker (one driver per channel).
Software was a little problematic at the beginning, as most open source projects would not expect two I2C-controlled DACs at the same time, but with the power of ESPHome, it was made possible, so the Audio Brick exposes a single audio sink, with precise control over each DAC configuration, volume, filters, and mixer configuration.
Features
| HiFi Esparagus | Loud Esparagus | Louder Esparagus | Louder Esparagus Plus (S3) | Amped Esparagus | Amped Esparagus Plus (S3) | Esparagus Audio Brick | Esparagus Audio Brick Daul DAC | |
|---|---|---|---|---|---|---|---|---|
| Image | ||||||||
| MCU | ESP32-WROVER-N8R8 or ESP32-S3-WROOM-N8R8 | ESP32-WROVER-N8R8 | ESP32-WROVER-N16R8 | ESP32-S3 (8MB flash + octal PSRAM) | ESP32-WROVER-N16R8 | ESP32-S3 (8MB flash + octal PSRAM) | ESP32-WROVER-N8R8 or ESP32-S3-WROOM-N8R8 | ESP32-S3-WROOM-N8R8 |
| DAC | PCM5100A 32bit Stereo DAC -100 dB typical noise level | Dual I2S DAC (MAX98357) with built in D-Class amp | Stereo I2S DAC ( TAS5805M ) with built in D-Class amp | Stereo I2S DAC ( TAS5825M ) with built-in DSP and D-Class amp | PCM5100A 32bit Stereo DAC working with TPA3110D2/TPA3128D2 D-Class amp (rev E-K) — rev M switches to TPA3118D2 | I2C-controlled PCM5122 32bit Stereo DAC working with TPA3118D2 D-Class amp | Stereo I2S DAC ( TAS5825M ) with a built-in D-Class amp | Dual Stereo I2S DAC ( TAS5825M ) with a built-in D-Class amp |
| Power | 5V over USB-C, 2x LP5907 3.3 V Ultra-Low-Noise LDO for analog section | 5V from USB-C | Up to 20V from USB-C PD or up to 26V from generic power adapter | Up to 20V from USB-C PD or up to 26V from generic power adapter | Up to 20V from USB-C PD or up to 26V from generic power adapter | Up to 20V from USB-C PD or up to 26V from generic power adapter | Up to 26V from a generic power adapter | Up to 26V from a generic power adapter |
| Output, 4Ω | Non-amplified stereo output | 2x 3W | 2x 32W (4Ω, 1% THD+N) | 2x 32W (4Ω, 1% THD+N) | 2x 40W (4Ω, 1% THD+N) 1x 60W (4Ω, 1% THD+N) | 2x 40W (4Ω, 1% THD+N) 1x 60W (4Ω, 1% THD+N) | 2x 10W at 12V at 4Ω, THD+N = 1% (Efficiency mode) 1x 20W at 12V at 3Ω, THD+N = 1% (Efficiency mode) 1x 65W at 24V at 4Ω, THD+N = 1% (Power mode) | 4x 10W at 12V at 4Ω, THD+N = 1% (Efficiency mode) 2x 20W at 12V at 3Ω, THD+N = 1% (Efficiency mode) 2x 65W at 24V at 4Ω, THD+N = 1% (Power mode) |
| Output, 8Ω | - | 2x 5W | 2x 22W (8Ω, 1% THD+N) | 2x 22W (8Ω, 1% THD+N) | 2x 25W (8Ω, 1% THD+N) at 22V | 2x 25W (8Ω, 1% THD+N) at 22V | 2x 30W at 24V at 8Ω, THD+N = 1% (Power mode) | 4x 30W at 24V at 8Ω, THD+N = 1% (Power mode) |
| PSRAM | 8MB PSRAM | 8MB PSRAM | 8MB PSRAM | 8MB PSRAM | 8MB PSRAM | 8MB PSRAM | 8MB PSRAM | 8MB PSRAM |
| Peripheral | WS2812B RGB Led, I2S microphone (S3 only) | WS2812B RGB Led | 8x WS2812B RGB Led, SSD1306 128x64 OLED screen (optional) | 8x WS2812B RGB Led, optional SPI TFT screen, front-facing I2S microphone, rotary encoder with push button | 8x WS2812B RGB Led, Rotary encoder with push button, SSD1306 128x64 OLED screen (optional, rev E-K) — rev M replaces it with an optional SPI TFT screen instead | 8x WS2812B RGB Led, optional SPI TFT screen, front-facing I2S microphone, rotary encoder with push button | 1xWS2812B RGB Led, SSD1306 128x64 OLED screen (optional) | 1xWS2812B RGB LED, ILI9341 320x240px TFT screen (optional) |
| Connectivity | WiFi BT4.2 BLE | WiFi BT4.2 BLE | WiFi BT4.2 BLE W5500 Ethernet | WiFi BLE W5500 Ethernet | WiFi BT4.2 BLE W5500 Ethernet | WiFi BLE W5500 Ethernet | WiFi BT4.2 BLE W5500 Ethernet | WiFi BLE W5500 Ethernet |
| Size | 80 x 50 x 20mm | 80 x 50 x 20mm | 100 x 80 x 38mm | 110 x 40 x 100mm | 100 x 80 x 38mm (rev E-K), 110 x 40 x 100m (rev M) | 110 x 40 x 100 | 90 x 90 x 40mm | 125 x 90 x 40mm |
| Software support | Arduino samples, squeezelite-esp32, snapcast, ESPhome config | Arduino samples, squeezelite-esp32, snapcast, ESPhome config | Arduino samples, squeezelite-esp32, snapcast, ESPhome config | ESPHome Sendspin, AirPlay 1 & 2 and squeezelite-esp32 (unofficial S3 support) — early access, no standalone snapcast yet | Arduino samples, squeezelite-esp32, snapcast, ESPhome config (all revisions, rev M included) | ESPHome Sendspin and AirPlay 1 & 2 — early access, no squeezelite-esp32/standalone snapcast yet | Arduino samples, squeezelite-esp32, snapcast, ESPhome configs (Sendspin included) | Arduino samples, squeezelite-esp32, snapcast, ESPhome configs (Sendspin included) |
| AirPlay 1 & 2* | ✅ | ✅ | ✅ | ✅ | ✅ (rev M only) | ✅ (build from source, no web-installer image yet) | ✅ | ✅ |
* See AirPlay 1 & 2 below for chip-specific caveats (Bluetooth, USB audio, DSP) and board revisions.
Onboard PSRAM
Audio streaming requires proper buffering to work; even with the ESP32's 500K of RAM, it is a challenging task. All Esparagus boards are based on WROVER modules that have an onboard PSRAM chip.
Which chip: ESP32 or ESP32-S3?
Some Esparagus boards are already available in both the 'classic' ESP32 and the newer ESP32-S3 — currently HiFi Esparagus and Esparagus Audio Brick. They are not interchangeable for every use case, and picking the wrong one is the single most common support question — here's the short version:
- ESP32-S3 is the newer, more capable chip — more RAM headroom, a faster CPU, and native USB — but it has no Bluetooth Classic radio, so Bluetooth A2DP only works on the original ESP32.
- Squeezelite-ESP32 and standalone Snapclient: pick the classic ESP32. Neither firmware is fine-tuned for the S3 yet, and current S3 support is noticeably laggier.
- ESPHome / Home Assistant media player: pick ESP32-S3. The new Sendspin renderer runs much better on the S3's extra headroom.
- Voice assistant (wake word) in Home Assistant: ESP32-S3 is mandatory — the classic ESP32 doesn't have the RAM/CPU headroom to run it.
- AirPlay 1 & 2 (rbouteiller/airplay-esp32): both chips are fully supported; ESP32-S3 is preferred for its extra performance headroom.
| Your use case | Pick |
|---|---|
| Bluetooth A2DP from a phone/laptop | ESP32 |
| Squeezelite-ESP32 or standalone Snapclient | ESP32 |
| ESPHome media player / Sendspin | ESP32-S3 |
| Home Assistant voice assistant | ESP32-S3 |
| AirPlay 1 & 2 | Either — ESP32-S3 for more headroom |
If none of that applies to you and you just want the safe default, pick ESP32-S3 — it's the newer chip. Only choose classic ESP32 if you specifically need Bluetooth A2DP, or plan to run Squeezelite-ESP32/Snapclient today.
Louder Esparagus and Amped Esparagus now both have early-access ESP32-S3 revisions — Louder Esparagus Plus (S3) and Amped Esparagus Plus (S3) — but Louder is not available for purchase yet. AirPlay firmware supports both: Louder Esparagus Plus (S3) from the web-installer, and Amped Esparagus Plus (S3) as a build from source for now. Loud Esparagus (ESP32) and the Esparagus Audio Brick Dual DAC (ESP32-S3) are single-chip designs, so there's no choice on those either.
Board Pinout
Common to every board
| I2S CLK | I2S DATA | I2S WS | PSRAM RESERVED | |
|---|---|---|---|---|
| ESP32 | 26 | 22 | 25 | 16, 17 |
| ESP32-S3 | 14 | 16 | 15 | 35, 36, 37 |
Peripheral
| SPI HOST | SPI CLK | SPI MOSI | SPI MISO | DISPLAY DC | DISPLAY CS | DISPLAY RST | DISPLAY BL | WS2812 RGB LED | |
|---|---|---|---|---|---|---|---|---|---|
| ESP32 | 2 | 18 | 23 | 19 | 4 | 5 | 32 | 33 | 21 |
| ESP32-S3 | 2 | 12 | 11 | 13 | 38 | 47 | 48 | 21 | -- |
Rotary encoder (Amped Esparagus, and the Plus S3 boards)
| A | B | SW | |
|---|---|---|---|
| ESP32 | 27 | 33 | 34 |
| ESP32-S3 (Plus) | 47 | 21 | 48 |
TAS5805M/TAS5825M DAC (Louder Esparagus, Audio Brick)
| I2C CLK | I2C DATA | PWDN | FAULT (TAS5805M) | FAULTZ (TAS5825M) | WARNZ (TAS5825M) | |
|---|---|---|---|---|---|---|
| ESP32 | 27 | 21 | 33 | 34 | 39 | 36 |
| ESP32-S3 (Audio Brick) | 9 | 8 | 17 | -- | 18 | 04 |
| ESP32-S3 (Louder Plus) | 41 | 42 | 4 | -- | -- | -- |
Peripheral - Display and W5500 Ethernet (Louder Esparagus)
| SPI HOST | SPI CLK | SPI MOSI | SPI MISO | LAN RES | LAN CS | LAN INT | DISPLAY DC | DISPLAY CS | DISPLAY RST | |
|---|---|---|---|---|---|---|---|---|---|---|
| ESP32 (OLED) | 2 | 18 | 23 | 19 | 14 | 05 | 35 | 04 | 15 | 32 |
| ESP32-S3 (Louder Plus, TFT) | 2 | 12 | 11 | 13 | 05 | 10 | 06 | 40 | 39 | 38 |
Other Peripheral (Louder Esparagus)
| USB-PD EN | USB-PD POWER GOOD | IR INPUT | WS2812 RGB LED | |
|---|---|---|---|---|
| ESP32 | 13 | 36 | 39 | 12 |
Mic header
ESP32-S3 versions of the board have an onboard I2C microphone (or a header for an I2S microphone module, in case of Audio Brick). It can be used for wake word functionality in the Home Assistant or for custom firmware.
| I2S CLK | I2S WS | I2S DATA | |
|---|---|---|---|
| ESP32-S3 | 17 | 18 | 08 |
The mic model that I used for testing and validation is the TDK ICS-43432 MEMS microphone; in the case of the optional module, it is the INMP441 MEMS Microphone, which uses the same data format and rate. The pinout is created for this model.
Which software is right for me
Software samples
In the software section, two firmware examples are provided.
- esp32-i2s-bare is base I2S implementation based on ESP-IDF implementation directly.
- esp32-i2s-esp8266audio is based on excellent ESP8266Audio library (it works with the whole ESP range, don't get fooled by the name), providing minimum code implementation.
- esp32-i2s-web-radio is based on the same library, providing minimum web-readio stream player. It expects a playlist as input in the 'data' folder.
Platformio IDE
All samples are provided as Platformio IDE projects. After installing it, open the sample project. Select the proper environment based on your dock. Run the Build and Upload commands to install necessary tools and libraries, and build and upload the project to the board. Communication and proper upload method selection will be handled by the IDE automatically.
Arduino IDE
Follow the ESP8266Audio library guide.
Using Esparagus Media Center with the Home Assistant
There are several ways Esprargus Media Center devices can be integrated into the Home Assistant setup. Each of them gives a unique feature, losing some other in return. As usual, there is no perfect solution for everyone, but perhaps there is one for you. Below is the summary table of the methods known to me and tested by me.
| Integration type | Tested | Description | Pros | Cons |
|---|---|---|---|---|
| LMS/Airplay | Yes | Connect to Music Assistant as external protocol device. Can play your media library and internet radio | Still can use squeezelite, i.e., use Spotify Connect and Apple Airplay when HA is not using the device | No native integration into HA, only works with Music Assistant |
| ESPHome way | Yes | Connect as HA media device. Can be used with any HA integration, including Music Assistant, Text-to-Speech announcements, alarms, etc | More integrations with HA, more flexibility in use case | No longer works as Spotify, Airplay, etc. |
| Snapcast way | Yes | Connect to Music Assistant as snapcast protocol device. Can play your media library and internet radio. | Perfect for multiroom sync (Sonos-like, perhaps even better). Can be used with other Snapcast servers around the house | No longer works with Spotify, Airplay, etc. No native integration into HA only works with Music Assistant |
Below are specific steps that you need to follow to spin up the Esparagus Media Center in Home Assistant
Configuring Home Assistant
I prefer to use HA with the Music Assistant. This way, you can integrate both your media library and internet radio and have a nice UI/UX at the same time (including a mobile app).
Generally, you need to have a supported HA (native) installation and follow these steps. I will place here a short version to have a reminder for future self
Install instructions
| Step | Screenshot |
|---|---|
| Add SSH Addon Navigate to Settings > Addons > Add Addon Search for SSH and install it. Enable Show in sidebar switch while you there |
|
| Start SSH Addon SSH addon won't start until you add at least one SSH public key to it. So navigate to SSH Addon Settings and add a key (or password) to the config It should be able to start now |
|
| Install Community Store Run this command in the Terminal session wget -O - https://get.hacs.xyz | bash - You need to restart your HA after that |
|
| Add HACS Navigate to Settings > Devices as Services > Integrations > Add Integration, search for HACS, and add it to the HA You'll need to authorize your extension to your GitHub account |
|
| Install Music Assistant via HACS From the HACS menu, search for Music Assistant and press the Download button You need to restart HA again In the Settings > Addons, you should be able to see MA and enable sidebar navigation for it. |
|
| Configure Music Assistant Before you enable Integration (that will in turn add speaker devices), you need to enable MA providers Go to MA > Settings > Providers and enable both Music providers and Player providers that interests you. If not sure, enable all of them; you can disable them later on. |
|
| Add Music Assistant Integration Navigate to HA Settings > Devices & services > Integrations. Click the big + ADD INTEGRATION button, look for Music Assistant, and click to add it. It should discover and add media devices based on the providers you're enabled in the previous step |
|
| Add Music Devices discovered by MA You should be able to add and use discovered devices. More details in below sections |
Home Assistant: LMS or Airplay
When you have squeezelite-esp32 installed on your Esparagus device (either stock or manually going through steps), it will announce itself by multiple protocols in the network:
- Bluetooth
- LMS or slimproto - auto-discovered by HA
- Apple AirPlay - auto-discovered by HA
- Spotify Connect
The power of this method is that you can use all four ways outside of HA, for example, using your smartphone and the Spotify app, and still have it integrated into HA at the same time.
Install instructions
Native HA integration
Make sure your MA Slimproto provider is disabled; it will conflict with the native HA integration
| Step | Screenshot |
|---|---|
| Add SlimProto Integration Navigate to HA Settings > Devices & services > Integrations. Click the big + ADD INTEGRATION button, look for SlimProto, and install it. |
|
| Add HA MediaPlayers provider to MA |
Integrate into Music Assistant directly
Disable SlimProto integration in the HA if you want to go the MA way. If you enabled SlimProto and AirPlay providers in the MA, you should find your device as both a Slimproto device and an AirPlay device. It is up to you which protocol to use; generally, they both work perfectly well.
Home Assistant: ESPHome
📖 For detailed ESPHome documentation, configuration variants, building instructions, and troubleshooting, see the ESPHome Firmware Guide.
ESPHome configs are available in the firmware/esphome/ folder, organized by hardware variant. All devices support multiple firmware configurations:
- Standard Media Player - Full Home Assistant integration with TTS, announcements, and audio effects
- Snapclient - Synchronized multi-room audio with 18-band equalizer (software DSP)
- Sendspin - ESPHome-native multi-room playback (experimental)
- Voice Assistant - Local wake-word voice assistant for Home Assistant's Assist pipeline (ESP32-S3 boards only)
All configurations use the ESP-IDF framework (preferred over Arduino) for better audio performance and stability. Each hardware variant has its own directory with device-specific pinouts and features:
- 1-hifi-esparagus/ - PCM5100 DAC configurations
- 2-loud-esparagus/ - Dual MAX98357A DAC configurations
- 3-louder-esparagus/ - TAS5805M DAC with DSP
- 4-amped-esapragus/ - PCM5100 + TPA3110/TPA3118/TPA3128 amp
- 5-audio-brick/ - TAS5825M DIN-rail module (ESP32)
- 5-audio-brick-s3/ - TAS5825M DIN-rail module (ESP32-S3)
- 8-hifi-esparagus-s3 - PCM5100 DAC with mic and RGB LED (ESP32-S3)
- 9-audio-brick-dual-s3 - Dual TAS5825M DAC on the DIN-rail enclosure (ESP32-S3)
- 11-amped-esapragus-plus-s3 - PCM5122 DAC + TPA3118 amp, with mic, rotary encoder, and optional TFT (ESP32-S3, early access)
- 12-louder-esparagus-plus-s3 - TAS5825M DAC with built-in DSP, with mic, rotary encoder, and optional TFT (ESP32-S3, early access)
Snapclient multi-room playback (experimental)
Snapclient configurations provide synchronized multi-room audio with advanced DSP controls (18-band equalizer). See the ESPHome Firmware Guide for detailed information.
Available in all hardware variant directories:
*-snapclient.yamlconfigurations in each device folder
Sendspin multi-room playback (experimental)
Starting December 2025, the new Sendspin protocol became available for multiroom playback. Although it is in the very early stage of development, it promises really good audio sync and a set of really interesting features, like visualization support and server-controlled DSP. See the ESPHome Firmware Guide for detailed information.
Available in all hardware variant directories:
*-sendspin.yamlconfigurations in each device folder
Pairing with Music Assistant: Music Assistant 2.11 and newer can pair with a Sendspin player and may ask for a pairing code. The code appears in Home Assistant as the device's Sendspin Pairing Code sensor. Pairing is optional: unpaired (guest) playback keeps working as before. See Pairing with Music Assistant for the steps.
Voice Assistant (ESP32-S3 only)
Local, off-grid voice assistant configurations bring on-device wake-word detection and Home Assistant's Assist pipeline directly to the device, without depending on cloud services. See the ESPHome Firmware Guide for detailed information.
Available on ESP32-S3 boards with an I2S microphone (currently 8-hifi-esparagus-s3, 5-audio-brick-s3, 11-amped-esapragus-plus-s3, and 12-louder-esparagus-plus-s3):
*-voice-assist.yaml- Voice assistant with local media player*-voice-assist-sendspin.yaml- Voice assistant combined with Sendspin multi-room playback
References:
Install steps
Install instructions
| Step | Screenshot |
|---|---|
| Add ESPHome Addon Navigate to HA Settings > Addons > Add Addon Search for SSH and install it. Enable Show in sidebar switch while you there |
|
| Prepare Esparagus for ESPHome onboarding Use Web Flasher to flash stock ESPHome into device |
|
| Onboard Esparagus ESPHome device into HA Go to the HA ESPHome page, and you should be able to find a new device. You need to onboard it with the below config (feel free to change names) This will take a moment or two |
|
| Validate device in the ESPHome | |
| Add ESPHome Integration Navigate to HA Settings > Devices & services > Integrations. Click the big + ADD INTEGRATION button, look for ESPHome, and click to add it. It should discover and add ESPHome media devices based on the previous step |
|
| Use your media device in the HA | |
| Use your media device in the MA Add Music Assistant HA MediaPlayers provider to discover new Media device |
The latest changes in the ESPHome (deprecation of the custom components) triggered a work to implement an external TAS5805M DAC ESPHome component. It took some time, but this driver implements a few very important features of the TAS5805M DAC that can not only be used in the device configuration but also in various automations and complex logic. Worth noting:
- Possibility to configure Analog Gain (depending on the power supply you have, more details here) |
- Advanced digital volume configuration (set minimum, maximum, and step value)
- Automatic powersave modes based on playback state
- DAC mode: 2 channel, or 1 channel bridged mode (more details here)
- Mixer mode: MONO, STEREO, INVERTED, LEFT, RIGHT (more details here)
- My favorite: 15 band equalizer with [-15 dB .. +15 dB] range, which is an absolute treat to configure your speakers to your audio taste
- For the first time: read and reset fault states, no need to reboot the device. Not only reports them back to HA, but also example of automatic correction is provided (slowly reduce volume on overheat)
We have some plans for further development of the ESPHome driver, implementing subwoofer and satellite profiles (for 2.1 and bi-amp configs), enabling soft-clipping, and perhaps even unleashing the power of all BQ-parameters (to enable speaker-specific compensation of the DAC). Stay tuned!
Home Assistant: Snapcast
Snapcast is a multi-room audio player that synchronizes playback across multiple devices, ensuring that audio streams play simultaneously in perfect sync. It consists of a server, which distributes audio streams, and clients, which receive and play the audio. There is a snapcast fork that was created to implement Esparagus-specific configuration on top of the ESP32 Snapcast client. This allows us to build flexible and extendable setups connected to various sources, like Mopidy, MPD, or Home Assistant.
Install instructions
| Step | Screenshot |
|---|---|
| Flash Snapcast to the Esparagus board using web-flashing tool |
|
| Enable Snapcast in the MA Got to the Ma and enable Snapcast provider. Your speaker will be discovered automatically, as long as it is running |
|
| Use your media device in the MA Play your audio into new device |
|
| Use a group of speakers for multi-room setup In the MA settings > Players create a new group player and add as many Eparagus players as you need. Use that group speaker to get a synced audio |
As of mid-2025 work is ongoing (1, 2) to add snapcast component to ESPHome. This is based on the original implementation done by CarlosDerSeher. This has the benefit of enabling all the DAC features implemented by the ESPHome driver. At the moment of writing, there are quite a few issues to be solved in the code before it can be merged, but having tested this myself on a few S3-based boards such as Louder-Esparagus and Louder-ESP32 boards, I can say it is stable and works really well. Also
- This is the only implementation that works with ESP32-S3 (exciting!)
- This implementation allows using advanced TAS5805M DAC features available in the Esphome driver, like bridge mode and 15-band EQ. If you have Home Assistant already, that's no brainer
Home Assistant: HiFi-Esparagus-S3
Recent ESPHome developments show more and more promise in supporting ESP32-S3 boards, which are cheaper, more powerful, and more feature-rich than classic ESP32. The Sendspin, for example, works much better on the S3, and voice-assist is only available on the S3. For that reason, I decided to ensure that every board is available in both Classic-ESP32 and ESP32-S3 variants - keeping the classic version mainly for Classic Bluetooth audio support.
One of the features of the S3 is a USB host, which allows an alternative way to flash the board - S3 supports both the serial method (same as classic ESP32, TX, RX, and GPIO0/RESET dance), and the USB-only method. This allows for saving on a USB-Serial converter chip, let alone extra possibilities of the USB port, such as a built-in debug interface.
One of the pitfalls of that is you need to understand your Serial interfaces really well, since now you have both hardware Serial on pins 43/44 and a USB Serial interface (Assuming it is enabled in SDKCONFIG, and that's an important distinction!). As a consequence, you may not have your Serial interface at all times, as described here, and your software might use an interface that is not configured.
Revision G: early prototype
To avoid issues with flashing ESP32-S3 for the first time (since it is not that convenient for a cased device), I decided to try using Hardware serial on the HiFi-Esparagus-S3, so you're guaranteed to be able to flash the device without the need to disassemble. As it turned out, ESPHome default configuration assumes USB Serial, so after flashing, the hardware serial is not communicated with, the WiFi onboarding is not working, and therefore the standard flashing process is not working.
While I decided to get back to the standard USB-only approach in the next revision, I'll put below the workaround steps to onboard the device using an alternative method
Install instructions
- Navigate to your ESPHome dashboard in Home Assistant and add a new device manually; it doesn't have to be connected at this moment. You should use the default ESP32-S3 configuration.
- Download the binary from the Dashboard, using the "Plug into this computer" option.
- Navigate to web.esphome.io and connect to the HiFi-Esparagus-S3 device. Instead of flashing the default configuration, use the "INSTALL" option and the binary exported in the previous step
- When the process completes, the device will go online, connect to wifi automatically, and it can be managed using ESPHome Dashboard as normal. Note that serial logs "on the wire" are still limited, but OTA logging will work as usual.
- Using ESPHome Dashboard, you may now flash the selected configuration, selected from this folder
The above issues can be solved by updating the default SDKCONFIG settings in the ESPHome config, but I'm still in the process of finding the right combination.
Revision H: current distribution
The latest revision of the HiFi-Esparagus-S3 is now using the USB-only flashing method, which is more standard and works with all ESPHome configurations. To make sure you don't have to disassemble the device, it comes with ESPHome pre-flashed, which requires wifi configuration and Home Assistant integration. While I'm looking into the possibility of an easy-to-use Voice PE-like experience for the S3-based devices, I still recommend using the web-flashing method, which would work normally with the device and not require any disassembly.
Squeezelite-ESP32
Squeezelite-ESP32 is a multimedia software suite that started as a renderer (or player) of LMS (Lyrion Music Server, formerly Logitech Media Server). Now it is extended with
- Spotify over-the-air player using SpotifyConnect (thanks to cspot)
- AirPlay controller (iPhone, iTunes ...) and enjoy synchronization multiroom as well (although it's AirPlay 1 only)
- Traditional Bluetooth device (iPhone, Android)
And LMS itself
- Streams your local music and connects to all major online music providers (Spotify, Deezer, Tidal, Qobuz) using Lyrion Music Server - a.k.a LMS with multi-room audio synchronization.
- LMS can be extended by numerous plugins and can be controlled using a Web browser or dedicated applications (iPhone, Android).
- It can also send audio to UPnP, Sonos, Chromecast, and AirPlay speakers/devices.
All Esparagus boards are tested with Squeezelite-ESP32 software. It can be flashed using nothing but a web browser. You can use Squeezelite-ESP32 installer for that purpose.
How to flash and configure
Use Esparagus Squeezelite-ESP32 installer to flash the firmware. It has been preconfigured to work with Esparagus boards and will configure all hardware automatically.
Install instructions
| Select correct device first | |
| Connect the device to the USB port and select it from the list | |
Press Flash and wait around 2 minutes |
|
| (Optional) You may enter the serial console to get more information, like device IP and boot logs | |
Device is in recovery mode. Connect to squeezelite-299fac wifi network with squeezelite password (your network name suffix will be different) |
|
| When redirected to the captive portal let the device scan wifi network and provide valid credentials | |
| You can use provided IP address (http://192.168.1.99/ on the screenshot) to access settings page | |
| (Optional) You may change device names to something close to your heart | |
| Exit recovery |
You can use it now
| Bluetooth | Spotify Connect | AirPlay | LMS Renderer |
|---|---|---|---|
Squeezelite-esp32 reboots and connection drops
The default configuration of the squeezelite-esp32 runs automatic discovery of the available LMS server nearby. In fact, it depends on it so much that in case the LMS service is not found on the network, it will reboot automatically (every few minutes).
In many cases, if you use squeezelite for AirPlay and Spotify only and don't have an LMS server, you need to disable discovery altogether. Currently, disabling Squeezelite in the GUI does not work correctly; it places too many spaces between the commands in the autoexec command. Following autoexec1 NVS setting can be used to disable it:
squeezelite -o i2s -s -disable -b 500:2000 -C 30 -d all=sdebug
AirPlay 1 & 2
Squeezelite's built-in AirPlay is a first-generation implementation. rbouteiller/airplay-esp32 is a standalone, open-source AirPlay 1 & 2 receiver for the ESP32 family — actively developed, with great work done by the community despite the lack of help from Apple.
Every Esparagus board is supported: HiFi Esparagus (ESP32 and ESP32-S3), Loud Esparagus, Louder Esparagus, Louder Esparagus Plus (S3), Amped Esparagus, Amped Esparagus Plus (S3), and the Esparagus Audio Brick (both the single-DAC ESP32/ESP32-S3 revisions and the Dual DAC). All of them except Amped Esparagus Plus (S3) are flashable straight from a browser, with no toolchain required; that one is build-from-source for now, see below. Current features:
- AirPlay 1 & 2 — appears natively in Control Center and any AirPlay app, with PTP-based multi-room sync
- Sendspin (experimental) — an open multi-room protocol renderer sharing the same output path, DSP, and volume control as AirPlay
- Bluetooth A2DP on classic ESP32 revisions — phones and laptops can stream directly whenever AirPlay is idle (ESP32-S3 revisions have no Bluetooth Classic radio)
- On-device display — the OLED on Louder Esparagus and the Audio Brick, or the color TFT on the Audio Brick Dual, Louder Esparagus Plus (S3) and Amped Esparagus Plus (S3), shows track metadata and progress for AirPlay, Bluetooth, and Sendspin alike
- Rotary encoder on Amped Esparagus, Louder Esparagus Plus (S3) and Amped Esparagus Plus (S3) — turn for volume, click for play/pause
- USB audio (UAC) — ESP32-S3 revisions can be built as a USB sound card; the Audio Brick Dual already ships a ready-to-flash UAC build
- PCM5122 hardware volume on Amped Esparagus Plus (S3) — the I2C-controlled DAC is configured at boot and volume is applied by the DAC's own digital attenuator instead of software scaling; the amplifier is unmuted only while audio is playing
- Full DSP control on Louder Esparagus, Louder Esparagus Plus (S3) and the Audio Brick — the TAS5805M/TAS5825M's on-chip EQ is fully exposed: 15 cascaded biquad sections per channel/amplifier, each an arbitrary peaking filter, shelf, high/low pass, band pass, notch, phase shift, or raw coefficients, plus a crossover builder (and, on TAS5825M units, full PurePath Console 3 tuning replay)
Louder Esparagus Plus (S3) is supported via the esparagus-louder-s3 build, which has a ready-to-flash image in the web-installer (the Esparagus Louder S3 card). It covers AirPlay 1 & 2 and Sendspin through the TAS5825M with full DSP control, the 320×240 ST7789 TFT for now-playing, the rotary encoder, RGB LED and W5500 Ethernet. The onboard microphone isn't used by the AirPlay firmware.
Amped Esparagus Plus (S3) is supported via the amped-esparagus-plus-s3 build: AirPlay 1 & 2 and Sendspin through the PCM5122 DAC with hardware volume, rotary encoder for volume (turn) and play/pause (click), RGB LED, W5500 Ethernet, and the 320×240 ST7789 TFT for now-playing. There's no prebuilt web-installer image yet, so build it with PlatformIO as described below. The firmware targets the rev H1+ pinout (the DAC's I2C pins are swapped on rev H). The PCM5122's own DSP (EQ/DRC) isn't exposed in the web UI, and the onboard microphone isn't used by the AirPlay firmware.
Amped Esparagus (ESP32) is supported on rev M only. Earlier revisions (E–K) use a different pinout, and there's no build for them. On rev M, the TFT isn't driven by the AirPlay firmware; the rotary encoder works.
TAS58xx DSP: full parametric EQ and crossover control
On Louder Esparagus, Louder Esparagus Plus (S3) and the Esparagus Audio Brick, AirPlay's web UI exposes the TAS5805M/TAS5825M's on-chip DSP in full, not just a basic tone control:
- 15 biquad (BQ) filters per channel, usable as a full 15-band parametric equalizer
- Bi-amp filter configuration for 2-way speaker systems — split the signal between tweeter and woofer with independent filter chains per amplifier (and, on the Audio Brick Dual, per DAC)
- Low-pass filtering for subwoofer tuning and bass enhancement
- Generic filters for speaker and room equalization — peaking filters, shelf filters, and EQ sections with a configurable Q-factor, applied per channel individually or to both at once
| A | B |
|---|---|
Work in progress: REW (Room EQ Wizard) integration, to drive automatic room-correction algorithms directly from a measured response.
How to Get Started
The easiest way is the browser-based web-installer — plug your board in over USB and flash it directly from desktop Chrome, Edge, or Opera. No toolchain, no downloads, no command line. Pick the card that matches your board exactly, because the pinouts differ. Once it's installed, unplug and re-plug the board so it boots into setup mode. Each card also has an Install beta button that tracks the project's staging branch; beta builds are untested on hardware, and reinstalling the release build restores the board.
If you want to build it yourself — to try a board without a prebuilt image yet, or to change build settings — you can use PlatformIO. Install vscode and the platformio plugin, then pull the code:
git clone --recursive https://github.com/rbouteiller/airplay-esp32 && code airplay-esp32
When VSCode loads, find the PlatformIO tab in the left navigation and select the environment matching your board. Then run the Upload Filesystem Image and Upload and Monitor tasks, with the board connected over USB. The filesystem step is required: without it, the web UI and the setup access point are missing.
| Board | Environment | Web-installer card |
|---|---|---|
| HiFi Esparagus (ESP32) | hifi-esparagus-bt |
HiFi-Esparagus |
| HiFi Esparagus (ESP32-S3) | hifi-esparagus-s3 |
HiFi-Esparagus-S3 |
| Loud Esparagus | loud-esparagus-bt |
Loud-Esparagus |
| Louder Esparagus | esparagus-louder-bt |
Esparagus Louder |
| Louder Esparagus Plus (S3) | esparagus-louder-s3 |
Esparagus Louder S3 |
| Amped Esparagus (rev M) | amped-esparagus-bt |
Amped-Esparagus |
| Amped Esparagus Plus (S3) | amped-esparagus-plus-s3 |
none yet, build from source |
| Esparagus Audio Brick (ESP32) | esparagus-audio-brick-bt |
Esparagus Audio Brick |
| Esparagus Audio Brick (ESP32-S3) | esparagus-audio-brick-s3 |
Esparagus Audio Brick S3 |
| Esparagus Audio Brick Dual | esparagus-audio-brick-dual-dac (or esparagus-audio-brick-dual-uac for USB audio) |
Esparagus Audio Brick Dual (+ USB audio) |
The -bt environments include Bluetooth A2DP; drop the suffix for a build without it. See the project's build environments page for the full list. From the command line, the same two steps are:
pio run -e amped-esparagus-plus-s3 -t upload
pio run -e amped-esparagus-plus-s3 -t uploadfs
The PlatformIO magic happens now, pulling all the dependencies, platform files, and frameworks, and building a binary for your board. Once it is flashed, all that is left to do is configure WiFi credentials using the built-in access point or connect Ethernet, if you're looking for lower latency.
Standalone Snapclient
Snapcast is a multi-room audio player that synchronizes playback across multiple devices, ensuring that audio streams play simultaneously in perfect sync. It consists of a server, which distributes audio streams, and clients, which receive and play the audio.
Standalone Snapclient is now available for all Esparagus boards. The main implementation (ESP32 Snapclient) is an ESP32 port of the Snapcast client. An installer repository maintained by me (Esparagus Snapclient) contains pre-configured settings for all Esparagus boards as well as a web-installer project.
The web-installer allows you to flash snapclient firmware using nothing but a browser - no additional software required. Once flashed, the Snapcast server will be auto-discovered on the same network (it can be hosted on Music Assistant, a standalone Raspberry Pi, or any other compatible server).
Snapclient benefits
- Perfect multi-room synchronization - All speakers play in perfect sync across multiple rooms, similar to Sonos but with better accuracy
- Zero configuration - Auto-discovers Snapcast servers on the network
- Browser-based flashing - No need to install any tools, flash directly from the web
- Low latency - Optimized for minimal audio delay
- Flexible server options - Works with Music Assistant, standalone servers, or DIY Raspberry Pi setups
- Cost-effective - Build a whole-home audio system at a fraction of commercial solutions
- Possibility to mix up client with diffrent architecture - ESP32 side-by-side with Raspberries, etc.
Hardware
| Esparagus HiFi MediaLink | Loud Esparagus | Louder Esparagus | Amped Esparagus | |
|---|---|---|---|---|
| Base variant | coming soon | |||
| NOPD variant | NA | NA |
Please visit the hardware section for board schematics and PCB designs. Note that PCBs are shared as multi-layer PDFs as well as Gerber archives.
Boxed
| Esparagus HiFi MediaLink | Loud Esparagus | Louder Esparagus | Louder Esparagus NOPD | Amped Esapragus |
|---|---|---|---|---|
PCB
| Esparagus HiFi MediaLink | Loud Esparagus | Louder Esparagus | Amped Esparagus |
|---|---|---|---|
BTL and PBTL mode (Louder and Amped boards)
The TAS5805M DAC DAC used on Louder boards, and the TPA3110D2 / TPA3118 / TPA3128 amplifiers used on Amped boards support PBTL (Parallel BTL), also known as bridge mode. In practice, this lets the amplifier deliver roughly double the current capability into a single speaker, enabling higher output power when paired with a lower-impedance load.
A common misconception is that switching to PBTL will automatically double the power into the same speaker you used in normal 2-channel BTL/stereo mode. It won’t. Even in stereo BTL operation, each channel already drives the speaker across the full supply voltage (VCC), so the power is limited by both the supply voltage and the current capability of each output driver.
In PBTL mode, both channels are paralleled and drive the same signal, effectively doubling the current capability. This allows you to safely connect a lower-impedance speaker, which is what actually increases the possible output power. If you keep the same speaker impedance you used in stereo mode, you only balance the load between the drivers — you do not gain additional output power.
Summary:
- Use 3–4 Ω speakers in PBTL mode for optimal performance
- Use 6–8 Ω speakers in standard BTL (stereo) mode
This ensures the amplifier can operate efficiently and deliver its intended power without overloading the output drivers.
In either scenario, you'd need to inform DAC/AMP to change modulation for PBTL mode (via I2C command or physical pins) and connect speakers "across" channels, so both channel drivers can contribute. This can be done in 2 alternative ways:
| Desc | Image |
|---|---|
| Bridge outputs before the speaker connector either with jumpers or solder bridges, use (either) single wire for each speaker terminal | |
| Wire both outputs of the speaker terminals together |
Power figures (comparison of BTL and PBTL modes)
| DAC | BTL (4Ω) | BTL (8Ω) | PBTL (3-4Ω) |
|---|---|---|---|
| TAS5805M | |||
| TPA3110 | |||
| TPA3118/TPA3128 |
Amped TPA3110 Amp
Physical connections that need to be done on the board (using solder bridges - normally open bridges to be closed for PBTL mode).
Both drivers will play the RIGHT channel signal
Louder TAS5805M DAC
The most important step is to inform the Amp to change the modulation in the first place via the I2C command. In the case of sqeezelite DAC control set value is the following:
dac_controlset: `{"init":[{"reg":3,"val":2},{"reg":3,"val":3},{"reg":2,"val":4}],"poweron":[{"reg":3,"val":3}],"poweroff":[{"reg":3,"val":0}]}`
compared to the default:
dac_controlset: `{"init":[{"reg":3,"val":2},{"reg":3,"val":3}],"poweron":[{"reg":3,"val":3}],"poweroff":[{"reg":3,"val":0}]}`
One can test audio with a single speaker connected between L and R terminals (plus on one side and minus on the other). Optionally, jumpers on the board will effectively connect the second driver in parallel, doubling the current capability.
Important point, this simple setup will send only RIGHT channel to the output, that’s just how the basic DAC setup works. In case you want true mono (LEFT + RIGHT)/2 or pure RIGHT or LEFT audio, you need to apply a mixer configuration. Full config looks like below (thanks @frdfsnlght for helping me here)
Single speaker (PBTL mode), TRUE MONO mix (L+R)/2:
{"init":[{"reg":3,"val":2},{"reg":3,"val":3},{"reg":2,"val":4},{"reg":0,"val":0},{"reg":127,"val":140},{"reg":0,"val":41},{"reg":24,"val":[0,64,38,231]},{"reg":28,"val":[0,64,38,231]},{"reg":32,"val":[0,0,0,0]},{"reg":36,"val":[0,0,0,0]},{"reg":0,"val":0},{"reg":127,"val":0}],"poweron":[{"reg":3,"val":3}],"poweroff":[{"reg":3,"val":0}]}
Single speaker (PBTL mode), RIGHT input only:
{"init":[{"reg":3,"val":2},{"reg":3,"val":3},{"reg":2,"val":4},{"reg":0,"val":0},{"reg":127,"val":140},{"reg":0,"val":41},{"reg":24,"val":[0,128,0,0]},{"reg":28,"val":[0,0,0,0]},{"reg":32,"val":[0,0,0,0]},{"reg":36,"val":[0,0,0,0]},{"reg":0,"val":0},{"reg":127,"val":0}],"poweron":[{"reg":3,"val":3}],"poweroff":[{"reg":3,"val":0}]}
Single speaker (PBTL mode), LEFT input only:
{"init":[{"reg":3,"val":2},{"reg":3,"val":3},{"reg":2,"val":4},{"reg":0,"val":0},{"reg":127,"val":140},{"reg":0,"val":41},{"reg":24,"val":[0,0,0,0]},{"reg":28,"val":[0,128,0,0]},{"reg":32,"val":[0,0,0,0]},{"reg":36,"val":[0,0,0,0]},{"reg":0,"val":0},{"reg":127,"val":0}],"poweron":[{"reg":3,"val":3}],"poweroff":[{"reg":3,"val":0}]}
Physical connections:
| Image | Legend |
|---|---|
| Stereo Mode - leave open | |
| Mono (PBTL) Mode, close horizontally | |
| (Option B) Close at the speaker |
Amped-Esparagus with TPA3118/TPA3128 amp
Originally, I used the TPA3110 amp with Amped Esparagus and Amped-ESP32 boards for its simplicity and availability. The only issue with TAP3110 is that it lacks the MUTE pin. It does have an STBY pin, but as it turned out, it is not pop-free, meaning each time you switch it on and off, the amp makes a loud pop in the speakers. I tried changing the level slowly, but it didn't help.
Help came with a newer TPA3128 amp with revision H of the Amped-ESP32
- It does have a true MUTE pin, and now it is software-controlled on Amped-ESP32. It means that the board starts dead-quiet, and it stays quiet when the audio is paused
- MUTE pin also disables PCM5100 DAC on rev H, so line-out is also dead quiet (not that it was noise before, but why not?)
- It can work with 4.5V, so it plays even when powered from a simple USB-C, similar to Louder-ESP32. TPA3110 needs at least 8V to spin up
- TPA3128 has a marginally better audio quality, as they say. I cannot hear the difference 😉
⚠️ TPA3128 boards default to 1SPW modulation, which causes audible pops when exiting MUTE and a quiet static noise afterward. See errata: TPA3128 1SPW modulation pop and static noise issue for a permanent hardware fix.
On the latest revisions I'm switching over to the TPA3118 amp, replacing TPA3128 for a few reasons:
- MUTE schematic is updated to slow down voltage ramping speed on turn on – this helps reduce pop noise to “I can no longer hear it” level
- Modulation is hardwired to BD (1SPW is more efficient, but caused pops as well)
- Gain is fixed at a 20dB level – also helps with pops
- I added a band-pass input filter network to make sure it is noise-free.
TAS5805M DSP capabilities
The TAS5805M DAC has a very powerful DSP, which allows doing lots of data processing on the silicon, that otherwise would take a considerable part of your CPU time. As of the moment of writing, it is mostly an undiscovered part of the DAC, since unfortunately, TI is not making it very easy for developers. (A minute of complaint) To be more specific, you need to be (A) a proven hardware manufacturer to get access to the configuration software, namely PurePath. (B) You need to apply for a personal license and go through an approval process, and after a few weeks of waiting, you get access to the DAC configuration you asked for. (C) You find out that it will work with TI's own evaluation board, which will set you back $250 if you are able to find one. Otherwise, all you have is a list of I2C commands that you need to transfer to the device at your own cost. No wonder no one knows how to use it.
But moanings aside, what do you get after:
- Flexible input mixer with gain corrections
- 15 EQ with numerous filter configurations
- 3-band Dynamic Range Compression with flexible curve configuration
- Automatic Gain Limiter with flexible configuration
- Soft clipper
- and a few other things
At this moment, it is very experimental. In the perfect world, you should be able to adjust all of those settings to make your speaker-enclosure setup work the best it can, and even apply your room factors into the equation. But with the above disclaimer, I can only delivera limited set of configurations corresponding to the most common use cases:
- Stereo mode with enabled DRC (Loudness) and AGL settings
- Full range Mono mode with DRC (Loudness) and AGL settings
- Subwoofer Mono mode with a few filter frequency options
- Bi-Amp configuration with a few crossover frequency options
All of the above are available right now for experimentation. I'm keen to hear your feedback while I move forward with porting this to other software options
- - Bare I2S TAS5805M library
- - espragus-snapclient software with self-hosted UI (WIP)
- - ESPHome driver with UI in the Home Assistant
- - squeezelite-esp32
Louder and Amped Esparagus power considerations
The power adapter requirements depend on the speaker power rating and impedance.
Since the amplifier (DAC) operates at roughly 80% efficiency, use the following method to determine the minimum voltage and current required.
Calculate the Required Voltage (per channel)
Take the rated power of one speaker (e.g., 10 W for a 2×10 W setup).
Take the speaker impedance (e.g., 8 Ω).
Compute the RMS voltage needed to deliver that power:
V_RMS = sqrt(P * R)For a 10 W, 8 Ω speaker:
V_RMS = sqrt(10W * 8Ohm} = ~9VThis RMS value is your minimum supply voltage per channel.
Calculate the Required Current (including efficiency)
Use the RMS voltage from Step 1.
Compute the output current per channel:
I_out = V_rms / RFor 9 V RMS into 8 Ω:
I_out = 9V / 8Ohm = ~1.2AAdjust for amplifier efficiency (≈ 80%) to determine input current.
Multiply by the number of channels (e.g., 2 channels).
Round up for safety and headroom.
Example:
Two 10 W, 8 Ω speakers → ≈ 1.2 A per channel × 2 ≈ 2.4 A, rounded up to 3 A total.
Final Result
For a pair of 10 W / 8 Ω speakers, you need a power adapter rated for at least:
- Voltage: ~9 V
- Current: 3 A total
- Power: 25..30 W
It is not recommended to go far beyond the voltage your speakers can handle; otherwise, the amp will blow your speakers in no time. Using 12V power source with 9V requirement probably will be totally fine, but getting 20V power source for 10W speakers is a waste of budget and added risk.
Power Delivery-enabled adapters
The Louder and Amped Espragus can be quite power-hungry devices; simply using 5V over the USB-C is clearly not an option. The intention for using a PD-enabled power adapter to run the board is simplicity and ease of use for customers. At maximum, you can supply a 20V 3.25 Amp capable power source, which is common for modern laptops (Dell, HP, and Lenovo have all tested and work perfectly). However, pretty much any 9V/12V/20V PD-enabled power adapter will work, most typically phone chargers with a quick charge option. The smallest of the family is a 25W model, which is plenty enough for a small living space.
The interesting part was all the phone and laptop chargers I used for the test (around five different makes of each), which sounded great, with no hissing, no popping. (Apart from the Apple ones, they didn’t work. Likely, they have an Apple-specific PD protocol). This is probably because modern devices have become so noise-sensitive that manufacturers have been forced to do good work on noise levels.
Tested and perfectly working models are (others may be available)
Because USB-PD is a bit of the Wild West in terms of standards, sometimes not everything goes as designed. Some people have run into this with power adapters that aren’t fully PD-standard compliant. In most cases, the worst that happens is the PD chip doesn’t trigger the 20V mode, so the Esparagus runs at around 5W per channel (which you might not even notice). One person reported that an older adapter somehow triggered just 1V on the USB-C power line, shutting down the Esparagus shortly after plugging in. Thankfully, we’ve confirmed that it works correctly with newer laptop adapters.
Louder and Amped Esparagus NOPD
The “hammer-style” solution I came up with is a new NOPD version of the Louder Esparagus that lets you use a barrel power jack to supply raw voltage directly. The catch? Standard 2mm pins can’t handle high currents, so I’ve gone with a barrel jack with thick middle pin with a 2.5mm pin — it’s a bit unusual but still common enough in the laptop world. Also, it is much more sturdy and resistant to desoldering.
With this setup, you can supply more than the 20V limit of PD, giving you a bit more power for the speakers. You probably won’t hear much difference (thanks to the way human hearing works), but it could help larger speakers that need a bit more to really “open up." Other than that, the NOPD version works just like the PD version — no software changes are needed.
Louder and Amped Esparagus DUAL
In May 2025, I came up with a power mux schematic that is designed to automatically switch between an external power source and a UCB-PD-enabled power source, depending on which one provides higher voltage. So you can either use an external power adapter over the barrel jack and use USB-C for programming and debugging, or simply use USB-C for both power and data.
This eliminates the need for PD and NOPD revisions, so I will slowly replace all products with a single DUAL option.
Because of the limited space on the back panel, I moved the IR reader and RGB LEDs (now eight of them) to the front panel, offering a semi-transparent optional panel, in case you're planning to use them.
Efficiency
I performed Louder-ESP32 board load tests to analyze the thermal stability of the board under maximum load. These tests output a 100Hz sin-wave with a close to rail-to-rail signal (adjusting volume and gain) into an 8-Ohm load (both BD and 1SPW modulation). I started testing with bare naked DAC. As soon as I reached the point where DAC was entering thermal shutdown, I added a small radiator on top, and once more, a larger radiator on the back side (where the thermal pad is connected to the ground plane)
| SIN wave, 100 Hz | BD-mode | 1-SPW mode | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| VCC, V | Speaker voltage | Ratio | Speakers power RMS, W | Consumed power, W | Efficiency, % | Losses, W | Naked chip, 1min run | Heat Sink 10x15mm (top cover) | Heat sink 32x32mm(back side) | Speaker voltage | Speakers power RMS, W | Consumed power, W | Efficiency, % | Losses, W | Naked chip, 1min run | Heat Sink 10x15mm (top cover) | Heat sink 32x32mm(back side) |
| 5 | 3.09 | 1.62 | 2.4 | 3.2 | 75% | 0.8 | stable | - | - | 3.09 | 2.4 | 3.1 | 76% | 0.7 | stable | - | - |
| 6 | 3.47 | 1.73 | 3.0 | 4.0 | 75% | 1.0 | stable | - | - | 3.49 | 3.0 | 3.9 | 78% | 0.9 | stable | - | - |
| 7 | 3.92 | 1.78 | 3.8 | 5.0 | 77% | 1.2 | stable | - | - | 4.05 | 4.1 | 5.4 | 77% | 1.3 | stable | - | - |
| 8 | 4.36 | 1.83 | 4.8 | 6.1 | 77% | 1.4 | stable | - | - | 4.37 | 4.8 | 5.9 | 80% | 1.2 | stable | - | - |
| 9 | 5.49 | 1.64 | 7.5 | 9.4 | 80% | 1.9 | stable | - | - | 5.49 | 7.5 | 9.2 | 82% | 1.6 | stable | - | - |
| 10 | 6.48 | 1.54 | 10.5 | 12.8 | 82% | 2.3 | stable | - | - | 6.48 | 10.5 | 12.7 | 83% | 2.2 | stable | - | - |
| 11 | 6.90 | 1.59 | 11.9 | 14.7 | 81% | 2.8 | stable | - | - | 6.90 | 11.9 | 14.2 | 84% | 2.3 | stable | - | - |
| 12 | 7.33 | 1.64 | 13.4 | 16.9 | 80% | 3.4 | stable | - | - | 7.33 | 13.4 | 16.4 | 82% | 3.0 | stable | - | - |
| 13 | 7.64 | 1.70 | 14.6 | 18.8 | 78% | 4.2 | stable | - | - | 7.66 | 14.7 | 18.3 | 80% | 3.7 | stable | - | - |
| 14 | 8.74 | 1.60 | 19.1 | 23.9 | 80% | 4.8 | stable | - | - | 8.74 | 19.1 | 23.2 | 82% | 4.1 | stable | - | - |
| 15 | 9.22 | 1.63 | 21.3 | 27.0 | 79% | 5.7 | OT warning | stable | - | 9.21 | 21.2 | 25.8 | 82% | 4.6 | stable | - | - |
| 16 | 9.70 | 1.65 | 23.5 | 30.0 | 78% | 6.5 | shutdown | OT warning | stable | 9.70 | 23.5 | 28.7 | 82% | 5.2 | OT warning | - | - |
| 17 | 10.28 | 1.65 | 26.4 | 33.0 | 80% | 6.6 | - | shutdown | OT warning | 10.29 | 26.5 | 33.0 | 80% | 6.5 | OT warning | OT warning | - |
| 18 | 11.40 | 1.58 | 32.5 | 41.0 | 79% | 8.5 | - | - | shutdown | 11.37 | 32.3 | 40.2 | 80% | 7.9 | shutdown | OT warning | OT warning |
Conclusion: Long-term operation without an additional heatsink is only possible up to VCC=15V. Adding a passive heatsink only helps to sustain 1-2 more volts; more power requires active cooling.
Speakers selection
When choosing speakers, focus on realistic power ratings rather than the often-inflated numbers printed on labels.
A good reference point is 10 watts at 1% THD (Total Harmonic Distortion) — this provides clean, pleasant audio without noticeable distortion. Many manufacturers, however, market their speakers based on higher distortion levels or theoretical peaks: • Nominal Power (e.g., 20W) — This is often measured at around 10% THD, which produces harsh, phone-like distortion. • Rated or “Maximum” Power (e.g., 40W) — The level a speaker can handle continuously, but without limiting distortion; sound quality is not measured. It is simply a scenario where a speaker is used as a room heater. • Peak Power (e.g., 80–100W) — The absolute maximum a speaker can withstand for a very short burst (milliseconds), not suitable for sustained playback.
In short, when a speaker claims “100W,” it typically translates to about 10W of clean, listenable power in real use. Always prioritize low-distortion ratings over inflated wattage numbers for the best listening experience.
OLED screen (soldered in)
All boards have an OLED screen header. Originally, I had plans to have it as a feature (It is quite nice when using squeezelite since you can get quite a lot with existing plugins and settings). Later on, I disregarded this as a generally available feature, since it is quite a time-consuming task to solder it in place, and I had no really good idea how to fix the screen in place. Despite that, the header is present on every board revision, and it works.
At this moment, one can solder the compatible OLED screen and use it with the transparent front panel as a bedside clock or to display the current track (I prefer smoked glass for the final look). It takes a few minutes for a skilled engineer to solder it in place and a small strap of double-sided adhesive to fix it mechanically.
| A | B | C |
|---|---|---|
The final result is a nice and finished look
OLED models
Most of the 64x128 pixel OLED screen models that are very common among hobbyists will use a compatible 30-pin ribbon connector with 0.7mm pin spacing, and they are really easy to desolder.
You can also find bare screens if you spend a minute. Below are the tested models, although there are plenty more out there.
| Model | Image |
|---|---|
| 0.96" OLED Display 128X64 SSD1306 | |
| 1.3" OLED Display 128X64 SH1106 |
OLED screen (solder-less)
Starting May 2025, all boards (starting from DUAL revision) will have an OLED screen with a solder-less connector. I managed to find the right model of the screen and corresponding connector for a reasonable price, and decided to equip every board with the connector as standard.
At this moment, one can simply throw in a compatible OLED screen and use a small strap of double-sided adhesive to fix it mechanically. The final result is a nice and finished look
| A | B | C |
|---|---|---|
The final result is a nice and finished look
I admit, mechanically it might be a challenge to secure it in place the right way, and I'm looking for a better solution.
OLED models
Most of the 64x128 pixel OLED screen models that are very common among hobbyists will use a compatible 30-pin ribbon connector with 0.5mm pin spacing, and they are really easy to find.
| Model | Image |
|---|---|
| 1.3" OLED Screen 128x64 SH1106 30Pin |
Squeezelite display configuration
Although you're free to use it your way, using the pinout above, I'd expect the most common case to be squeezelite, thus here are the steps you'd need to do
| # | Description | Image |
|---|---|---|
| 1 | Update NVS settings in the Web UI (switch to recovery mode first) display_config = SPI,width=128,height=64,cs=15,reset=32,driver=SH1106,HFlip,VFlip spi_config = mosi=23,clk=18,host=2,miso=19,dc=4 You may need to replace SH1106 with SSD1306 depending on your model. |
|
| 2 | In the LMS settings install the SqueezeESP32 plugin |
|
| 3 | Update each speaker's settings in the LMS, and navigate to Display settings |
TFT screen (solder-less)
Newer boards (starting from Audio Brick DUAL DAC, next new generation of Louder and Amped Esparagus) started using a TFT screen instead of OLED. The main motivation for this change is Sendspin support for album art display, which is a great addition to the media center. The TFT panels are 2.0" and 2.4" models, both with 14-pin SPI solderless connectors. The 2.0" models fit almost perfectly into the new aluminum case for Amped/Louder Esparagus. The 2.4" model is a bit larger and can be used with an Audio Brick DUAL DAC or Louder-ESP32-Pro board (while the 2.0" model also fits).
TFT models
| Model | Image |
|---|---|
| 2.0" IPS TFT Display 240x320 ST7789 14Pin | |
| 2.4" IPS TFT Display 320x240 ST7789 14Pin |
Audio Brick details
The Audio Brick is designed with a DIN-rail mount option, making it suitable not only for hobby projects but also for structured and semi-industrial installations. By mounting directly in an electrical cabinet or distribution box, it becomes easy to wire, power, and manage multiple units in a clean and reliable way. Since each device drives two channels, you can scale simply by adding more Bricks — one per room, per zone, or per speaker as needed. This modular approach makes it practical for whole-home or even small commercial audio installs where consistency and neat wiring matter.
For added convenience, it uses plug-in connector pairs (not yet on the prototype), which simplify installation and allow quick replacement in case of maintenance or failure.
Relay Driver
The early design of the Esparagus series has an internal driver for external relays. It has a back-facing diode to shunt any coil-inducted currents. Driver is an open-drain output with the following states
More details
| Driver Pin State (IO21) | Output state | Relay connected between OUT and +5V |
|---|---|---|
| Floating (pulled low with 100K resistor) or LOW |
High impedance | INACTIVE (switched OFF) |
| HIGH | Pulled to GND | ACTIVE (switched ON) |
Schematics:
External relay can be connected directly between OUT and +5V pins (1st and 3rd pins, mid pin being GND)
Errata
- CH340C 5V level issue
- Amped Esparagus knob fixture
- TPA3128 1SPW modulation pop and static noise issue
Where to buy
You may support our work by ordering this product at Tindie
探索相关项目
加载中…


