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

DFR0299 module · Face the printed labels. Identify the VCC end and match the board markings before wiring.
Selected pin details

1 · VCC

Supply input · Power

Use a regulated 3.2–5 V supply. The speaker stage can draw more current while playing.

DFRobot DFR0299 documentation, Pinout and Work Mode

Electrical limits · Link to this pin

Power the module and prepare storage

  • 5 V supply
    • Bench 5 V
  • Return
    • Bench ground

Connection guide

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 3.3 V logic UART input for commands from host TX.
3TX OutputOutput 3.3 V logic UART output for replies to host RX.
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.
6SPK Bridge outputBridge output One side of the amplified speaker output. Connect the speaker between contacts 6 and 8.
7GND ReturnReturn Module ground. Share this reference with the UART controller.
8SPK 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. Use 3.3 V logic levels at the module even when VCC is 5 V. Check the host input thresholds and shift the levels where needed.

Speaker output

Connect the speaker across contacts 6 and 8. DFRobot’s pin map and manual label these outputs differently. Use the DAC pins for ground-referenced line-level audio.

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
UART RX inputVIH 2.31–3.6 V, VIL −0.3–0.99 VVIH 2.31–3.6 V, VIL −0.3–0.99 V VDD = 3.3 V in the I/O table. Module VCC is specified separately. DFRobot DFR0299 manual, § 6, p. 12
UART TX outputVOH ≥ 2.7 V, VOL ≤ 0.33 VVOH ≥ 2.7 V, VOL ≤ 0.33 V VDD = 3.3 V in the I/O table. Module VCC is specified separately. DFRobot DFR0299 manual, § 6, p. 12

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.