Spark Logic

DFPlayer Mini MP3 module pinout

DFRobot DFR0299 reads audio from a microSD card and supports both serial commands and simple button control.

DFR0299 module

16 contacts Current package

DFRobot · 20 × 20 mm · two rows of eight contacts

DFR0299 module pinout

Top view. Identify the VCC end and match the board markings before wiring.
Selected pin details

9 · IO1

Input · Inputs

Ground momentarily for the previous track. A long press reduces volume in I/O mode.

DFRobot DFR0299 documentation, Pinout and Work Mode

Electrical limits · Link to this pin

All 16 pins

PinSignalDirectionFunction
1VCC Supply inputSupply input Use a regulated 3.2–5 V supply. The speaker stage can draw more current while playing.
2RX InputInput UART command input. DFRobot shows a series 1 kΩ resistor in the example.
3TX OutputOutput UART response output. Use a receiver compatible with the module’s logic levels.
4DAC_R Analog outputAnalog output Right audio DAC output for an external audio input.
5DAC_L Analog outputAnalog output Left audio DAC output for an external audio input.
6SPK1 Bridge outputBridge output One side of the amplified speaker output. Connect the speaker between SPK1 and SPK2.
7GND ReturnReturn Module ground. Share this reference with the UART controller.
8SPK2 Bridge outputBridge output Other side of the amplified speaker output. Keep both speaker leads isolated from ground.
9IO1 InputInput Ground momentarily for the previous track. A long press reduces volume in I/O mode.
10GND ReturnReturn Module ground.
11IO2 InputInput Ground momentarily for the next track. A long press increases volume in I/O mode.
12ADKEY1 Analog inputAnalog input First resistor-coded key input. Use the key resistance table for this module.
13ADKEY2 Analog inputAnalog input Second resistor-coded key input. Use the key resistance table for this module.
14USB+ USB dataUSB data Positive USB data contact for the supported storage interface.
15USB− USB dataUSB data Negative USB data contact for the supported storage interface.
16BUSY OutputOutput Playback status output. Low indicates playback in progress.

Signal assignments

9600 bit/s UART

Cross RX and TX and share ground. The DFRobot example uses 8 data bits, no parity and one stop bit.

Speaker output

The speaker is connected across the two amplifier outputs. Use the DAC pins for single-ended line-level signals.

Electrical limits

ParameterLimitConditions and source
Supply voltage3.2–5 V3.2–5 V The example uses 5 V. Allow headroom for playback current. DFRobot DFR0299 documentation, Pinout and Work Mode
StorageFAT16 or FAT32 · up to 32 GBFAT16 or FAT32 · up to 32 GB Insert or remove the card with power off. DFRobot DFR0299 documentation, Pinout and Work Mode
Serial mode9600 bit/s · 8N19600 bit/s · 8N1 Use a 3.3 V logic UART and shared ground in the example. DFRobot Arduino example

Models and documents

This guide follows the DFRobot DFR0299 module’s 16-contact pinout. Check the seller’s documentation for lookalike modules and different audio chips.

DFR0299
DFRobot DFPlayer Mini module.