Skip to the content
2 layers22.9 × 31.8 mmDFPlayerProUNIT, the printed circuit board in 3D

DFPlayeProUNIT

Size
22.9 × 31.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
16
Nets
20
Pads
47
Tracks, vias
134, 4
Pours
1
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
21 Dec 2024
Updated
2 Jan 2025

Overview

DFPlayerProUNIT is an open-source printed circuit board by akita11, from the akita11/DFPlayerProUNIT repository on GitHub, published under the MIT licence. It is a 2-layer board of 22.9 × 31.8 mm with 16 parts on 20 nets, routed with 134 tracks and 4 vias.

Its parts include 10 connectors and 2 resistors.

README

README.md

DFPlayerProUNIT

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

※DFPlayerProは付属していません

使い方(接続方法)

以下のようにスピーカやアンプを接続し、Grove端子からの制御で音声を再生します。また基板上の"PAYE"と"KEY"のシルクが示されている2組の端子は、それぞれDFPlayerProのKEY、PLAY端子に接続されていますので、これらを使って再生を制御することもできます(詳細はDFPlayerProのマニュアルを参照してください)

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

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

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

本体上部の2つの2.54mmた端子にスピーカを接続します。spkLとspkRがそれぞれお左と右のスピーカです。基板中央部に1.25mmピッチコネクタ(Molex 53047-0210用)をとりつける端子があり、市販の小型スピーカ(M5Stack本体に使われているものなど。AliExpressやTaobaoでも同等品があります)を接続することができます。

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

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

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

使い方(ソフトウエア)

あらかじめ、DFPlayerProをUSB Type-Cケーブルを使ってPCへ接続し、現れるドライブに使用する音声データ(*.mp3等)をコピーしておきます。(このときコピーした順番が、再生時に使用する「曲番号」になります)

UIFlow(v1)での使い方

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

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

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

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

Author

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

Parts

16
QtyValueFootprintReferences
4Conn_01x02Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ4, J5, J6, J7
21kResistor_SMD:R_0603_1608MetricR1, R2
2Conn_01x02Connector_Molex:Molex_PicoBlade_53047-0210_1x02_P1.25mm_VerticalJ8, J9
2Conn_01x06Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalJ1, J2
2Jumper_2_BridgedJumper:SolderJumper-2_P1.3mm_Bridged2Bar_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

Similar boards

  • 2 layers140.5 × 30 mmType e, the printed circuit board in 3D

    Type e

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    16 parts3kApache-2.0
  • 2 layers41.4 × 14.5 mmU2f zero, the printed circuit board in 3D

    U2f zero

    conorpp/u2f-zero

    U2F USB token optimized for physical security, affordability, and style

    16 parts2.4k
  • 2 layers122 × 37 mmV0-UmbilicalBoard, the printed circuit board in 3D

    V0-UmbilicalBoard

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    16 parts1.1kGPL-3.0
  • 2 layers152 × 57.6 mmVideoslotadapter, the printed circuit board in 3D

    Videoslotadapter

    hoglet67/RGBtoHDMI

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

    16 parts1kGPL-3.0
  • 2 layers36 × 63.4 mmSmart ringfinal layout, the printed circuit board in 3D

    Smart ringfinal layout

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    16 parts915
  • 2 layers60 × 40 mmHASwitchPlate, the printed circuit board in 3D

    HASwitchPlate

    aderusha/HASwitchPlate

    LCD touchscreen for Home Automation

    16 parts738MIT
  • 2 layers21.1 × 26.9 mmDemo, the printed circuit board in 3D

    Demo

    easyw/kicadStepUpMod

    kicadStepUp: ECAD to MCAD FreeCAD WorkBench

    16 parts704

Questions

How big is the DFPlayerProUNIT PCB?

It measures 22.9 × 31.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the DFPlayerProUNIT use?

16 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 DFPlayerProUNIT KiCad files?

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

Can I use the DFPlayerProUNIT 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).