https://github.com/ronibandini/dfr1173-voice-prompter
DFRobot DFR1173 Voice Prompter library
https://github.com/ronibandini/dfr1173-voice-prompter
arduino arduino-library dfrobot mp3 mp3-player voice-prompter wav
Last synced: about 2 months ago
JSON representation
DFRobot DFR1173 Voice Prompter library
- Host: GitHub
- URL: https://github.com/ronibandini/dfr1173-voice-prompter
- Owner: ronibandini
- License: mit
- Created: 2025-12-24T11:04:15.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-12-24T13:34:13.000Z (6 months ago)
- Last Synced: 2025-12-26T02:02:35.105Z (6 months ago)
- Topics: arduino, arduino-library, dfrobot, mp3, mp3-player, voice-prompter, wav
- Language: C++
- Homepage: https://bandini.medium.com/mp3-voice-prompter-sustituto-de-dfplayer-a865040a2aaf
- Size: 12.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DFR1173 Voice Prompter Library
Arduino library designed to control the DFRobot DFR1173 MP3 Voice Prompter module through serial commands.
## Device
https://www.dfrobot.com/product-2862.html?tracking=hOuIhw4fDaJRTdy4abz04npbQC78dqxBkqVt7XMFYxEXj2s0ukWgm71wbut0ewUP
## Features
- Full playback control: Play, Pause, Resume, Stop.
- Volume management (0-30).
- Track and folder navigation.
- Status verification support via BUSY pin.
- Low power mode.

## Wiring (Arduino Nano R4)
| DFR1173 Pin | Arduino Nano R4 Pin |
|-------------|---------------------|
| TX (Green) | RX (D0) |
| RX (Yellow) | TX (D1) |
| BUSY | D9 (Configurable) |
| VCC | 5V |
| GND | GND |
## Installation
1. Download this repository as a .zip file.
2. In the Arduino IDE, go to **Sketch -> Include Library -> Add .ZIP Library...**
3. Select the downloaded file.
## Basic Usage
#include
// Instantiate passing the Serial object and the BUSY pin
DFR1173 mp3(Serial1, 9);
void setup() {
Serial.begin(115200);
mp3.begin(9600);
mp3.setVolume(25);
}
void loop() {
mp3.playTrack(1);
mp3.isPlaying(); // Blocks execution until audio finishes
delay(2000);
}