EDMP3-4

From ElectroDragon Wiki

Usage Memory MP3 File Date Update

Use SPI Flash

Update via USB Port

  • Data can be quickly update via USB Port
  • Attach USB port to your PC, SPI flash will be apeared as a disk

Flash Dump and Clone

  • Flash also can be cloned/dump as a file, and copy to other flash
  • Use CH341 SPI interface board to do so, you can find it in our store

Use MicroSD Card

  • Directly copy data MP3 file into MicroSD card
  • Board will reconigzed once card is inserted

Attached USB Disk to Board

  • The board can also play MP3 file from the U-disk which attached to the board


Note

  • The first File will be is not 1.mp3 or 1xx.mp3, it is the first file you copy into the medium, which either Flash or MicroSD card

AT Commands

  • Send Hex data, baudrate 9600

Play

  • [Next song] 7E FF 06 01 00 00 00 FE FA EF
  • [Previous song] 7E FF 06 02 00 00 00 FE F9 EF
  • [Specified track] 7E FF 06 03 00 00 01 FE F7 EF


  • 7E FF 06 03 00 00 01 EF specifies the first play
  • 7E FF 06 03 00 00 02 EF specifies the second song
  • 7E FF 06 03 00 00 0A EF specifies the tenth song


Volumn

  • Volume plus 7E FF 06 04 00 00 00 FE F7 EF
  • Volume reduction 7E FF 06 05 00 00 00 FE F6 EF
  • [Specified volume] 7E FF 06 06 00 00 1E FE D7 EF
  • [Specified EQ] 7E FF 06 07 00 00 01 FE F3 EF

Loop

  • [Looping track] 7E FF 06 08 00 00 01 FE F2 EF
  • 7E FF 06 06 00 00 1E EF The specified volume is 30 levels
  • 7E FF 06 07 00 00 01 EF reserved
  • 7E FF 06 08 00 00 01 EF Play the first song in loop
  • 7E FF 06 08 00 00 02 EF Loop the second song
  • 7E FF 06 08 00 00 0A EF Play the tenth track in loop

[Specify playback device]

  • 7E FF 06 09 00 00 01 EF designated to play UDISK
  • 7E FF 06 09 00 00 02 EF designated to play TF
  • 7E FF 06 09 00 00 04 EF designated to play FLASH

mode

  • [Enter sleep mode] 7E FF 06 0A 00 00 00 FE F1 EF
  • [Wake up to sleep] 7E FF 06 0B 00 00 00 FE F0 EF
  • [Module reset] 7E FF 06 0C 00 00 00 FE EF EF
  • [Play] 7E FF 06 0D 00 00 00 FE EE EF
  • [Pause] 7E FF 06 0E 00 00 00 FE ED EF

[Specify folder file name]

  • 7E FF 06 0F 00 01 01 EF is designated as the folder of "01", and the track is "001"
  • 7E FF 06 0F 00 01 02 EF is designated as the folder of "01", and the track is "002"
  • 7E FF 06 0F 00 02 01 EF is designated as the folder of "02", and the track is "001"
  • 7E FF 06 0F 00 03 01 EF is designated as the folder of "03", and the track is "001"
  • 7E FF 06 0F 00 04 01 EF is designated as the "04" folder, and the track is "001"
  • 7E FF 06 0F 00 05 01 EF is designated as the folder of "05", the track is "001"


  • Play all in loop 7E FF 06 11 00 00 01 FE E9 EF
  • 7E FF 06 14 00 10 FF FD D8 EF 7E FF 06 14 00 10 FF EF The folder designated as "01", the track is "0255"
  • 7E FF 06 14 00 17 CF FE 01 EF 7E FF 06 14 00 17 CF EF The folder designated as "01", the track is "1999"
  • 7E FF 06 14 00 C0 01 FE 26 EF 7E FF 06 14 00 C0 01 EF The folder designated as "12", the track is "0001"
  • 7E FF 06 14 00 C0 FF FD 28 EF 7E FF 06 14 00 C0 FF EF The folder designated as "12", the track is "0255"
  • 7E FF 06 14 00 C7 CF FD 51 EF 7E FF 06 14 00 C7 CF EF The folder designated as "12", the track is "1999"


  • 7E FF 06 16 00 00 00 EF Stop software decoding


  • 7E FF 06 17 00 00 02 EF designated 02 folder loop play
  • 7E FF 06 17 00 00 01 EF designated 01 folder loop play


  • 7E FF 06 30 00 00 02 EF designated 002 folder loop play
  • 7E FF 06 30 00 00 01 EF designated 001 folder loop play


  • 7E FF 06 18 00 00 00 EF random play
  • 7E FF 06 19 00 00 00 EF Single loop playback is on
  • 7E FF 06 19 00 00 01 EF Single loop playback is off


  • 7E FF 06 1A 00 00 00 EF Open DAC
  • 7E FF 06 1A 00 00 01 EF off DAC

Combination Play

  • 7E FF 09 21 01 02 01 03 01 04 EF play [1,2][2,3][1,4]

Play with specify volume

  • 7E FF 06 22 00 1E 01 EF 30 level volume to play the first song
  • 7E FF 06 22 00 0F 01 EF 15 level volume to play the first song
  • 7E FF 06 22 00 0F 02 EF 15 level volume to play the second song


  • Set chip address 7E FF 06 80 00 0F 02 FE C8 EF


  • Query the current online device 7E FF 06 3F 00 00 00 FE BC EF
  • Query current status 7E FF 06 42 00 00 00 FE B9 EF


  • [Check current EQ] 7E FF 06 44 00 00 00 FE B7 EF
  • Total number of files in U disk 7E FF 06 47 00 00 00 FE B4 EF
  • Total number of TF files 7E FF 06 48 00 00 00 FE B3 EF
  • Total number of FLASH files 7E FF 06 49 00 00 00 FE B2 EF


  • U Disk Current Track 7E FF 06 4B 00 00 00 FE B0 EF
  • TF current track 7E FF 06 4C 00 00 00 FE AF EF
  • FLASH Current folder track pointer 7E FF 06 4D 00 00 00 FE AE EF
  • Query the total number of tracks in a folder 7E FF 06 4E 00 00 01 FE AC EF
  • Query the total number of folders in TF or U disk 7E FF 06 4F 00 00 00 FE AC EF


  • Current folder pointer [FLASH] 7E FF 06 61 00 00 00 FE 9A EF


  • Query the total time currently playing 7E FF 06 80 00 00 00 FE 7B EF
  • Query the current playing time 7E FF 06 81 00 00 00 FE 7A EF