

The DY-SV8F Sound Module is a compact and versatile audio playback device designed for projects requiring sound effects, voice prompts, or music playback. It supports multiple audio formats, such as MP3 and WAV, and can store sound files on a microSD card or internal flash memory. The module is easy to interface with microcontrollers, such as Arduino, and can be controlled via UART, GPIO, or AD key inputs.








The DY-SV8F Sound Module offers the following key technical details:
| Parameter | Specification |
|---|---|
| Operating Voltage | 3.3V to 5.0V DC |
| Operating Current | < 20mA |
| Audio Formats | MP3, WAV |
| Storage Options | microSD card (up to 32GB), internal flash |
| Communication Methods | UART, GPIO, AD key |
| Audio Output | Mono, 3W (via onboard amplifier) |
| Dimensions | 30mm x 22mm x 10mm |
The DY-SV8F module has a 9-pin interface for power, control, and audio output. The pinout is as follows:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (3.3V to 5.0V DC) |
| 2 | GND | Ground |
| 3 | TX | UART Transmit pin (for communication with microcontrollers) |
| 4 | RX | UART Receive pin (for communication with microcontrollers) |
| 5 | SPK+ | Positive terminal for speaker output |
| 6 | SPK- | Negative terminal for speaker output |
| 7 | IO1 | GPIO control pin 1 (used for triggering playback or other functions) |
| 8 | IO2 | GPIO control pin 2 (used for triggering playback or other functions) |
| 9 | BUSY | Output pin indicating playback status (LOW = playing, HIGH = idle) |
Below is an example of how to control the DY-SV8F module using UART communication with an Arduino UNO:
#include <SoftwareSerial.h>
// Define RX and TX pins for SoftwareSerial
SoftwareSerial mySerial(10, 11); // RX = Pin 10, TX = Pin 11
void setup() {
mySerial.begin(9600); // Initialize UART communication at 9600 bps
Serial.begin(9600); // Initialize Serial Monitor for debugging
delay(1000); // Wait for the module to initialize
Serial.println("DY-SV8F Sound Module Test");
playSound(1); // Play the first sound file (0001.mp3)
}
void loop() {
// Add your main code here
}
// Function to send a play command to the DY-SV8F module
void playSound(uint8_t fileNumber) {
mySerial.write(0xAA); // Start byte
mySerial.write(0x07); // Command: Play file
mySerial.write(0x02); // Data length
mySerial.write(0x00); // High byte of file number
mySerial.write(fileNumber); // Low byte of file number
mySerial.write(0xAC + fileNumber); // Checksum (0xAA + 0x07 + 0x02 + fileNumber)
Serial.println("Play command sent");
}
0001.mp3 with the desired file name on the microSD card.No Sound Output:
Module Not Responding to Commands:
Playback Stops Abruptly:
Q: Can I use the DY-SV8F with a 3.3V microcontroller?
A: Yes, the module supports both 3.3V and 5.0V logic levels, making it compatible with most microcontrollers.
Q: How many audio files can the module store?
A: The module can store up to 255 audio files, depending on the storage capacity of the microSD card or internal flash.
Q: Can I control the volume of the audio output?
A: Yes, the volume can be adjusted via UART commands or GPIO inputs, depending on the control method used.
Q: What is the maximum speaker power supported?
A: The onboard amplifier supports up to 3W output power for a 4Ω speaker.
By following this documentation, you can effectively integrate the DY-SV8F Sound Module into your projects and troubleshoot common issues.