Descrição
The VS1053 MP3 Player Shield is an expansion board for Arduino that plays audio files stored on a TF (microSD) memory card. The heart of the module is the VS1053B codec, which decodes MP3, Ogg Vorbis, AAC, WMA and MIDI, plus WAV. The board also records audio from the built-in microphone or from a line-in input, which makes it useful for music player projects, sound alert players, voice recorders, or any application that needs stereo audio output with headphones.
How to connect and use: plug the shield directly onto a compatible Arduino board, with no additional wires, and connect the Arduino to your computer with a USB cable to upload the program. It was designed for Arduino Uno and Arduino Mega (on the Mega, some versions require jumpers on a few pins). Place the music files on a TF card formatted in FAT16 or FAT32 and insert the card into the slot on the back of the board. Communication with the Arduino is done via SPI. The control pins used by the board vary depending on the shield version, so check the silkscreen on your board and the indicated library before assembling the project. To play a file, the program calls the library, which receives the file name on the card. Connect headphones with a P2 (3.5 mm) plug to the stereo output to listen to the audio.
SPECIFICATIONS
Model: VS1053 MP3 Player Shield
Brand: OEM
Main integrated circuit: VS1053B (VLSI Solution)
Compatible microcontroller: Arduino
Operating voltage: 5 V
Maximum recommended and limit input voltage: 5 V
Minimum recommended and limit input voltage: 5 V
Power supply: 5 VDC, with 3.3 V and 2.8 V LDO regulators on the board
Available current: up to 800 mA
Clock crystal: 12.288 MHz
Playback formats: MP3, Ogg Vorbis, AAC, WMA, MIDI, WAV (PCM and IMA ADPCM); FLAC only with software plugin
Recording formats: Ogg Vorbis (with software plugin), IMA ADPCM and 16-bit PCM
Control interface: SPI
Storage: TF (microSD) card slot, compatible with FAT16 and FAT32
Audio output: stereo, P2 (3.5 mm) connector for headphones, with internal amplifier that drives 30 ohm headphones without an external power source
Audio inputs: built-in microphone, P2 external microphone input and line-in input
Indicator: power LED
Chip operating temperature: -30 °C to +85 °C (some datasheet versions list -40 °C as the lower limit)
Includes USB cable: No
WHAT YOU NEED ALSO
A USB cable to program the Arduino, a TF (microSD) card formatted in FAT16 or FAT32 with the audio files, headphones or a speaker with a P2 plug (for an external speaker, an amplifier is required, since the shield output is for headphones), and the VS1053 software library for the Arduino IDE.
ATTENTION
The most common mistake is the card's file names and formatting: the library expects files named like track001.mp3, track002.mp3, and the card must be FAT16 or FAT32. Files with other names or a card in exFAT will not be found and the player will not play.