Hardware Requirements:


What we are building:

It uses the current ESP32-A2DP and Arduino Audio Tools approach. ESP32-A2DP receives SBC audio as 16-bit stereo PCM, and Audio Tools provides the I²S output layer.

Install these libraries

In Arduino IDE → Library Manager, install:

Select an original ESP32 board, such as ESP32 Dev Module. The ESP32-S3 and C3 are unsuitable because they do not support Bluetooth Classic A2DP.


Pinout

PCM5102AESP32
BCKGPIO 26
LCK, LRCK or WSGPIO 25
DINGPIO 22
GNDGND
VIN5 V


If exposed:

These pin assignments correspond to the established ESP32-A2DP PCM5102 setup.