Skip to the content
PCBKitNew board
2 layers20.6 × 28 mmDFPlayerMiniUNIT, the printed circuit board in 3D

DFPlayerMiniUNIT

akita11/DFPlayerMiniUNIT

DFPlayerMiniUNIT

Size
20.6 × 28 mm
Copper layers
2
Thickness
1.6 mm
Parts
13
Nets
24
Pads
45
Tracks, vias
66, 6
Pours
1
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
21 Dec 2024
Updated
14 Jan 2025

Overview

DFPlayerMiniUNIT is an open-source printed circuit board by akita11, from the akita11/DFPlayerMiniUNIT repository on GitHub, published under the MIT licence. It is a 2-layer board of 20.6 × 28 mm with 13 parts on 24 nets, routed with 66 tracks and 6 vias.

Its parts include 5 connectors, 3 resistors and 1 diode.

README

README.md

DFPlayerMiniUNIT

※当初掲載していた"DFPlayerMini"をとりつけた状態の写真で、DFPlayerMiniの向きが逆になっていました。こちらの写真が正しいです。

DFRobotの音声プレーヤモジュールDFPlayer(DFPlayerMini)をGrove端子を接続して制御できるモジュールです。Grove端子からシリアル(UART)通信で音声再生などを制御することができます。UIFlow(v1)用のブロックもあります。

※DFPlayerMiniは付属していません

使い方(接続方法)

以下のようにスピーカやアンプを接続し、Grove端子からの制御で音声を再生します。

アンプ付きスピーカに接続する場合

3.5mmジャック(ステレオ:上部中央)に3.5mmステレオケーブル等でアンプに接続します。

スピーカを直接接続する場合

基板中央部の1.25mmピッチコネクタ(Molex 53047-0210用)にスピーカを接続します。市販の小型スピーカ(M5Stack本体に使われているものなど。AliExpressやTaobaoでも同等品があります)を接続することができます。

※当初掲載していた"DFPlayerMini"をとりつけた状態の写真で、DFPlayerMiniの向きが逆になっていました。こちらの写真が正しいです。

3.5mmジャックに直接スピーカを接続する方法

3.5mmジャックに直接スピーカを接続することもできます。その場合は、基板裏面のハンダジャンパを以下のように修正してください。

  • JP1をカット
  • JP2・JP3の中央と△マーク側をカットし、中央と反対側(△マークがない側)をショート

使い方(ソフトウエア)

あらかじめ、microSDカードに使用する音声データ(*.mp3等)をコピーしておき、それをDFPlayerMiniにさしておきます。(このときコピーした順番が、再生時に使用する「曲番号」になります)

UIFlow(v1)での使い方

「DFPlayerMini.m5b」をダウンロードし、UIFlow(v1)の"Custom"の"Open *.m5b"からこのファイルを指定すると、Init、Play、Volume、Stopの4つのブロックを使用できます。

  • DFPlayerMini_Init : 初期化。最初に1回だけ読み出します。"TX"と"RX"には、使用するGroveポート・マイコン本体にあわせて、使用するピン番号を指定します。例えば、M5StackBasicのPortA(本体の赤いコネクタ)の場合は、上図のようにTX=21、RX=22を指定します。M5StackCore2のPortAの場合は、TX=32、RX=33となります。
  • DFPlayerMini_Play : numに指定した「曲番号」の音声を再生します。
  • DFPlayerMini_Volume : volに指定した音量に設定します。
  • DFPlayerMini_Stop : 再生中の音声を停止します。

その他のソフトウエアでの使い方

Arduino用にはライブラリがあるようなので、そちらを使ってもOKです。 あるいは、DFPlayerMiniのデータシート等を参考に、制御コマンドを送信して使用してください。

Author

Junichi Akita (@akita11) / akita@ifdl.jp

Parts

13
QtyValueFootprintReferences
31kResistor_SMD:R_0603_1608MetricR1, R2, R3
2Conn_01x08Connector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalJ1, J4
2Jumper_2_BridgedJumper:SolderJumper-2_P1.3mm_Bridged_Pad1.0x1.5mmJP1, JP2
2SolderJumper_3_Bridged12Jumper:SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mmJP3, JP4
1AudioJack2_Ground_Switchakita:CON_AJ-1780J3
1CON_GROVEakita:CON_GROVE_HCN1
1Conn_01x02Connector_Molex:Molex_PicoBlade_53047-0210_1x02_P1.25mm_VerticalJ2
1LEDLED_SMD:LED_0603_1608MetricD1

Questions

How big is the DFPlayerMiniUNIT PCB?

It measures 20.6 × 28 mm and has 2 copper layers, 1.6 mm thick.

What parts does the DFPlayerMiniUNIT use?

13 parts. 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 DFPlayerMiniUNIT KiCad files?

From the akita11/DFPlayerMiniUNIT repository on GitHub, at the commit this page was made from: the board is DFPlayerMiniUNIT.kicad_pcb and its schematic DFPlayerMiniUNIT.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the DFPlayerMiniUNIT design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 2 layers40 × 20 mmUsb uart, the printed circuit board in 3D

    Usb uart

    earthtojake/text-to-cad

    Design physical products with AI

    13 parts26kMIT
  • 2 layers35 × 29 mmMagSpoofTC, the printed circuit board in 3D

    MagSpoofTC

    samyk/magspoof

    A portable device that can spoof/emulate any magnetic stripe, credit card or hotel card "wirelessly", even on standard magstripe (non-NFC/RFID) readers.

    13 parts4.2k
  • 2 layers20.6 × 23.6 mmAO-03 signal amplifier, the printed circuit board in 3D

    AO-03 signal amplifier

    fossasia/pslab-scripts

    Pocket Science Lab - Scripts for Sensor Experiments

    13 parts1.6kApache-2.0
  • 2 layers47 × 35.6 mmMX7-C-35PL C11, the printed circuit board in 3D

    MX7-C-35PL C11

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    13 parts1.2k
  • 2 layers95 × 95 mmCube batteryboard, the printed circuit board in 3D

    Cube batteryboard

    willem-pennings/balancing-cube

    A cube that balances itself in a corner or edge using reaction wheels

    13 parts1.1kGPL-3.0
  • 2 layers15.2 × 20.3 mmPt100stick, the printed circuit board in 3D

    Pt100stick

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    13 parts1.1kGPL-3.0
  • 2 layers53.9 × 23.2 mmBuffer, the printed circuit board in 3D

    Buffer

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    13 parts1kGPL-3.0