DFplayer mini troubleshooting

Hi! Trying to hook up the DFplayer mini but i can't get any sound out of it.

I'm using the most simple setup like described under I/O mode on this page: DFPlayer Mini Mp3 Player - DFRobot Wiki

Buck boosting 4x AAs à 1.2V to 5V. 4ohm 3W speaker.



Not getting any sound playing. Some occasional crackling from the speaker but that's it.

Any clues for where to start troubleshooting?

Regards

Björn

Use these connections.

  1. SPKR+, SPKR- to a 3W speaker (not a boombox 8 ohm speaker)
  2. VCC and GND to your power supply.
  3. A jumper wire on GND pin (between IO_1 and IO_2)
  4. A FAT16/FAT32 formatted SD with 48k WAVs with 8.3 filenames

After applying power, briefly touch the grounded jumper wire to IO_1 for NEXT FILE or IO_2 for PREV FILE. For increase in volume, LONG TOUCH the grounded jumper wire to IO_1, to decrease volume, LONG TOUCH the grounded jumper to IO_2.

When you press one of the buttons, does the LED on the DFPlayer light up for the expected duration of one of your audio files?

Are those pushbuttons the right way round?
(If you aren't certain - spin them 90deg.)

I've never seen the LED light up

Good question, they are not marked with + and - but I did test continuity with a multimeter between the two ends I'm using, so I just assumed that would work regardless of direction?

Thank you all for rapid replys,

1 - is connected to a 3W speaker, 4 ohm. (this one Speaker - 3" Diameter - 4 Ohm 3 Watt - Opencircuit) Is this not recommended?
2 - VCC and GND is connected to power, the 5V buck booster, I measure around 4.5V over those connection on the DFplayer board
3 - Could test with a wire instead of the buttons, have not done that.
4 - I will have to double check the formatting and size limitation of the card, and name+audio formatting later this evening, but I was aware of them before I started and think they are satisfied.

regards

  • Björn

I'm not sure about how you connected those pushbuttons.

Place them across the central channel of the breadboard and use only one diagonally opposite pair of pins of each button.

Remove the buck converter, it's not necessary. The DFplayer can take 3.2~5V power, so the ~4.8V from the cells should be fine.

As others have suggested, if those buttons are the 4 terminal type, then you have them wired incorrectly. (Preferences vary, but I prefer the 2 terminal type for breadboard positioning flexibility.)

+1 too for @PaulRB's advice about power supply. I typically use three AAs to supply both Arduino and DFR Player. The latter's sweet spot appears to be about 4.4V BTW.

The spec's "less than 3W" for the speaker might be a tad optimistic. I would use 8 ohm (or two 4 ohm in series if your enclosure permits).

Wired correctly with 8 ohm 1W speaker this is playing loudly:

Then the player is not even attempting to play anything. Any crackles you hear are just loose connections or something.

See post #10

The LED isn't lighting up? Then as others have already noted, the module isn't ever trying to play anything.

Looking closely at your second image in full size, it does look to me like the pushbuttons are inserted in the correct orientation. But grounding pin 9 or 11 with a wire directly wouldn't hurt and is easy to try.

Can we see a directory listing of your uSD card? And if you've got any information on the codecs and sample rate, that might help shine a light on what's wrong.

Success!!

Buttons were fine, I did one change only. Or two:

I switched to another SD card, reformatted it and also changed my folder structure from

/mp3/0001.mp3 etc to /0001.mp3

Also took away the buck booster but that was not the issue.

Very Thankful for the engaged support here!

Interesting. So using the AD pins won't play files in sub folders. I didn't realise that.

Using the /mp3 folder is useful when you are controlling the player with an Arduino: The .play(7) function doesn't necessarily play the file /0007.mp3 for some strange reason. That's one of the most common issues raised on this forum related to DFplayer Mini. However, .playMP3folder(7) does reliably play /mp3/0007.mp3

Oh I see, yeah my usecase didn't involve an arduino so I woudn't have noticed - but I intend to use the IO1, IO2 and ADKEY coupled with a few resistors to play a specific song.

Should mention though - it could in theory have been some other issue with card 1 too, since I switched it out + changed folder structure. For example file system, or geneal card failure (however, I was able to copy the files obviously).

Sorry, I was plainly wrong about that. You’ve just used them differently to the ‘cross-channel’ orientation for 4-pin types. That has the minor advantages of

  • minimising unusable breadboard holes
  • allowing the ‘diagonal’ connections, minimising accidental shorts.

Pleased to hear you got it working.

Hi again!

I'm back, and am soldering things in place on my protoboard, in my 3D-printed chassis. (it's the radio from Sneaky Sasquatch game for a comic con event.

I have the songs from the soundtrack loaded on the sd-card, and with the file renaming they worked fine on the breadboard. Now however, the songs play in slow motion kind of fashion where they go slower and sound is somewhat distorted. What in the world could be causing this?
I measure 5V on my DFplayer coming from that DFRobot 18650 holder.

Regards

Björn

Did you change the bitrate when creating new files?

Nope, I was curious too but i have not even changed the files. Moved them one folder up and to a different card. Have not removed the card since the breadboard-setup.

They are all 32kbps and 44,1kHz