Extension board · Controls and displays
Plays recorded sounds or spoken messages from a microSD card through a small speaker. A bought DFPlayer Mini module does the playing; choose files over a serial port with your own driver, or step through them with two push contacts.
| Purpose | Messages for job end, errors or tool changes |
| Module | DFRobot DFPlayer Mini (DFR0299), socketed; bought separately. Copies differ in behaviour |
| Control | Serial at 9600 baud on contacts 4 (to module) and 5 (from module), busy signal on contact 3, 1 kΩ in series each |
| Outputs | Bridged speaker terminal; line out right, left, ground |
| Triggers | Two contacts to ground (J5), wired to module inputs IO1 and IO2 |
| Supply | 5 V from the socket; allow for peaks of several hundred milliamperes |
| Connectors | Screw terminal, 2.54 mm headers with optional STEMMA JST PH alternatives (J14, J15), two Gadgeteer type U sockets (Samtec SHF-105, 1.27 mm) |
| Size | 70 × 70 mm, four M3 holes on a 60 × 60 mm pattern |
| Works with | Smoothieboard V2 Prime header GB electrically; no firmware driver |
| Licence | Open hardware, CERN-OHL-S-2.0 |
Every figure with its basis is in the electrical specifications appendix; hole positions are in the mounting dimensions appendix.
The numbers on the drawing match the list below it. The board is shown from the component side.
1Player module (U1) — Fit it with the card slot toward the speaker side.
2Speaker terminal (J3) — 8 Ω speaker between the two screws.
3Line out (J4) — Right, left and ground.
4Trigger contacts (J5) — Trigger 1, trigger 2, ground.
5Input socket U IN (J1) — Busy 3, transmit 4, receive 5, 5 V on 2.
6Chain socket CHAIN (J2) — Contacts 6 to 9 pass through.
7Serial resistors (R1 to R3) — 1 kΩ.
8Output resistors (R4 to R7) — 1 kΩ on line out and triggers.
9Supply capacitors (C1 to C3) — Including 220 µF for audio peaks.
10Chain links (JP3 to JP5) — Open as delivered.
11Mounting hole — One of four M3 holes.
Signal names are from the controller’s side: transmit goes into the module.
| Contact | Signal | Use | Prime header GB |
|---|---|---|---|
| 1 | 3.3 V | Passed to the chain | 3.3 V |
| 2 | 5 V | Module supply | 5 V |
| 3 | BUSY_HOST | Playing indication from module | PD9 |
| 4 | TX_HOST | Controller transmit | PB9 (UART1 TX) |
| 5 | RX_HOST | Controller receive | PH14 (UART1 RX) |
| 6 to 9 | Passed through | Not used | PK0, PK1, PH8, PA8 |
| 10 | GND | Ground | GND |
| Connector | Pins |
|---|---|
| J3 | Speaker 1, speaker 2 |
| J4 or J14 | Right, left, ground |
| J5 or J15 | Trigger 1, trigger 2, ground |
Format it FAT32 and copy the audio files following the module maker’s naming rules; insert it into the module.
With power off, card slot toward the speaker side; speaker on J3.
Plug J1 into header GB.
The module has its own light that shows activity.
Briefly connect a trigger pin to ground, or send serial commands from your driver.
The speaker should play a file. The trigger actions are listed on the module maker’s wiki.
| You want | Module | Example |
|---|---|---|
| Play on command | None | No SmoothieV2 driver for the DFPlayer |
| Play from a contact | None | The module reads J5 by itself |
There is nothing to add to config.ini. Serial commands and trigger behaviour are described on the DFRobot wiki.
All decoding and amplification happen on the module. The carrier gives it a well decoupled 5 V supply, protects each signal with a series resistor and brings the outputs to connectors. Check the polarity of the busy signal on your module before depending on it.
A serial port connects two devices only, so leave these links open.
| Link | What it does | As delivered |
|---|---|---|
| JP3 | Joins busy to the chain | Open |
| JP4 | Joins transmit to the chain | Open |
| JP5 | Joins receive to the chain | Open |
A further board can use contacts 6 to 9.
| Contact | Signal | On CHAIN |
|---|---|---|
| 1, 2, 10 | Power and ground | Passed on |
| 3 to 5 | Busy and serial | Stopped by open links |
| 6 to 9 | Free | Passed on |
| Symptom | Likely cause | What to check |
|---|---|---|
| Silent | No card, wrong format, or speaker loose | Card, file names, J3 |
| No serial reply | TX and RX crossed or wrong baud | Test points M_RX and M_TX; 9600 baud |
| Module resets when loud | 5 V dips | Lower the volume; improve the supply |
| Busy signal inverted | Module variant | Invert it in software |
| Trigger does nothing | Contact not to ground, or module variant | J5 wiring; maker’s wiki |
| Light | Meaning |
|---|---|
| Light on the module | Module activity, as defined by the module maker |
Still stuck? Read how to ask for help or see the general troubleshooting guide.
| File | What it is |
|---|---|
| Schematic (PDF) | The circuit diagram |
| Parts list (CSV) | Every component with its value, footprint and part number where one is chosen |
| Board drawing (PNG) | The top view used on this page |
| 3D view, top (PNG) | Rendered from the design files; the module model is approximate |
| 3D view, angled (PNG) | Rendered from the design files; the module model is approximate |
For drilling a mounting plate or designing an enclosure. Positions are hole centres, in millimetres, measured from the top-left corner with the board seen from the component side. Leave access to the card.
| Hole | X (mm) | Y (mm) | Diameter | Use |
|---|---|---|---|---|
| 1 | 5.00 | 5.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 2 | 65.00 | 5.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 3 | 5.00 | 65.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 4 | 65.00 | 65.00 | 3.2 mm, not plated | Mounting, M3 screw |
Every figure is a design value, a calculated or simulated value, or a manufacturer’s data sheet value, as the last column says. A dash means no figure is given.
| Parameter | Applies to | Lower | Nominal | Upper | Basis |
|---|---|---|---|---|---|
| Supply | 5 V | 3.2 V | 5 V | 5 V | Module maker |
| Serial | Contacts 4, 5 | — | 9600 baud, 3.3 V | — | Module maker |
| Speaker | J3 | — | 8 Ω | 3 W | Module maker |
| Serial edge time | Module input | — | 66 ns | 5 µs | Simulated |
| High level at module | Module input | 3.0 V | 3.3 V | 3.35 V | Simulated |
| 5 V dip on an assumed 0.6 A, 100 µs peak | 5 V | — | 0.11 V | 0.35 V | Simulated |
| Part | Limit | Use on this board |
|---|---|---|
| Speaker output | Bridged | Never ground or short it |
| 5 V supply | Shared host regulator | Audio peaks |
| Capacitors | 10 V and 16 V | 5 V |
The serial input and the supply dip during an audio peak were simulated with ngspice; the peak current is an assumption.
| Result | Simulated value | Limit | Outcome |
|---|---|---|---|
| Serial edge at the module (bit time 104 us) | 65.8 ns | at most 5 µs | Within |
| High level | 3.3 V | 3 V to 3.35 V | Within |
| 5 V droop for an assumed 0.6 A, 100 us audio peak | 107 mV | at most 350 mV | Within |
Not simulated: the module, audio quality and its real current.
The first page of the module data sheet. Click the page to open the PDF. It is a distributor copy.
See all boards on the extension boards page.