You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »



Hardware Requirements:

  • Original ESP32/WROOM-32 with Bluetooth Classic
  • PCM5102A DAC
  • Arduino IDE


What we are building:

  • Bluetooth A2DP receiver
  • Stereo bass, mid and treble EQ
  • Flat, Rock, Jazz and Classical presets
  • Serial control for initial tuning

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:

  • ESP32-A2DP by Phil Schatzmann
  • Arduino Audio Tools by Phil Schatzmann

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:

  • FMT → GND for standard I²S
  • XSMT → 3.3 V for unmuted operation
  • SCK → GND on the common PLL-equipped modules

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




  • No labels