Skip to the content
4 layers80 × 42 mmMini df player, the printed circuit board in 3D

A custom MP3 audio player PCB designed around an STM32 microcontroller and the DFPlayer Mini audio module.

Size
80 × 42 mm
Copper layers
4
Thickness
1.6 mm
Parts
68
Nets
86
Pads
264
Tracks, vias
524, 87
Pours
5
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
23 Aug 2026
Updated
23 Aug 2026

Overview

Mini df player is an open-source printed circuit board by RohanRathod2605, from the RohanRathod2605/PCB_HOBBY_PROJECTS repository on GitHub. It is a 4-layer board of 80 × 42 mm with 68 parts on 86 nets, routed with 524 tracks and 87 vias.

It is built around the TLV2372IP, TPS62162DSG and DFR0768, with the TP4056-42-ESOP8, FFC3B07-04-T and PTVS5V0Z1USKYL among its other parts. Its parts include 24 resistors, 19 capacitors, 7 ICs, 6 switches and 4 connectors. It belongs with the STM32 boards of this library.

Main components

6

README

Mini_df_player/README.md

Mini DF Player

A custom MP3 audio player PCB designed around an STM32 microcontroller and the DFPlayer Mini audio module.

The project combines a microcontroller-based control system, local MP3 playback, physical control switches, display connectivity, external flash/debug pins, audio signal conditioning, and regulated power rails on a custom 4-layer PCB.

Project status: PCB design / hardware project. Firmware and validation details will be documented separately as the project develops.


Features

  • STM32-based control system
  • DFPlayer Mini for MP3 playback
  • Physical control buttons for:
    • Play / Pause
    • Next Song
    • Previous Song
    • Volume +
    • Volume -
  • Display connector with:
    • I²C SDA
    • I²C SCL
    • +5 V
    • GND
  • SWD programming/debug interface
  • UART connection between the STM32 and DFPlayer Mini
  • Audio output through a 3.5 mm audio jack
  • Audio balancing / signal-conditioning stage
  • +5 V and +3.3 V power rails
  • Battery and USB power input provisions
  • Dedicated test points for power/debug measurements
  • Custom 4-layer PCB layout

Hardware Architecture

The board is divided into several functional sections:

1. Power Supply

The power section provides the required supply rails for the system.

  • USB 5 V input
  • Battery input provisions
  • +5 V rail
  • +3.3 V rail
  • Power filtering and decoupling
  • Power-status / power-flag connections

2. Microcontroller

The main controller is an STM32F030K6T6-class STM32 device.

It handles the user-interface controls and communicates with the audio module.

Main connections include:

  • Play / Pause
  • Next Song
  • Previous Song
  • Volume +
  • Volume -
  • UART TX / RX
  • SWD programming/debug interface
  • Reset / Boot configuration

3. DFPlayer Mini

The DFPlayer Mini is used as the MP3 decoding and playback module.

The STM32 communicates with the module through UART.

The module provides left and right audio outputs, which are routed through the audio conditioning section before reaching the audio connector.

4. User Controls

Five push buttons are provided for the main player controls:

SwitchFunction
SW1Play / Pause
SW2Next Song
SW3Previous Song
SW4Volume +
SW5Volume -

5. Display Interface

A dedicated connector is provided for an external display.

The interface exposes:

  • +5 V
  • GND
  • SDA
  • SCL

This allows an I²C-based display to be connected to the player.

6. Programming and Debugging

A dedicated SWD interface is provided for programming and debugging the STM32.

The board also exposes test points and serial connections useful during development and debugging.

7. Audio Section

The left and right audio channels from the DFPlayer Mini pass through an analog conditioning / balancing stage before reaching the 3.5 mm audio jack.

The audio section includes coupling capacitors, resistors, biasing components, and operational-amplifier stages.


PCB Design

The PCB is designed as a 4-layer board.

Layer stack:

LayerType
F.CuSignal
In1.CuPower Plane
In2.CuPower Plane
B.CuSignal

Mini DF Player Layer Stack

The internal copper layers are used as power planes, while the outer layers are primarily used for signal routing and component placement.

The board includes:

  • Through-hole and SMD components
  • Grounding and power distribution
  • Dedicated mounting holes
  • Test points
  • External connector footprints
  • DFPlayer Mini module footprint
  • STM32 QFP package
  • Audio jack
  • User-interface switches

