ESP32 Audio Docks

What is it?

ESP32 Audio Docks is a range of extension boards (i.e. docks) that allow you to develop Audio solutions based on ESP32 chips. These were created to make Audio development entry as easy and inexpensive as possible

Motivation

I spent last few years developing different solutions based on ESP delices. It all started with ESP8266, where CPU power is not really sufficient to do real-time decoding, so you’re limited to rather simple ding-dong business. Then ESP32 came, bringing two much more capable cores, so you have powerhouse to handle communication and decoding at the same time. Perhaps most importantly it also came with SPIRAM, so you can do decent buffering (essential for streamed content).

Now new ESP32 C-Series and S-Series chips are entering the market, and their potential is mostly unrealized as for today.

I created those docks, to be able quick prototype for whole range of ESP8266 and ESP32 chips, starting with the simplest finger-sized toys and going all the way up to full-sized speakers.

Flavours

Smallest in the range is ESP Audio Solo model, which is basically single MAX98357 DAC taking power from 5V rail, delivering single 3W mono channel output.

It is compatible with ESP8266, ESP32C3 and ESP32S2 mini modules and aiming entry level tasks, as all of the listed chips are single-core entry-level performance chips.

Next in the line ESP Audio Duo model, designed to work together with ESP32 mini module. Having some experience with audio related projects, it is clear that for audio streaming SPIRAM is the must (for buffering purposes). So I’ve decided to place PSRAM chip on the board, so any of-the-shelf ESP32-WROOM module gain WROVER capabilities, as soon as inserted into the dock. Plug in play, no further changes needed.

ESP Audio Duo adds stereo output, otherwise is is the same DAC and similar performance times two.

Next in the line HiFi-ESP32 driving PCM5100 DAC. It lacks power amplifier on the output, so normally you would need external amp. It is capable driving headphones though.

HiFi-ESP32 also has SPIRAM chip onboard. 

To make sure DAC performance is not compromised, it is powered from three independent Ultra-low-noise LDOs. As long as your ESP32 pushing data in, you should expect true Hi-Fi performance.

Last in the line is Louder-ESP driving TAS5805M DAC with D-class AMP. It is top performance part and it is capable to deliver 2 channels of 23W each to 8 Ohm load, so it is quite beefy. Clearly it requires external power source, so step-down voltage converter is added to generate 3.3V for ESP32 to use, when it is not connected to the USB. 

Like the rest of the line, SPIRAM chip is onboard.

This is real beast for grownups and a bit of “how to overdo ESP32 DAC”. But hey, why not?

Features

ESP Audio SoloESP Audio DuoHifi ESPLouder ESP
Docks withESP8266, ESP32C3, ESP32S2 Mini modulesESP32 Mini ModuleESP32 Mini ModuleESP32 Mini Module
DACSingle I2S DAC (MAX98357) with built in D-Class ampDual I2S DAC (MAX98357) with built in D-Class ampPCM5100A 32bit Stereo DAC
-100 dB typical noise level
Stereo I2S DAC (TAS5805M) with built in D-Class amp
Output (4Ω)3W2x 3WNon-amplified stereo output2x 15W at 12V Vin
Output (8Ω)1.5W2x 1.5WNon-amplified stereo output2x 23W at 22V Vin
Adds8MB PSRAM (4MB usable)8MB PSRAM (4MB usable)8MB PSRAM (4MB usable)

Onboard PSRAM

Audio streaming require proper buffering to work, even with ESP32 500K of RAM it is a challenging task. For that reason most of the projects will require WROVER modules that have onboard PSRAM chip.

All ESP32 Docks has 8MB PSRAM chip onboard, connected via high-speed SDIO interface. This effectively turns your regular WROOM module into WROVER module with no effort required. Any code using PSRAM with just work out-of-the box.

Firmware samples

In the software section two firmware examples 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

Documentation

Both software and hardware documentation can be found on project’s Github. You can follow project progress at Hackaday

Where to buy

You may support our work by ordering this product at Tindie