

The WTV020SD is a low-cost audio playback module designed for playing audio files stored on a microSD card. It supports multiple audio formats, including AD4 and WAV, and is widely used in projects requiring sound playback. This module is ideal for applications such as toys, alarms, interactive devices, and voice prompts. Its compact size and ease of integration make it a popular choice for hobbyists and professionals alike.








The WTV020SD module has an 8-pin interface. Below is the pinout and description:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (2.6V to 3.6V DC). |
| 2 | GND | Ground connection. |
| 3 | RX | Serial data input for controlling the module via a microcontroller. |
| 4 | TX | Serial data output (not commonly used). |
| 5 | SPK+ | Positive terminal for speaker connection (DAC output). |
| 6 | SPK- | Negative terminal for speaker connection (DAC output). |
| 7 | BUSY | Output pin that indicates playback status (LOW = playing, HIGH = idle). |
| 8 | CLK | Clock signal input for standalone key mode (not used in serial mode). |
0000.ad4, 0001.ad4) and copy them to the root directory of the microSD card.Below is an example of how to control the WTV020SD module using an Arduino UNO in serial mode:
// Example code to control the WTV020SD module with Arduino UNO
// Ensure the audio files are named sequentially (e.g., 0000.ad4, 0001.ad4)
// and stored in the root directory of a FAT16-formatted microSD card.
void setup() {
Serial.begin(9600); // Initialize serial communication at 9600 baud
delay(100); // Allow the WTV020SD module to initialize
}
void loop() {
playAudio(0); // Play the first audio file (0000.ad4)
delay(5000); // Wait for 5 seconds before playing the next file
playAudio(1); // Play the second audio file (0001.ad4)
delay(5000); // Wait for 5 seconds
}
// Function to send play command to WTV020SD module
void playAudio(int fileNumber) {
Serial.write(0xFF); // Start byte
Serial.write(0x06); // Play command
Serial.write(0x00); // Data length
Serial.write(0x00); // High byte of file number
Serial.write(fileNumber); // Low byte of file number
Serial.write(0xEF); // End byte
}
No Sound Output:
Module Not Responding to Commands:
Playback Stops Abruptly:
Distorted Audio:
Q1: Can the WTV020SD play MP3 files?
No, the WTV020SD does not support MP3 files. It only supports AD4 and WAV formats.
Q2: What is the maximum capacity of the microSD card supported?
The WTV020SD supports microSD cards up to 2GB formatted in FAT16.
Q3: Can I use the module without a microcontroller?
Yes, the module can operate in key mode, where buttons are used to trigger playback.
Q4: How do I convert audio files to AD4 format?
You can use the WTV020SD conversion tool provided by the manufacturer to convert WAV files to AD4 format.
Q5: Is it possible to control the volume?
Yes, volume control commands can be sent via serial communication in serial mode.