Schematic

The schematic is organized into functional blocks:

  • Power Supply
  • Switch Block
  • Flash / Debug Pins
  • Display Connector
  • DFPlayer Mini
  • Reference Voltage
  • STM32 Microcontroller
  • Audio Balancer

Schematic

Mini DF Player Schematic


PCB Layout

Mini DF Player PCB Layout

The PCB layout shows the component placement, routing, power-plane arrangement, mounting holes, connectors, and interface sections.


3D View

Mini DF Player 3D View

The 3D view is used to verify component placement, board dimensions, connector orientation, and the overall mechanical arrangement before fabrication.


Project Structure

text
Mini_df_player/
│
├── README.md
├── .gitignore
│
├── schematic/
│   └── ...
│
├── pcb/
│   └── ...
│
├── images/
│   ├── PCB_Schematic.png
│   ├── PCB_Layout.png
│   ├── 3D.png
│   └── Layer_Stack.png
│
├── firmware/
│   └── ...
│
└── datasheets/
    └── ...

The exact folder structure can be expanded as firmware, documentation, and manufacturing files are added.


Tools

  • KiCad — schematic capture and PCB design
  • STM32 — main microcontroller
  • DFPlayer Mini — MP3 playback
  • Git / GitHub — version control and project documentation

Design Goals

The main goal of this project is to build a compact, custom MP3 player rather than relying on a ready-made development board.

The design focuses on:

  • Understanding the complete hardware signal path
  • STM32 peripheral integration
  • UART-based control of the DFPlayer Mini
  • I²C display interfacing
  • Analog audio signal conditioning
  • Power-rail design
  • PCB layout and routing
  • Debug/programming accessibility
  • Practical 4-layer PCB design

Future Work

Planned documentation and development can include:

  • STM32 firmware
  • Button debouncing and user-interface logic
  • DFPlayer Mini command handling
  • Display interface and UI
  • Volume and playback control
  • Battery management
  • Hardware testing results
  • PCB fabrication details
  • Assembly photographs
  • Bring-up and debugging notes

Author

Rohan Rathod

Electronics & Communication Engineering
Embedded Systems / PCB Design / Hardware Design Engineer

Parts

68
QtyValueFootprintReferences
5100nFCapacitor_SMD:C_0805_2012MetricC6, C7, C9, C11, C16
522uFCapacitor_SMD:C_0805_2012MetricC8, C12, C13, C15, C18
5SW_PushButton_Switch_SMD:SW_Push_1P1T_NO_CK_KMR2SW1, SW2, SW3, SW4, SW5
410KResistor_SMD:R_0805_2012MetricR1, R2, R7, R8
3100kResistor_SMD:R_0805_2012MetricR9, R13, R19
310ufCapacitor_SMD:C_0805_2012MetricC2, C4, C5
2100KResistor_SMD:R_0805_2012MetricR23, R24
210kResistor_SMD:R_0805_2012MetricR17, R18
210uFCapacitor_SMD:C_0805_2012MetricC10, C14
21KResistor_SMD:R_0805_2012MetricR21, R22
21kResistor_SMD:R_0805_2012MetricR14, R15
233Resistor_SMD:R_0805_2012MetricR3, R4
24.7kResistor_SMD:R_0805_2012MetricR5, R6
2470ufCapacitor_SMD:C_0805_2012MetricC19, C20
25.1KResistor_SMD:R_0805_2012MetricR10, R11
2LEDLED_SMD:LED_1206_3216MetricD2, D3
2TLV2372Package_SO:SOIC-10_3.9x4.9mm_P1mmU2, U8
2TestPointTestPoint:TestPoint_Pad_2.5x2.5mmTP1, TP2
1100uFCapacitor_SMD:C_0805_2012MetricC1
110uHInductor_SMD:L_1206_3216MetricL1
11uHResistor_SMD:R_0805_2012MetricL2
12KResistor_SMD:R_0805_2012MetricR16
1316KResistor_SMD:R_0805_2012MetricR12
147uFCapacitor_SMD:C_0805_2012MetricC17
1510kResistor_SMD:R_0805_2012MetricR20
1AudioJack3Connector_Audio:Jack_3.5mm_CUI_SJ-3523-SMT_HorizontalJ6
1Conn_01x05_PinConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ2
1DFR0768DFR0768-DFROBOT-Symbol-Kicad-563352:DFR0768U1
1FFC3B07-04-TFFC3B07-04-T:GCT_FFC3B07-04-TJ1
1Fuse_SmallFuse:Fuse_0805_2012MetricF1
1PTVS5V0Z1USKDiode_SMD:Nexperia_DSN1608-2_1.6x0.8mmD1
1STM32F030K6TxPackage_QFP:LQFP-32_7x7mm_P0.8mmU4
1SW_SPSTButton_Switch_SMD:SW_Push_1P1T_NO_CK_KMR2SW6
1TP4056-42-ESOP8Package_SO:SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.41x3.3mm_ThermalViasU3
1TPS61023DRLRfootprints:DRL0006AU7
1TPS62162DSGPackage_SON:WSON-8-1EP_2x2mm_P0.5mm_EP0.9x1.6mm_ThermalViasU5
1USB_C_Receptacle_USB2.0_14PConnector_USB:USB_C_Receptacle_GCT_USB4085J4

