DFPlayer Mini MP3 player with ESP32

Supply 3.3-5 V Bus GPIO
VCCRXTXDAC_RDAC_LSPK_1GNDSPK_2IO_1GND2IO_2ADKEY_1ADKEY_2USB+USB-BUSY

Pins and ESP32 wiring

PinRoleESP32 pinNotes
VCCPower3V33.2 to 5 V
RXInput (the ESP32 drives it)D25UART: the part receives data here. Connect to an ESP32 TX pin through a 1 kΩ resistor
TXOutput (the part drives it)D26UART: the part sends data here. Connect to an ESP32 RX pin (9600 baud)
DAC_RNot wired to the ESP32—Line out right
DAC_LNot wired to the ESP32—Line out left
SPK_1Not wired to the ESP32—Speaker + (3 W max)
GNDGroundGND
SPK_2Not wired to the ESP32—Speaker -
IO_1Not wired to the ESP32—
GND2GroundGND
IO_2Not wired to the ESP32—
ADKEY_1Not wired to the ESP32—
ADKEY_2Not wired to the ESP32—
USB+Not wired to the ESP32—
USB-Not wired to the ESP32—
BUSYOutput (the part drives it)D27LOW while playing

Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.

Sources

Try it in 3D in BoardPilot

BoardPilot Part data (JSON)

Related parts

Part data: CC BY 4.0, free to reuse with credit to BoardPilot.