soldr.ai

Docs  /  Components

DFPlayer Mini MP3 player: specs and pinout

A small serial-controlled MP3 and WMV player module with a microSD (TF) card slot and a built-in 3 W amplifier. SPK1/SPK2 drive a speaker directly (output under 3 W), or DAC_R/DAC_L give line outputs to an amplifier. It takes serial commands from a microcontroller or push buttons on its trigger pins.

Every value cites its sourceOfficial pinout

Buy on Compoden

Specs

SpecValueSource
Working voltageDC 3.2 V to 5.0 V (typical 4.2 V)source
2.1 Specification Description, p.1; Table 2.2 pin VCC, p.2
Standby current20 mAsource
2.1 Specification Description, p.1
UARTStandard serial, TTL level, adjustable baud rate, default 9600 bps; no parity, no flow controlsource
2.1 Specification Description, p.1; 3.1 Serial Communication Format, p.3
Audio formats and sample ratesMP3 and WMV decoding; 8, 11.025, 12, 16, 22.05, 24, 32, 44.1 and 48 kHzsource
1.2 Features, p.1
DAC24-bit DAC output, dynamic range 90 dB, SNR 85 dBsource
1.2 Features, p.1
Card file systemFAT16 and FAT32 TF card, up to 32 GBsource
1.2 Features, p.1
Speaker outputDrives a speaker of less than 3 W directly (SPK1/SPK2); DAC_R and DAC_L drive an earphone or amplifiersource
Table 2.2 Pin Description, p.2
Volume and track commandsVolume 0 to 30 (command 0x06); track number 0 to 2999 (command 0x03)source
3.2 Serial Communication Commands, p.3
Start-up timeAbout 1.5 s to 3 s to initialise, depending on the files on the cardsource
3.3.1 Returned data of module power-on, p.4
Operating temperature and humidity-40 to +70 C; 5 % to 95 % humiditysource
2.1 Specification Description, p.1
Size20 mm x 20 mmsource
Specification table

Power

ValueSource
Supply3.2 V to 5.0 V (typical 4.2 V)source
2.1 Specification Description, p.1
Current20 mA standby; playback current is not givensource
2.1 Specification Description, p.1

Pinout

Pin rows are from the original maker's DFR0299 module document (V1.0). Your unit may be a compatible module from another maker, so check its silkscreen against these names before wiring. The maker's document says only that the serial port is TTL level; it does not give the RX pin's voltage tolerance. The the original maker's wiki (DFPlayer Mini, troubleshooting) advises a 1 kOhm resistor between Arduino TX and DFPlayer RX.

PinFunctionVoltageNotesSource
1VCC3.2 V to 5.0 VInput voltage; DC 3.2 V to 5.0 V; typical 4.2 Vsource
Table 2.2 Pin Description, p.2
2RXUART serial inputsource
Table 2.2 Pin Description, p.2
3TXUART serial outputsource
Table 2.2 Pin Description, p.2
4DAC_RAudio output, right channel; Drives earphone and amplifiersource
Table 2.2 Pin Description, p.2
5DAC_LAudio output, left channel; Drives earphone and amplifiersource
Table 2.2 Pin Description, p.2
6SPK2Speaker-; Drives a speaker of less than 3 Wsource
Table 2.2 Pin Description, p.2
7GNDGround; Power GNDsource
Table 2.2 Pin Description, p.2
8SPK1Speaker+; Drives a speaker of less than 3 Wsource
Table 2.2 Pin Description, p.2
9IO1Trigger port 1; Short press: play previous; long press: volume downsource
Table 2.2 Pin Description, p.2
10GNDGround; Power GNDsource
Table 2.2 Pin Description, p.2
11IO2Trigger port 2; Short press: play next; long press: volume upsource
Table 2.2 Pin Description, p.2
12ADKEY1AD port 1; Triggers play of the first segmentsource
Table 2.2 Pin Description, p.2
13ADKEY2AD port 2; Triggers play of the fifth segmentsource
Table 2.2 Pin Description, p.2
14USB+USB+ (DP); USB portsource
Table 2.2 Pin Description, p.2
15USB-USB- (DM); USB portsource
Table 2.2 Pin Description, p.2
16BUSYPlaying status; Low means playing; high means not playingsource
Table 2.2 Pin Description, p.2

Build with it

Project ideas for the DFPlayer Mini MP3 player. Each link opens Soldr with the prompt filled in; Soldr assigns the pins, checks power and shows how to wire every part.

Common mistakes

Not covered by the official source

Sources