DFPlayer Mini MP3 Player
From Mike Beane's Blog
References
- https://wiki.dfrobot.com/DFPlayer_Mini_SKU_DFR0299
- https://www.electronics-lab.com/project/mp3-player-using-arduino-dfplayer-mini/
- https://github.com/DFRobot/DFPlayer-Mini-mp3
Specs
- Supports sampling rates (KHz): 8 / 11.025 / 12/16 / 22.05 / 24/32 / 44.1 / 48
- 24-bit DAC output, support range: 90dB, SNR support: 85dB
- Fully supports FAT16, FAT32 file system, maximum support 32G TF card, support U disk to 32G, 64M bytes NOR FLASH
- A variety of control modes are available. IO control, serial port, AD button control mode
- Radio spots language function, you can pause the background music being played. Advertising finished playing background sound continues to play back
- The audio data is sorted by folder, supports up to 100 folders, folders can be assigned to every 255 Tracks
- 30 level adjustable volume, six adjustable EQ
- DC: 3.3-5v
Device
Pinout
Pin number | Pin name | Function | Remark |
---|---|---|---|
1 | VCC | Module power input | 3. 3V—5V, 5V is recommended, do not exceed 5. 2V |
2 | RX | UART serial data input | |
3 | TX | UART serial data output | |
4 | DAC_R | Audio output right channel | Drive headphones, amplifier |
5 | DAC_L | Audio output left channel | Drive headphones, amplifier |
6 | SPK2 | Connect small speaker | Drive less than 3W speakers |
7 | GND | Ground | Power ground |
8 | SPK1 | Connect small speaker | Drive less than 3W speakers |
9 | IO1 | Trigger port | Default previous song (long press volume down) |
10 | GND | Ground | Power ground |
11 | IO2 | Trigger port | Default next song (long press volume plus) |
12 | ADKEY1 | AD port 1 | The first song when triggered (long press cycle first song) |
13 | ADKEY2 | AD port 2 | Fifth track when triggered (long press cycle fifth track) |
14 | USB+ | USB+ DP | Connect U disk or USB port of computer |
15 | USB- | USB- DM | Connect U disk or USB port of computer |
16 | Busy | Playback status | With audio, output low. No audio, output high |