DfPlayer Mini Module - Play MP3 Files With an Arduino (Step-by-step Guide)

preview_player
Показать описание
Diagrams and pictures:

There was a mistake in my previous video about the DFPlayer Mini module. Since its input pins are not 5V tolerant we need to have a voltage divider for the RX signal.

Buy from Amazon :
(As an Amazon Associate I earn from qualifying purchases)

Buy from Aliexpress:

Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.

Music from Youtube audio library.
Francis Preve
Рекомендации по теме
Комментарии
Автор

Of all the Sounds in the Universe, you chose that...

bananabros
Автор

THANK YOU! After three days reading several guides for DfPlayer and Nano, this is the only solution that worked for me. I didn't have a 680 resister but a 1k+2k=660 worked for me.

BleaCliath
Автор

Thank you for the video! I have everything setup, but I keep getting a "Connecting to DFPlayer Mini failed!". Any idea on what is causing the issue?

mikecoscia
Автор

your videos excellent as usual, thanks for your great effort done for a few minutes

wasanthawimaladharm
Автор

Thanks! I tried looping sound on my DFplayer and it isn't working, any idea why?

neryasheetrit
Автор

I have a problem with playing songs using DF player mini. It didn’t play the song. I had uploaded the song to the SD card. Then I insert that to the DF player. While inserting the SD card to the DF player, the light on the DF player mini turned off and there is no sign of playing the song. I thought that there might be an issue with the module. So I replaced that with newer one. Then also the same problem comes. I had used three modules till now but the problem persists. Can anyone who is familiar in this can able to solve this issue?

AntonyIssaqS
Автор

Only Useful Video on YTBE! Just helped me complete my project. Thank You A Lot!!

cenevspeed_CARS
Автор

Here's how to eliminate the resistor divider level shifter problem, for any freestanding (doesn't talk to a computer by USB) 3V3 Arduino module... Just run the Arduino on 3V3, too. The 328P data sheet shows 3V3 will work. Here's how... The Arduino 5V OUTput is connected to the Arduino power circuit after the Arduino's onboard 5V power regulator. So, connect a 3V3 power supply to the Arduino's 5V OUTput pin and the MP3 module's 3v3 power supply pin. Also, connect the grounds. The Arduino's 5V OUTput pin will route the 3V3 directly to the chip. You will no longer need any Rx/Tx level shifter resistors/dividers. You also can NOT attach the USB, as it has 5V power. This is a commonly known trick. Search it on YouTube, for complete instructions. I am not responsible for anything, if you try this method. I am just sharing an idea.

td
Автор

your voltage divider is providing even less than 3V but datasheet of DF player mini suggest that 4.2V would be optimal. Is there any issue with using resistors of 1K and 4K for the voltage divider to obtain 4V for the DF Player mini?

e.s.
Автор

So you can upload several files in the sd card and then chose which file you want to play? Just wanna know because I want to play several files and want to know if I need to buy 2.

TechHouseVids
Автор

Nice video sir ... I'll be trying this when I'll complete my current project.

thedementor
Автор

Is there a way to make this device play more than 2 songs at a time... I thought of making a launchpad or keyboard.

clydealcott
Автор

Do you have any idea why it does not connect to the player when using a external 5V source

mrpartyld
Автор

hello i made it i use 8gb sd memory card. some times it's playing perfectly but some time df mini player led will permanently glow and there is no sound in speaker. whats the reason i cannot understand plase help me thanks in advance. but when i use 4 gb sd card it is perfectly work. whats the reason

naveenvaid
Автор

Is the headphone output really stereo or just mono in both ears?

thomastucker
Автор

How do you "know" a resistor is needed? And how do you know what capacity you need?

diorama_dad
Автор

hello to repeat the song endlessly how can I do? I apologize for my English but I use Google translator
and that I am Italian

actarusfleed
Автор

thank you sir you solved 1 of my problems :)

andinugroho
Автор

will the player (just it) run from 4.5v? (3) 1.5v cells?

mikeberger
Автор

how can I make it play more than one file with an if statement using push buttons.like if I pressed button A then play file 1, if button B is pressed play file 2

_ahmedwalid_