General

df player

userHead Dusan.Bilandzic 2024-08-03 12:12:46 175 Views2 Replies

I am using a df player mini connected to an atmel microcontroller. Play songs works well. With the logic analyzer, I read what the DF player sends to the CPU, but I don't know what this data means. I get the following series of data: 0x7e, 0xff, 0x60, 0xbc, 0x00, 0x00, 0x29, 0x7f, 0x54, 0xf7, (same) 0x7e, 0xff, 0x60, 0xbc, 0x00, 0x00, 0x29, 0x7f, 0x54, 0xf 7. I get this series after finishing play.

2024-08-04 03:49:23

Each byte has a specific meaning in the DFPlayer Mini protocol:

0x7E: Start byte0xFF: Version information0x60: Command (0x60 indicates an error)0xBC: Feedback (0xBC indicates "Finished playing a track")0x00, 0x00: Parameter bytes (high and low, respectively; these are often zero for error messages)0x29: Checksum high byte0x7F: Checksum low byte0x54: End byte
userHeadPic lia.ifat
Dusan.Bilandzic wrote:

Thank you

Does 0x60 mean there was an error? mp3 file is properly played.

2024-08-04 07:19:31
1 Replies