Catalex mp3 player

Hi all, I'm trying to build a box song control with IR remote for my son with differents sounds using Catalex mp3 yx5300 module.

I can't find the way to play that file in that folder. I just don't understand the command. I would to do something like:

Play MP3 number 3 in folder 5.

Thanks in advance.

voodou:
Hi all, I'm trying to build a box song control with IR remote for my son with differents sounds using Catalex mp3 yx5300 module.

I can't find the way to play that file in that folder. I just don't understand the command. I would to do something like:

Play MP3 number 3 in folder 5.

Thanks in advance.

which command don't you understand? are you using a library or just sending command bytes?

I'm using library, here is my "bad" command:

sendCommand(CMD_PLAY_FOLDER_FILE, 0X0F0101);

voodou:
I'm using library, here is my "bad" command:

sendCommand(CMD_PLAY_FOLDER_FILE, 0X0F0101);

OK so....... which library?

Sorry I forgot to write it:

#include <SoftwareSerial.h>

Thanks for helping.

Edit: In fact the line #define CMD_PLAY_FOLDER_FILE 0X0F was missing

I don't understand why I couln't find it before posting...

@Voodou, do you mind sharing your code?

Thanks!

The DFPlayer Mini used the YX5200 chip set...

maybe there is an updated library for the YX5300 chip? (or perhaps the same serial commands work as well?)