Description
What it is
The VS1003 module is a multi-platform audio component for Arduino that allows the playback and recording of MP3, WMA, WAV, and MIDI files. It includes an integrated microphone for audio recording.
Features
- Supports MP3, WMA, WAV, and MIDI formats
- Integrated microphone for audio recording
What it is for
Ideally suited for audio projects on Arduino. Typical uses include creating a digital radio that plays MP3 tracks from an SD card, or implementing voice or interactive audio recording systems.
Tutorial: How to use VS1003 Audio Codec
Audio module for playing and recording MP3/WMA/WAV/Midi on Arduino. Ideal for audio projects.
What you need
- Arduino Uno
- VS1003 module
- 5V power supply
Steps
- Connect VS1003 to Arduino: VCC to 5V, GND to GND.
- Connect TX and RX of VS1003 to Arduino UART pins (e.g., 0 and 1).
- Connect SPI data: SCK to 13, MISO to 12, MOSI to 11, SS to 10.
- Install the Adafruit_VS1053 library for VS1003.
- Load the example sketch provided by the library.
- Check that the module connects correctly using Serial Monitor.
- Play back an MP3 file previously loaded onto SD card.
- Record audio through the built-in microphone and save it to the SD card.
Example code
// Includi la libreria
#include <Adafruit_VS1053.h>
// Configura il modulo VS1003
Adafruit_VS1053_FilePlayer player;
void setup() {
Serial.begin(9600);
player.begin();
}
void loop() {
// Riproduci un file MP3
player.playFile("/track.mp3");
}
Mini project
Create a digital radio with VS1003 that plays MP3 tracks from an SD card.
Common mistakes
- SPI connection error.
- Insufficient power supply issues.
- Audio files not correctly formatted.
- Built-in microphone not recognized.
Recommended accessories
- SD Card Module
- Breadboard
- M/F Jumpers
- USB Cable for Arduino
Frequently asked questions
How to install the library?
Download and install Adafruit_VS1053 via Arduino IDE Library Manager.
Which audio formats are supported?
MP3, WMA, WAV and MIDI. Check the datasheet for details.








Reviews
There are no reviews yet.