ESP32 based streaming upgrade for your legacy stereo system
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.
Our Crowd Supply campaign to back the manufacturing of the Esparagus series boards was successfully funded, thanks to everyone who made that possible.
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 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 a difference to 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 HiFi MediaLink is designed specifically to run these great pieces of software and bring a 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.
HiFi Esparagus is a flexible, open-source audio platform designed to fit into both smart homes and custom audio projects.
| HiFi Esparagus | HiFi Esparagus S3 | |
|---|---|---|
| MCU | ESP32-WROVER-N8R8 | ESP32-S3-WROOM-N8R8 |
| DAC | PCM5100A 32-bit Stereo DAC -100 dB typical noise level |
PCM5100A 32-bit Stereo DAC -100 dB typical noise level |
| Output | Non-amplified stereo output, 2.1V RMS | Non-amplified stereo output, 2.1V RMS |
| IR reader | ✅ | ✅ |
| RGB LED | ✅ | ✅ |
| I2S Microphone | ❌ | ✅ |
| Flash/PSRAM | 8MB/8MB | 8MB/8MB |
| Connectivity | WiFi + BT4.2 + BLE + Ethernet | WiFi + BLE + Ethernet |
| Case | 80 x 50 x 20 mm Aluminum case | 80 x 50 x 20 mm Aluminum case |
| Power requirement | 5V from USB-C | 5V from USB-C |
| Software support | ||
| Squeezelite-ESP32 | ✅ | ✅ |
| Snapclient | ✅ | ✅ |
| ESPHome (HA) | ✅ | ✅ |
⚠️ 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 Esparagus
💡 Need only speakers output? Check out Loud Esparagus and Esparagus Echo
💡 Need more powerful DSP? Check out Louder Esparagus and Esapragus Audio Brick
💡 Looking for a more cost-efficient version? Check out HiFi-ESP32 / HiFi-ESP32-Plus
Audio streaming requires proper buffering to work; even with ESP32 500K of RAM, it is a challenging task. Esparagus HiFi MediaLink is based on a WROVER module that has an onboard PSRAM chip.
| I2S CLK | I2S DATA | I2S WS | PSRAM CE | PSRAM CLK | |
|---|---|---|---|---|---|
| ESP32 | 26 | 22 | 25 | 16 | 17 |
| SPI HOST | SPI CLK | SPI MOSI | SPI MISO | OLED DC | OLED CS | OLED RST | WS2812 RGB LED | |
|---|---|---|---|---|---|---|---|---|
| ESP32 | 2 | 18 | 23 | 19 | 4 | 5 | 32 | 33 |
Both HiFi Esparagus versions were created specifically to be used with Home Assistant via ESPHome integration. For both boards, rich configs were pre-created with hardware configuration for common use cases. These include
Configurations are being actively maintained and upgraded, new experimental components added for you to test and enjoy
Please visit the hardware section for board schematics and PCB designs. Note that PCBs are shared as multi-layer PDFs.
| Esparagus HiFi MediaLink |
|---|
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.
| Esparagus HiFi MediaLink |
|---|
| Esparagus HiFi MediaLink |
|---|
If you’re working on an open-source project, an educational initiative, or any pro-bono/volunteer effort, feel free to reach out for sponsorship details. I’ll do my best to provide discounts or even free boards.
If you’re interested in a custom design based on or inspired by my boards, I also offer contract design work and consultation when needed.