DIYables MP3 Player Module for Arduino, ESP32, ESP8266, Raspberry Pi
Click to zoom






Quick Overview
This MP3 player module provides audio playback functionality for Arduino, ESP32, ESP8266, and Raspberry Pi projects. It supports MP3 and WAV file formats stored on a microSD card, with a 3.5mm AUX output jack for connecting speakers or headphones.
The module communicates via serial interface (9600 baud) for easy microcontroller integration. Perfect for music players, alarm systems, voice prompts, sound effects, and interactive audio projects. Operating voltage range of 3.2-5.2V DC makes it compatible with most microcontrollers.
Good to know: play with index follows the copy order
The module numbers your songs in the order the files were copied to the microSD card, not by their file names. If you copy Rain.mp3 first, then Birds.mp3, then Alarm.mp3, the "play with index" command with index 1 plays Rain.mp3, even though Alarm.mp3 comes first by name. To get the order you want:
- Format the microSD card (up to 32GB) as FAT16 or FAT32.
- Copy the songs to the card one at a time, in the order you want them to play.
To pick songs by name instead, put them in a folder named 01, start each file name with a number (001xxx.mp3, 002xxx.mp3 and so on), and use the "play with folder and file name" command.
Good to know: not playing? Swap TX and RX
Some versions of this board have the RX and TX pins swapped. If the module does not play, swap the two serial wires. For example, if the module's TX goes to pin 7 and its RX to pin 6, change them to TX to pin 6 and RX to pin 7.
Key Features
- MP3/WAV Support: Plays MP3 and WAV audio files
- 3.5mm AUX Output: Female connector for speakers or headphones
- MicroSD Card Slot: Storage for audio files
- Serial Interface: 9600 baud rate communication
- Wide Voltage Range: 3.2V-5.2V DC operation
- Wide Compatibility: Arduino, ESP32, ESP8266, Raspberry Pi
- Easy Integration: Simple serial commands
- Versatile Applications: Music players, alarms, voice prompts
SPECIFICATION
| Specification | Value |
|---|---|
| Product Type | MP3 Player Module |
| Supported Formats | MP3, WAV |
| Storage | MicroSD card slot |
| Audio Output | 3.5mm AUX female connector |
| Supply Voltage | 3.2V-5.2V DC |
| Communication | Serial UART (9600 baud) |
Tutorials
- Arduino - MP3 Player Module
- Arduino Uno R4 - MP3 Player Module
- Arduino Nano - MP3 Player Module
- Arduino Nano ESP32 - MP3 Player Module
- Arduino Nano 33 IoT - MP3 Player Module
- Arduino Mega - MP3 Player Module
- Arduino Giga R1 WiFi - MP3 Player Module
- Arduino MicroPython - MP3 Player Module
- ESP32 - MP3 Player Module
- ESP32-S3 - MP3 Player Module
- ESP32-S3 Uno - MP3 Player Module
- ESP32 MicroPython - MP3 Player Module
- ESP8266 - MP3 Player Module
- Raspberry Pi Pico - MP3 Player Module
COMPATIBLE HARDWARE
- Arduino boards (UNO, Mega, Nano, etc.) - Serial interface required
- ESP32 development boards - UART communication
- ESP8266 (NodeMCU, Wemos D1, etc.) - Serial pins
- Raspberry Pi (all models) - Serial/UART
- Raspberry Pi Pico - UART interface
- Any microcontroller with 3.2V-5.2V UART/Serial capability
- Requires: Speakers or headphones with 3.5mm jack, microSD card
FRITZING PART
- Download DIYables MP3 Player Module Fritzing Part (.fzpz) — Import into Fritzing to draw wiring diagrams and breadboard layouts with this board
- Download DIYables AUX Speaker Fritzing Part (.fzpz) — A speaker with a 3.5mm AUX plug that plugs into this module's audio jack in Fritzing









