Arduino with df mini player

Hello.

I just started my arduino trip. And I got a things working with the typical led strips etc. ( gonna be using arduino for modeling)

But now I’m trying to wrap my head around the df player mini (mp3-tf-16gp v3.0 )

I have tried absolutely everything to get this thing to communicate with the arduino.

Ik have used multiple arduino’s and df player boards.

The player will play on its own using the pins. But when I want it to communicate with the arduino it just doesn’t do anything.

I have tried multiple codes connecting different pins etc. 10/11 8/9 rx rc etc

Tried with the resistor on tx and without

The player plays maybe a mili second of audio when inserting the as card while connected to the arduino, then nothing.

Does anybody know what’s going on here?
And are there just plain better alternatives to this finniky df player thing. Cause compared to neopixel stuff it’s an absolute nightmare for me.

The sad card is formatted correctly and the folder are like mp3/001/0001

This is all correct I assume considering the player plays normally without the arduino.

Greets
Walter

Welcome to the forum

Please post the sketch that you used when the project was configured as in your 'photo. Please use code tags when you post it

The serial connection needs to read responses as well as send commands to work the player well. You will have a learning curve.

The simple way is to have the Arduino "press the player buttons" by outputting to the pins. It is more blind but it's way quicker and easier.

Thank you for the response. But I need it to communicate so it does X at the same time the same button is pressed for the LED’s to do Y. I’ll figure out eventually how to do that. For now I just really need it to start communicating.

And again, if anybody know a better alternative to the df player mini it would be appreciated. I’m reading nothing but problems about it :sweat_smile:

How many do you want? I’ve have tried so many things now. Even the example codes everywhere online don’t work for me

Post #2 ?

Exactly this. We can't help unless we know what you're doing and how things are connected. IME, DF player works just fine with & without arduino. Wasn't finicky at all.

[quote="wallie61, post:4, topic:1225365, full:true"]I’m reading nothing but problems about it :sweat_smile:
[/quote]

That's because, as usual, people only post about it when they have a problem. When reading posts about neopixels you'll also read about nothing but problems.

Make sure you connect all the grounds all the grounds of the board, make sure the DF player has sufficient power supply, make sure Tx of the player is connected to Rx of the Arduino and the other way around, make sure the board's ground is connected to the Arduino ground. That should allow you to communicate with the board, use the test sketches. That failing, try another board - it may be faulty.