MP3

![]() | ![]() | ![]() | ![]() |
MP3 Micro SD Player
- Overview
- Drivers
- Samples
Play MP3 audio/music from files found on the attached Micro SD card. The audio quality is reasonable and single mono channel. There is no system load as the module only receives and processes simple commands, like start
playing, or stop
. The files on the Micro SD card are saved in standard FAT16/FAT32 file system and can handle SD cards up to 32GB. Note that you will not have access to the files directly. Only the MP3 decoder can read the files. You will need to move the Micro SD card to a PC to load it with MP3 files.
Micro SD card is required and is not included.
Key features • MP3 decoder | Resources |
See Drivers page for further details.
Function | Description |
---|---|
SendCmd(c, a) | Send c command & a argument to mp3 module. |
WResponse(t, c, a) | t timeout, c code, a argument. Wait for response. |
Stop() | Stop playing. |
SetVol(v) | Sets v volume. (Min 0, max 30) |
IsBusy() | Returns 1 if busy. |
Loop(r) | Sets r repeat. |
Rst() | Reset mp3 module. |
PlayFile(f, d) | Play file. f Files and d directories must be named in numerics. |
DVer() | This driver version. |
Example: The function PlayFile(3, 1) will play file named 003.mp3
in a folder named 01
. Max MP3 file number is 255 in a single folder, and max folder count is 99.
The Code!
loading...
Samples assumes Drivers are installed.
- Script
loading...
loading...
loading...
Ordering Info
Product | Part Number | Price | DUELink MP3 Micro SD Player | GDL-SOMP3-A | $00.00 |
---|