Project Files of DFPlayer Mini Library for Proteus V1.0: MP3 Player Module + Arduino
dfplayer-mini-tep-v1-0-34c6a46f2f8841f1a53e25a6b47e7bb8.zip

DFPlayer Mini Library for Proteus V1.0
DFPlayer Mini Library for Proteus V1.0 comes as a ZIP archive of 10 files (1.2 MB, 2.7 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware.
- LIBProteus library
- DLLProteus model
- DSNProteus simulation
- INOArduino sketch
- HEXHEX firmware
Description
This is the download page of DFPlayer Mini Library for Proteus V1.0, the file package of the tutorial DFPlayer Mini Library for Proteus V1.0: MP3 Player Module + Arduino, published on The Engineering Projects in October 2026. Here you get the ZIP file (1.2 MB) with the Proteus library files (LIB and IDX), the simulation model (DLL), a ready Proteus simulation, an Arduino sketch and the compiled HEX firmware, the list of files it contains, the README when there is one, and the installation steps in order.
What this library is
DFPlayer-Mini-Library-for-Proteus-v1.0.zip with the DFPlayer Mini MP3 module (the 7E FF 06 frames of its datasheet at 9600 baud, a demo micro SD card with 14 files, BUSY, folders, MP3 and ADVERT, errors and the card out / in), Simple and Advance (TEPDFPLAYER.LIB and TEPDFPLAYER.DLL), our Arduino UNO V4.0 library with its built-in serial monitor (ArduinoV4TEP.LIB and TEPARDUINO.DLL), the two-UNO simulation with its HEX file, the demo sketch and a README.
This is version 1.0; older or newer releases, when they exist, are listed in the Development tab.
What is inside the ZIP file
- ArduinoV4TEP.LIB – Proteus library, 201.9 KB
- TEPDFPLAYER.LIB – Proteus library, 82.9 KB
- TEPARDUINO.DLL – Simulation model, 883.5 KB
- TEPDFPLAYER.DLL – Simulation model, 298 KB
- DFPlayer-Mini-MP3-ArduinoUnoV4.pdsprj – Proteus simulation, 24.6 KB
- DFPlayer_Demo.ino – Arduino sketch, 6 KB
- and 4 more, all listed in the File Structure tab
The archive unpacks to 2.7 MB and carries its own README (README.txt), shown in the README tab above.
How to download
Use the download panel at the top of this page: after the counter (30 seconds for guests, 10 for members) the black button unlocks and the ZIP file comes straight from our content network. If the browser opens it instead of saving, use Save as; extract the whole archive before using anything inside it.
How to install
- Step 1: Extract the ZIP file with Windows (Extract All), 7-Zip or WinRAR, keeping its folders.
- Step 2: Close Proteus and copy ArduinoV4TEP.LIB and TEPDFPLAYER.LIB into its LIBRARY folder (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY).
- Step 3: Copy TEPARDUINO.DLL and TEPDFPLAYER.DLL into the MODELS folder next to it, so the part simulates.
- Step 4: Start Proteus, press P and search for "ArduinoV4TEP"; place and wire it as in the tutorial.
- Step 5: Open DFPlayer_Demo.ino in the Arduino IDE, pick board and port and Verify (Export Compiled Binary gives the HEX).
- Step 6: In Proteus set the controller's Program File to DFPlayer_Demo.hex; on hardware, flash the same file.
- Step 7: Open DFPlayer-Mini-MP3-ArduinoUnoV4.pdsprj in Proteus and press Play.
Read the detailed guide
This page is for the files. The full tutorial, DFPlayer Mini Library for Proteus V1.0: MP3 Player Module + Arduino, explains the circuit and the code step by step and shows the working results and the simulation; read it before you build. Questions about the download or the installation go in the comments below; more Proteus downloads are listed further down this page.
File Structure
6 KB201.9 KB82.9 KB883.5 KB298 KB24.6 KB30.1 KB883.5 KB298 KB23.4 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in DFPlayer Mini Library for Proteus V1.0: MP3 Player Module + Arduino. Open an image for its full size.












README
DFPLAYER MINI LIBRARY FOR PROTEUS - V1.0 (MP3 MODULE WITH A MICRO SD CARD)
Designed by The Engineering Projects
www.TheEngineeringProjects.com
IMPORTANT LINKS
Article (read it first - pictures, step by step, every feature explained):
https://www.theengineeringprojects.com/2026/10/dfplayer-mini-library-for-proteus-v1-0.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/dfplayer-mini-proteus-library
The demo runs on our Arduino UNO V4.0 (included) - working LEDs, RESET and a
built-in serial monitor, no Virtual Terminal to wire - its own article:
https://www.theengineeringprojects.com/2026/10/arduino-uno-library-for-proteus-v40.html
The built-in monitor is our TEP Serial Monitor Advance - its own article:
https://www.theengineeringprojects.com/2026/10/serial-monitor-advance-proteus-library.html
The demo sketch uses two Arduino libraries (not included - install them with
the Library Manager of the Arduino IDE):
DFRobotDFPlayerMini 1.0.6 (GNU LGPL):
https://github.com/DFRobot/DFRobotDFPlayerMini
AltSoftSerial 1.4 (MIT licence), the serial port on D8 / D9:
https://github.com/PaulStoffregen/AltSoftSerial
The datasheet the model is written from: the FN-M16P Embedded MP3 Audio
Module datasheet (Flyron Technology, V1.0) - it ships with the
DFRobotDFPlayerMini library (folder doc); the DFPlayer Mini uses the same
serial protocol.
Support us (the libraries are free):
https://www.theengineeringprojects.com/donate
FILE STRUCTURE
DFPlayer-Mini-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (UNO), to LIBRARY
| |-- TEPDFPLAYER.LIB 82.9 KB the DFPlayer Mini (2 parts), to LIBRARY
|-- Proteus Model Files/
| |-- TEPARDUINO.DLL 883.5 KB the Arduino board model, to MODELS
| |-- TEPDFPLAYER.DLL 298.0 KB the DFPlayer Mini model, to MODELS
|-- Proteus Simulation/
| |-- DFPlayer_Demo.hex 30.1 KB both UNOs (demo sketch V1.0)
| |-- DFPlayer-Mini-MP3-ArduinoUnoV4.pdsprj 24.6 KB demo: 2 UNOs, two DFPlayer Minis
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPDFPLAYER.DLL 298.0 KB copy of the model
|-- Arduino Code/
| |-- DFPlayer_Demo/DFPlayer_Demo.ino 6.0 KB the demo sketch (DFRobotDFPlayerMini + AltSoftSerial)
|-- README.txt ~24.4 KB this file
Total: 2.67 MB (unzipped). The C++ source code of the model is not included.
WHAT IS IT?
A simulation model of the DFPlayer Mini - the small MP3 player module with a
micro SD card slot that Arduino projects use for voice prompts, door bells,
alarms and music. Our own model, written from the datasheet:
* The pins: VCC (3.2 - 5.0 V), RX (the module's serial input), TX (its
output), BUSY (LOW while a track plays), IO_1 / IO_2 (keys to GND: a
short press plays the previous / next file, a long press steps the
volume), GND; DAC_R, DAC_L, SPK_1, SPK_2, ADKEY_1, ADKEY_2, USB+, USB-
and the second GND are drawn but not simulated.
* The serial port: 9600 baud 8N1. Every command is a frame of 10 bytes:
7E FF 06, the command, the feedback byte (1 = answer with an ACK, 41),
the parameter (2 bytes), the checksum (0 - the sum of the 6 bytes after
7E, 2 bytes) and EF; a frame without the checksum (8 bytes) works too.
A wrong checksum is answered 40 04, a frame that stops half way 40 03.
* The start: after power-on (and after a reset, 0C) the module reads its
card for 0.8 s, then sends 3F 0002 (the SD card online); commands sent
before are refused (40 01).
* The commands of the datasheet: next, previous, play track n (03),
volume (0 - 30, 30 at power-on), EQ (normal, pop, rock, jazz, classic,
bass), repeat a track (08), the device (09), sleep (0A), reset, play,
pause, folder + file (0F: folders 01 - 99, files 001 - 255), the
amplifier, repeat all (11), the MP3 folder (12), an advertisement from
the ADVERT folder (13: the track pauses and goes on after it), big
folders (14), stop the advertisement (15), stop (16), repeat a folder
(17), random (18), repeat the current track (19), the DAC (1A); the
queries: online devices, status, volume, EQ, the files on the card, the
current file, the files in a folder, the folders.
* The messages: 3D nnnn when a track has finished, 40 nn for an error
(01 busy, 02 asleep, 03 frame, 04 checksum, 05 out of range, 06 not
found, 07 an advertisement while nothing plays, 08 the card failed),
3A / 3B when the card goes in / out.
* The card: the DEMO micro SD card holds 14 short files in the order they
were copied - 0001.mp3 BEEP, 0002.mp3 CHIME, 01/001.mp3 DOORBELL,
01/002.mp3 WELCOME HOME, 01/003.mp3 DOOR OPEN, 01/004.mp3 GOODBYE,
02/001.mp3 ALARM, 02/002.mp3 LOW BATTERY, 02/003.mp3 TEMPERATURE HIGH,
MP3/0001.mp3 MORNING SONG, MP3/0002.mp3 EVENING SONG, MP3/0003.mp3
JINGLE, ADVERT/0001.mp3 ATTENTION PLEASE, ADVERT/0002.mp3 STORE CLOSING -
each with its length (1.2 - 30 s). Click the card while the simulation
runs to pull it out and to put it back.
The module is drawn at about three times its real size: the board seen from
above with the micro SD slot and the card sticking out, the YX5200-24SS
decoder, the 8002 amplifier and the two 8-pin header rows (the symbol's pins:
VCC RX TX DAC_R DAC_L SPK_1 GND SPK_2 on the left, BUSY USB- USB+ ADKEY_2
ADKEY_1 IO_2 GND IO_1 on the right). TEP additions: the SIMPLE / ADVANCE
badge, the PWR and BUSY LEDs, the panel button and the speaker beside the
module, whose sound waves show a track playing (more of them with the
volume). The badge, the LEDs, the speaker, the button and the panels are
TEP additions.
TWO DEVICES IN ONE LIBRARY (search "DFPlayer" in Pick Devices):
Simple DFPLAYERTEP "DFPlayer Mini MP3 Module V1.0 - Simple"
Advance DFPLAYERADVTEP (the same, "- Advance")
(category Modules > Audio)
Simple On-Sheet Panel: the STATUS panel beside the speaker - the banner
(what the module is doing: green while a track plays, blue when
it waits or starts, amber for an error, a pause or no card,
red for no power), the TRACK and its TIME (a bar), five actions
(PREV, NEXT, VOL -, VOL +, CARD - the module's keys and the
card), ten readouts (STATE, TRACK, FILE, VOLUME, EQ, MODE, BUSY,
CARD, FRAMES, ERRORS) and the last four events. The red X closes
the panel; the PANEL button opens it again.
Advance Pop-Up Panel: only the module and the speaker on the schematic;
at Run a TEP pop-up window opens - the look of the TEP Serial
Monitor. Tabs Player, Event log and Tests; gear and ? icons for
Settings and Help; the palette icon switches the theme:
Player the module's keys on the toolbar; THE MICRO SD CARD
(every file in the order it was copied, the one
playing marked with its time); WHAT THE MODULE DOES
(the banner and four tiles: now playing, volume &
EQ, the playback mode, the BUSY pin); THE LAST
FRAMES on the UART, every byte
Event log the tracks, the commands, the frames sent, the
keys, power, notes and warnings (filters, pause,
clear)
Tests Card & numbers, Frames, Settings (THE TEST TOOLS)
Settings theme, text size, open at Run, window size
Help report a bug, suggest a feature, article, updates,
donate, forum; Copy diagnostics for a bug report
The OPEN PANEL button opens the window again. The card on the
schematic can be clicked on the Advance device too.
Both devices use one model, TEPDFPLAYER.DLL.
TEST STATUS
V1.0: verified in Proteus 8.5 on 18 Oct 2026 (the demo project as shipped:
two Arduino UNO V4.0 boards with their built-in monitors; node 1 with the
Simple part, node 2 with the Advance part, the DEMO card, the same sketch).
Two runs: node 2 through its pop-up and its monitor, then node 1 with the
guarded real mouse (every click read back from the model).
What the runs showed:
* At Run both UNOs printed "DFPlayer online: 14 files in 4 folders" and
played 01/002.mp3 (WELCOME HOME): "BUSY LOW - playing" at 2.827 s,
"finished track #4" at 7.336 s.
* ARD2: MP3 1 (MORNING SONG) and ADVERT 1 - the advertisement paused the
song, which went on from 2.1 s; VOL 10, EQ 2, PAUSE, RESUME and STATUS
("state playing, track #10, volume 10, EQ 2"); PLAY 40 - "error 5: the
track number is out of range"; FOLDER 3 1 - "error 6: the track is not
found"; CARD OUT - "card removed", "error 8: the card failed (pulled
out)"; SLEEP and PLAY 1 - "error 2: asleep - send WAKE"; WAKE; the
module's NEXT key; ALL (repeat all).
* The Frames tool of U2: 24 frames from the host, 16 sent, no framing
error, every checksum correct, no command before the module was ready.
* Node 1 with the real mouse: NEXT on the panel - DOOR OPEN played; VOL +
- volume 21; a click on the card - out (3B); CARD IN - back (3A 0002).
* 34.2 s of simulation took 123 s with the pop-up and both monitors open
(about 0.28 x real time); the node 1 run, 30.5 s in 79 s (0.39 x).
INSTALLATION (about 2 minutes)
1. Close Proteus. Extract the WHOLE ZIP to a normal folder (e.g. Desktop).
2. Copy everything in "Proteus Library Files" (TEPDFPLAYER.LIB with the two
parts, and our Arduino library V4.0, ArduinoV4TEP.LIB, with the ARDUINO
UNO V4.0 used by the demo) to the LIBRARY folder of Proteus, for example:
C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY
(on some PCs: C:\ProgramData\Labcenter Electronics\Proteus 8 Professional\
LIBRARY - use the folder that already holds Proteus's own .LIB files).
3. Copy TEPDFPLAYER.DLL and TEPARDUINO.DLL from "Proteus Model Files" to the
MODELS folder (...\Proteus 8 Professional\MODELS).
ArduinoV4TEP.LIB and TEPARDUINO.DLL are the files of our Arduino Library
V4.0 - if you have it, they are the same.
4. Delete TEPDFPLAYER.IDX from the LIBRARY folder if it is there (Proteus
makes a new index).
5. Start Proteus. In Pick Devices (P) search "DFPlayer".
RUN THE DEMO
"Proteus Simulation\DFPlayer-Mini-MP3-ArduinoUnoV4.pdsprj" - keep the .hex file
and the two DLLs beside the project.
ARD1: Arduino UNO V4.0 + U1 = the DFPlayer Mini (Simple).
ARD2: Arduino UNO V4.0 + U2 = the DFPlayer Mini (Advance).
Both: the DEMO card; the module's TX on D8, RX on D9 (AltSoftSerial),
BUSY on D2; VCC and GND to the rails. Both UNOs run DFPlayer_Demo.hex and
each has its serial monitor built in ("TEP Arduino UNO - ARD1" / "- ARD2").
1. Press Run. Both UNOs' monitor windows open (9600 baud) and so does the
pop-up of U2 (move it aside - it opens over the schematic). After about
2.8 s both modules play 01/002.mp3, WELCOME HOME: BUSY goes LOW, the
BUSY LED and the UNO's L LED light, the speaker shows its waves.
2. Node 1: click the module's keys on the STATUS panel (PREV, NEXT, VOL -,
VOL +) - the monitor prints the BUSY changes - or click the card to
pull it out ("card removed", "error 8") and once more to put it back.
3. Node 2: type commands in ARD2's monitor - MP3 1, ADVERT 1, VOL 10,
EQ 2, PAUSE, RESUME, STATUS, PLAY 40 (out of range), FOLDER 3 1 (not
found), SLEEP, WAKE, ALL - and watch the pop-up: the file playing,
the frames on the UART, the Event log.
Closed a monitor window? Click the UNO's USB port.
WIRING
Module pin Arduino UNO (the demo)
VCC 5V
GND GND
TX D8 (AltSoftSerial's RX - the module talks, the UNO listens)
RX D9 (AltSoftSerial's TX) - on a real board through 1 kohm
BUSY D2 (LOW while a track plays)
SPK_1/SPK_2 a speaker (under 3 W, 4 / 8 ohm) - not simulated
In the demo VCC and GND go to power terminals and TX / RX / BUSY to labels
(TX_1, RX_1, BUSY_1 / TX_2, RX_2, BUSY_2) at the UNO's header. The serial
monitor needs no wires: it is built into the Arduino UNO V4.0. The demo has
no 1 kohm resistor in the RX line: in Proteus it would turn the digital line
into an analog one for nothing.
Why AltSoftSerial? SoftwareSerial cannot receive in Proteus (the simulated
UNO has no pin-change interrupts); AltSoftSerial always uses D8 (RX) and D9
(TX). On a Mega use Serial1 - Serial3.
REAL HARDWARE:
* The module's RX is a 3.3 V input: put 1 kohm between a 5 V UNO's TX and
RX (the datasheet's 5 V circuit).
* Format the card FAT16 / FAT32, copy the files in the order you want them
numbered (or play them by folder and name), names starting with their
number: 0001.mp3, 01/001.mp3.
* A speaker under 3 W on SPK_1 / SPK_2 (never SPK to GND), or an amplifier /
earphones on DAC_L / DAC_R.
* The module needs its 0.5 - 1.5 s after power-on: a command sent earlier
is refused.
THE TEST TOOLS (Advance, Tests tab) - what they really measure
Every tool reads the model during the running simulation; each shows one
"Good for:" line and, where it judges, a verdict per row (green = fine, amber
= check, red = wrong, grey = only an explanation).
Card & numbers Good for: the wrong track plays, 'track not found' (40 06),
'out of range' (40 05), an advert that does nothing. The
card, the files and folders, which number each command
plays (play(n) counts the files in the order they were
copied; playFolder / playMp3Folder / advertise go by name).
Frames Good for: no answer, 'wrong checksum' (40 04), 'a frame not
received completely' (40 03), commands refused at the start.
The frame format, the bytes on RX and TX, framing errors,
wrong checksums, broken frames, commands refused during the
start-up.
Settings Good for: no sound (volume 0, DAC off, asleep), a track that
never stops or never repeats, the EQ. The volume, the EQ,
the DAC, the mode, sleep and the commands seen.
THE DEMO SKETCH ON THE SERIAL MONITOR (DFPlayer_Demo V1.0)
At the start it resets the module (begin), waits for its card, prints the
files and folders, sets the volume to 20 and plays 01/002.mp3 (WELCOME HOME).
It prints every message of the module (finished, errors, the card) and every
change of BUSY; the UNO's L LED is lit while BUSY is LOW. Commands:
PLAY n the n-th file copied to the card (03)
FOLDER f n folder f, file n (0F)
MP3 n MP3/nnnn.mp3 (12)
ADVERT n ADVERT/nnnn.mp3 while a track plays (13)
NEXT, PREV, PAUSE, RESUME, STOP
VOL n the volume 0 - 30
EQ n the EQ 0 - 5
LOOP n repeat file n (08)
ALL repeat all (11)
RANDOM random (18)
SLEEP, WAKE sleep (0A) / the SD card again (09 0002)
STATUS the state, the track, the volume and the EQ (queries)
HELP
Commands are not case-sensitive; type them in the UNO's built-in monitor and
press Enter.
Why begin(mp3Serial, false, true)? With ACK on, DFRobotDFPlayerMini waits for
a message after every acknowledged command: the next command then leaves
only after its 500 ms time-out, with a "Time Out" message in between. The
demo turns ACK off and checks the module with a query (readFileCounts).
EXPECTED MONITOR OUTPUT (the start)
ARD2 at Run, WELCOME HOME to its end:
TEP DFPlayer Mini - demo V1.0
DFPlayer TX on D8, RX on D9 (AltSoftSerial, 9600 baud), BUSY on D2,
DFRobotDFPlayerMini 1.0.6
DFPlayer online: 14 files in 4 folders
Commands: PLAY n, FOLDER f n, MP3 n, ADVERT n, NEXT, PREV, PAUSE, RESUME,
STOP, VOL n, EQ n, LOOP n, ALL, RANDOM, SLEEP, WAKE, STATUS, HELP
t=2.766 s > FOLDER 1 2
t=2.827 s BUSY LOW - playing
t=7.326 s BUSY HIGH - idle
t=7.336 s finished track #4
(t= is the sketch's millis(), a little behind the simulation time.)
PROPERTIES (double-click the part > Edit Properties)
CARD the micro SD card at the start: DEMO (14 files) or NONE
PANEL Simple only: the STATUS panel at the start, OPEN or CLOSED
Every run starts again from the properties.
The demo's UNOs (ARDUINO UNO V4.0): PROGRAM DFPlayer_Demo.hex, MONITOR YES (the
built-in monitor), BAUD 9600, AUTOOPEN YES, BOOTLOADER YES.
LINKS.INI (OPTIONAL)
The Help page cards of the Advance device open web pages. To point them
somewhere else without a new DLL, put a text file named links.ini next to
TEPDFPLAYER.DLL with lines KEY=URL, for example:
ARTICLE=https://www.theengineeringprojects.com/...
Keys: WEBSITE, FORUM, BUG_REPORT, FEATURE_REQUEST, ARTICLE, USER_GUIDE,
UPDATE_CHECK, DONATE. Only http:// and https:// links are used; lines starting
with # are comments.
TROUBLESHOOTING
* "no answer" at the start: TX and RX swapped (the module's TX goes to the
UNO's RX pin, D8), or the part is not powered (the PWR LED).
* Commands refused (40 01) at the start: they came before the module's 3F -
begin() with doReset waits for it.
* The wrong track plays: play(n) counts the files in the order they were
copied - Card & numbers shows which file each number is.
* 40 06 "the track is not found": the folder or the file does not exist, or
the card is out (the CARD readout).
* ADVERT does nothing (40 07): an advertisement only while a track plays.
* No more answers: the module is asleep (SLEEP) - WAKE (09 0002) wakes it.
* "Time Out" messages and slow commands: ACK is on in begin() - see above.
* The parts are not simulated: TEPDFPLAYER.DLL is missing from MODELS and from
the project folder. No UNO / no monitor window: TEPARDUINO.DLL is missing,
or click the UNO's USB port.
* Advance: the pop-up does not appear - click OPEN PANEL on the board, or
turn "Open the panel at Run" on its Settings page back on.
BUG REPORTS AND FEATURE REQUESTS
Please post them in our forum with a screenshot, the Serial Monitor text, the
simulation log and (Advance) the Copy diagnostics text:
https://www.theengineeringprojects.com/forum/category/dfplayer-mini-proteus-library
SUPPORT US
This library is free. If it saves you time, please support our work:
https://www.theengineeringprojects.com/donate
WEBSITE
https://www.theengineeringprojects.com/
LICENCES AND THIRD-PARTY NOTES
* The DFPlayer Mini model (TEPDFPLAYER.DLL), the symbols and artwork and the
Arduino Library V4.0 (ArduinoV4TEP.LIB / TEPARDUINO.DLL, with its built-in
TEP Serial Monitor Advance) are made by The Engineering Projects. The model
is an independent implementation written from the FN-M16P datasheet. The
model uses only standard Windows libraries; no Visual C++ redistributable
is needed. The C++ source code is not included.
* Arduino UNO V4.0 (ArduinoV4TEP.LIB / TEPARDUINO.DLL, our Arduino Library
V4.0 - its microcontroller is Proteus's own AVR model): The Engineering
Projects, https://www.theengineeringprojects.com/2026/10/arduino-uno-library-for-proteus-v40.html
* The .hex file is built from the demo sketch, DFRobotDFPlayerMini 1.0.6,
AltSoftSerial 1.4 and the Arduino AVR core 1.8.6.
- DFRobotDFPlayerMini: Copyright DFRobot 2016,
GNU Lesser General Public License; its source code is available at
https://github.com/DFRobot/DFRobotDFPlayerMini - with the demo sketch
(Arduino Code) you can rebuild the HEX with your own copy of it.
- AltSoftSerial: https://github.com/PaulStoffregen/AltSoftSerial
Copyright (c) 2014 PJRC.COM, LLC, Paul Stoffregen, [email protected]
MIT License:
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to permit
persons to whom the Software is furnished to do so, subject to the
following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
- The Arduino AVR core 1.8.6 includes LGPL-licensed code; its source code is
available at https://github.com/arduino/ArduinoCore-avr/tree/1.8.6
The demo sketch is included (Arduino Code).
* Proteus is a product of Labcenter Electronics and is not included. Arduino is
a trademark of Arduino SA. This library is not made or endorsed by DFRobot,
by the makers of the modules and their chips, by PJRC or by Labcenter.
REBUILDING THE FIRMWARE (OPTIONAL)
The HEX file is supplied; Arduino IDE is not needed to run the demo. To edit
the sketch, install "DFRobotDFPlayerMini" (1.0.6 or newer) and "AltSoftSerial"
with the Library Manager, open Arduino Code\DFPlayer_Demo\DFPlayer_Demo.ino,
select Arduino Uno and use Sketch > Export Compiled Binary. Replace the
simulation's .hex with the exported HEX. The sketch needs 10,956 bytes of flash and 621
bytes of RAM.
MODEL SCOPE AND LIMITS
Modelled: the UART (9600 baud 8N1, bytes sampled at the module's rate: a
host at another rate gives framing errors), the start-up, the frame format
with and without the checksum, the ACK, the commands and queries of the
datasheet with their errors and messages, the card's files and folders,
the playback (each file's length, BUSY, finished messages, repeat modes,
random, advertisements, pause), sleep, the card in / out, IO_1 / IO_2, the
power pins.
How the part works with the circuit: digital pins; TX and BUSY are driven
HIGH / LOW (floating without power), RX, IO_1 and IO_2 are read at every
edge; VCC and GND are read as logic levels.
Not modelled: the sound (DAC_L, DAC_R, SPK_1 and SPK_2 carry nothing - the
speaker drawn beside the module shows a track playing), the AD keys
(ADKEY_1 / ADKEY_2), the USB port and USB drives, the real MP3 decoding and
its timing, the current, cards of your own (the DEMO card only).
The model's own choices: 0.8 s to start (the datasheet: 0.5 - 1.5 s), the
ACK 10 ms after a frame, a query's answer 20 ms after it, a track starting
60 ms after its command, a frame with a gap of more than 20 ms incomplete;
track numbers count every file on the card in the order copied; 48 counts
every file and 4F every folder; repeat all and random leave ADVERT out; an
IO key held 0.8 s is a long press (a volume step every 0.3 s); the
reserved queries (45, 46, 49, 4A, 4D) are only acknowledged.
VERSION
TEP DFPlayer Mini library V1.0 (Oct 2026). Devices DFPLAYERTEP /
DFPLAYERADVTEP (TEPDFPLAYER.LIB / TEPDFPLAYER.DLL). Demo sketch DFPlayer_Demo
V1.0 (TX on D8, RX on D9, AltSoftSerial, 9600 baud, BUSY on D2,
DFRobotDFPlayerMini 1.0.6). Demo board: ARDUINO UNO V4.0 (TEP Arduino Library
V4.0) with its built-in serial monitor.Development1 release
-
V1.0DFPlayer Mini Library for Proteus V1.0this page
V1.0 is the only release in the Download Center so far. When a newer version is published, it appears above with its own download page.
Installation8 steps
From the download to a working project, in order. The steps follow what the package contains.
You will need
- Proteus Design SuiteProteus 8 or newer (Labcenter), on Windows
- Arduino IDE1.8 or 2.x, with the board of the tutorial chosen under Tools → Board
- Any archive toolWindows, macOS and Linux extract ZIP files on their own
Steps
- 1
Extract the archive
Right-click dfplayer-mini-tep-v1-0-34c6a46f2f8841f1a53e25a6b47e7bb8.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (DFPlayer-Mini-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB and TEPDFPLAYER.LIB and the files into the LIBRARY folder of your Proteus installation: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY for Proteus 8, or the matching Proteus 7 folder. Older versions keep it under ProgramData\Labcenter Electronics. If Proteus is open, close it first.
- 3
Add the simulation model
Copy TEPARDUINO.DLL and TEPDFPLAYER.DLL into the MODELS folder next to LIBRARY, so the component can run, not only be drawn.
- 4
Restart Proteus and place the component
Start Proteus, open a schematic, press P (Pick Devices) and search for the component by the name used in the tutorial. It appears with its pins ready to wire.
- 5
Open the sketch in the Arduino IDE
Open DFPlayer_Demo.ino, select your board and port under Tools, then Verify. Sketch → Export Compiled Binary writes the HEX file a simulation needs.
- 6
Load the HEX file
In Proteus double-click the microcontroller, set Program File to DFPlayer_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open DFPlayer-Mini-MP3-ArduinoUnoV4.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.
- 8
Follow the tutorial
DFPlayer Mini Library for Proteus V1.0: MP3 Player Module + Arduino explains every connection and setting in order; keep it open beside the files while you build.
FAQs9 questionsContact TEP
How do I download DFPlayer Mini Library for Proteus V1.0?
Wait for the 30-second guest countdown on this page, then press the download button; the file comes straight from our storage. Members who are logged in skip the wait. If the browser opens the file instead of saving it, use its Save as option. The download link is made for you when the countdown ends and works for 15 minutes; a saved or shared link stops working, so share this page instead.
What is inside the archive?
DFPlayer Mini Library for Proteus V1.0 comes as a ZIP archive of 10 files (1.2 MB, 2.7 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware. Open the File Structure tab for the full list of 10 files.
What should I do if the download does not start?
Check the browser's download list first; an ad blocker or a company firewall can also hold it back, so try another browser or network. If the file arrives incomplete, download it again. For an installation problem, read the Install tab or tell us in the comments with your software version and the exact error message.
Is this file free?
Yes. Every file in the TEP Download Center is free for learning, personal and student projects. If you share it, link back to this page or the tutorial so others find the latest version.
How do I check that the file arrived complete?
Compare its SHA-256 with the one on this page, 60cd44e4749ae7bb14b6a215fd49f761e2b396ed121bafa9cc5953bc52f976a2. In PowerShell run Get-FileHash "dfplayer-mini-tep-v1-0-34c6a46f2f8841f1a53e25a6b47e7bb8.zip"; on macOS or Linux run shasum -a 256 "dfplayer-mini-tep-v1-0-34c6a46f2f8841f1a53e25a6b47e7bb8.zip". The same value means the file is exactly the one in our storage; a different one means the download broke off, so download it again.
Do I need WinRAR to open the ZIP file?
No. Windows, macOS and Linux open ZIP archives on their own (Extract All, or double-click). WinRAR and 7-Zip work too. Extract the whole archive before using the files.
Where do I put the LIB and IDX files?
Both files go into the LIBRARY folder of your Proteus installation (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY; Proteus 7 has the same folder under its own name). Restart Proteus afterwards and search for the component with P.
Which Proteus version does the library need?
The tutorial names the Proteus version the library was made and tested with. Most TEP libraries work in Proteus 7 and Proteus 8; if the component does not appear after a restart, check that both the LIB and the IDX file were copied and that Proteus was fully closed while copying.
How do I get the HEX file into the simulation?
Compile the sketch in the Arduino IDE (Sketch → Export Compiled Binary gives you the HEX next to the sketch), then in Proteus double-click the board, set Program File to that HEX and run.
Members skip the wait. Log in or join TEP.
- 55Total downloads
- 4%Popularity
- ProteusCategory
- 0Comments
- ssyedzainnasirUploaded by
- 18 Oct 2026Uploaded at
60cd44e4749ae7bb14b6a215fd49f761e2b396ed121bafa9cc5953bc52f976a2
















Comments
0