DIYables Mini MP3 Player Module for Arduino, ESP32, ESP8266, Raspberry Pi - Compact Audio Playback for DIY Projects

Audio
$6.99
Final price shown on Amazon
Buy on Amazon
Mini MP3 player module 2-pack with microSD card slot for Arduino audio projects Click to zoom
Mini MP3 player module 2-pack with microSD card slot for Arduino audio projectsMini MP3 player module features: presoldered pins, microSD card slot up to 32GB, built-in amplifier for a 3W speaker, UART serial control at 9600 baud, status LED, and free Arduino and MicroPython library with tutorialsCompact UART serial MP3 player module for ESP32 ESP8266 DIY electronicsMP3 module pinout diagram showing UART TX RX and speaker connectionsDIYables mini MP3 player module pinout diagram with labeled pins for UART TX, RX, power, ground, and speaker connections for Arduino and microcontroller integrationDIYables mini MP3 player module wiring diagram showing UART connections between Arduino, ESP32, and ESP8266 microcontrollers with power supply and speaker output terminals

Quick Overview

The DIYables mini MP3 player module provides compact audio playback for embedded projects. It plays MP3 files stored on a microSD/TF card (up to 32GB) and communicates via UART serial interface, making it simple to integrate with microcontrollers.

This 2-pack includes two MP3 player modules ideal for robotics, IoT audio applications, voice prompts, sound effects, and DIY electronics. The modules support multiple control modes including onboard button, serial commands, and AD key control. They work with Arduino, ESP32, ESP8266, Raspberry Pi, and other microcontrollers.

Key Features

  • Compact Size — Small form factor for space-limited projects
  • TF Card Support — Compatible with microSD/TF cards up to 32GB
  • UART Serial Communication — Simple serial interface for microcontroller control
  • Multiple Control Modes — Supports onboard button, serial, and AD key control
  • 2-Pack — Includes two modules for multiple projects or backup
  • Easy Integration — Beginner-friendly for DIY electronics and robotics
  • Tutorial Support — Comprehensive tutorials for Arduino, ESP32, ESP8266, and Raspberry Pi

SPECIFICATION

Specification Value
Product Type Mini MP3 Player Module
Communication UART serial interface
Storage Support MicroSD/TF card up to 32GB
Control Modes Onboard button, Serial commands, AD key control
Audio Format MP3
Operating Voltage 3.2V - 5V DC
Output Speaker terminals and 3.5mm audio jack
Baud Rate 9600 bps (default)
Dimensions Compact mini module
Package Quantity 2 pieces

HOW IT WORKS

Your microcontroller plays each song by its track number. For example, mp3.play(1) plays track 1 and mp3.play(2) plays track 2. Track numbers start from 1.

Track numbers follow the copy order, not the file names

The module numbers the MP3 files in the order they were copied to the microSD card. The file names do not decide the order. If you copy hello.mp3 first and then alarm.mp3, hello.mp3 is track 1 and alarm.mp3 is track 2, even though alarm.mp3 comes first by name.

Prepare the microSD card

  1. Format the microSD card (up to 32GB) as FAT16 or FAT32.
  2. Copy the MP3 files to the root of the card one by one, in the order you want them to play.
  3. Name the files 001.mp3, 002.mp3, 003.mp3 and so on, so their names match their track numbers and are easy to manage.

Numbered folders

You can also sort the files into folders named 01 to 99, with files named 001.mp3 to 255.mp3 inside each folder. Then your code plays a track by its folder number and track number.

COMPATIBLE HARDWARE

  • Arduino boards (UNO, Mega, Nano, etc.)
  • ESP32 development boards
  • ESP8266 (NodeMCU, Wemos D1, etc.)
  • Raspberry Pi (all models)
  • Any microcontroller with UART serial communication