ArduinoGeneral

DFPlayer Mini - PC serial comunications

userHead emanuelaongari 2016-05-14 00:13:31 4200 Views3 Replies
Hello, evryone i'm new user.
I have a problem with a DFPlayer Mini; I need to communicate in simplex mode from PC serial port to Df Player mini for some tests.
I use MAX232 for convert RS232 logic level ( I use only tx because I'm not interested to use DFplayer mini acknowledge ) in TTL level and i put 1K resistor between output tx pin of MAX232 (pin 9 ) and input RX of DFPlayer Mini ( pin 2).
I use a Realterm software (http://realterm.sourceforge.net/) to send hex string to play track 1 (0x7E 0xFF 0x06 0x03 0x00 0x00 0x01 0xFF 0xE6 0xEF) ; i set 9600 baud rate , 8 data bits, No Flow control, 1 bit of stop, but dosent' work.
I try to check if MAX232 was wrong with connect rx and tx pins together and i saw the echo character.
If i use the push button mode DF Player Mini work correctly.
I think I am overlooking something in the protocol, can someone help me ? Thanks.
2016-05-18 02:15:48 Hi,

Do you mean the checksum method in the datasheet? https://github.com/Arduinolibrary/DFPla ... Manual.pdf
userHeadPic Leff
2016-05-17 02:01:22 Yes... now work ! The problem is that in datasheet ther is a wrong hex string example and ther isn't how to calculate checksum.
Now i try it and i see that Dfplayer dosent' play track in alphabetical order, but it play in order to addition on mini SD card (with out subfolder ) .... in my opinion complicated to manage.
userHeadPic emanuelaongari
2016-05-15 02:44:53 Hi Emauelaongari,

Did it work once you make the checksum right?
userHeadPic Leff