More from RohanRathod2605/PCB_HOBBY_PROJECTS

1
  • 2 layers60 × 60 mmArduino Uno, the printed circuit board in 3D

    Arduino Uno

    RohanRathod2605/PCB_HOBBY_PROJECTS

    A custom MP3 audio player PCB designed around an STM32 microcontroller and the DFPlayer Mini audio module.

    28 parts

Similar boards

  • 8 layers24 × 27.3 mmExpansion Card Retrofit, the printed circuit board in 3D

    Expansion Card Retrofit

    cdg66/ExAce

    Framework ExpansionFPGA acceleration module

    207 parts37CC-BY-4.0
  • 4 layers100 × 75 mmOpenAirScope, the printed circuit board in 3D

    OpenAirScope

    emertcakir/OpenAirScope

    Open-source air quality and environmental monitoring node with STM32H743 + ESP32-C3, LoRaWAN, RS485, USB-C, Li-ion charging, and multi-sensor support.

    282 parts26MIT
  • 4 layers52.7 × 42.5 mmOmniProbe, the printed circuit board in 3D

    OmniProbe

    emertcakir/OmniProbe

    Open-source SWD, JTAG, UART, SPI, I2C and Logic Analyzer platform powered by RP2040

    77 parts4MIT
  • 2 layers99.5 × 99.5 mmBalancer, the printed circuit board in 3D

    Balancer

    kwiecinski/BMS-and-offgrid-photovoltaic-management-system

    Project contains BMS for lead-acid batteries and ESP-based board used to pull information from EASUN offgrid inverter, energy meters and sensors.

    173 parts3MIT
  • 2 layers66.6 × 41.3 mmUPIC46, the printed circuit board in 3D

    UPIC46

    emertcakir/uPIC46

    PIC18F46K22-based versatile development board with CAN, RS-485, EEPROM, RTC, and user LEDs

    111 parts2MIT
  • 4 layers66.2 × 48 mmNOVQCOREV1, the printed circuit board in 3D

    NOVQCOREV1

    Durgpratap07/NovaCore-V1

    Professional open-source STM32G431 development platform featuring a 4-layer PCB, USB Type-C, modular interfaces, and production-inspired hardware design for embedded systems development.

    49 parts1
  • 2 layers40.5 × 27 mmNewProjectSTP, the printed circuit board in 3D

    NewProjectSTP

    An0d3-hue/KiCad-mini-workshop

    8 parts
  • 4 layers100 × 100 mmData logger, the printed circuit board in 3D

    Data logger

    Conor-Dunlop/FYP_datalogger

    render of the datalogger with power board (yes i know it need routed)

    176 parts

Questions

How big is the Mini df player PCB?

It measures 80 × 42 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Mini df player use?

68 parts, built around the TLV2372IP, TPS62162DSG, DFR0768 and TP4056-42-ESOP8. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Mini df player KiCad files?

From the RohanRathod2605/PCB_HOBBY_PROJECTS repository on GitHub, at the commit this page was made from: the board is Mini_df_player/Mini_df_player.kicad_pcb and its schematic Mini-Arduino/Arduino_Uno.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Mini df player design in my own project?

Its repository states no licence, so its author keeps all rights: ask RohanRathod2605 before reusing the design.