

The WTV020 Micro SD Card is a compact audio playback module designed for storing and playing audio files from a Micro SD card. It supports multiple audio formats, including AD4 and WAV, making it ideal for projects requiring sound output. This module is widely used in applications such as toys, alarms, interactive devices, and embedded systems where audio feedback or sound effects are needed. Its small size and ease of integration make it a popular choice for hobbyists and professionals alike.








The WTV020 module has 8 pins. Below is the pinout and description:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (2.6V to 3.6V DC). |
| 2 | GND | Ground connection. |
| 3 | RX | Serial data input for UART communication. |
| 4 | TX | Serial data output for UART communication. |
| 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 (HIGH = playing, LOW = idle). |
| 8 | PWR | Power control pin (used to enable or disable the module). |
Below is an example of how to control the WTV020 module using an Arduino UNO:
#include <SoftwareSerial.h>
// Define RX and TX pins for SoftwareSerial
SoftwareSerial wtv020Serial(10, 11); // RX = Pin 10, TX = Pin 11
void setup() {
wtv020Serial.begin(9600); // Initialize serial communication at 9600 bps
pinMode(8, OUTPUT); // Set pin 8 as output for module power control
digitalWrite(8, HIGH); // Power on the WTV020 module
delay(100); // Wait for the module to initialize
}
void loop() {
playAudio(0x01); // Play the first audio file
delay(5000); // Wait for 5 seconds
playAudio(0x02); // Play the second audio file
delay(5000); // Wait for 5 seconds
}
// Function to send play command to WTV020
void playAudio(byte trackNumber) {
wtv020Serial.write(0xFF); // Start byte
wtv020Serial.write(0x06); // Play command
wtv020Serial.write(0x00); // Data length
wtv020Serial.write(0x00); // High byte of track number
wtv020Serial.write(trackNumber); // Low byte of track number
wtv020Serial.write(0xEF); // End byte
}
No Sound Output:
Module Not Responding:
Playback Stops Abruptly:
Micro SD Card Not Detected:
Q: Can I use a Micro SD card larger than 2GB?
A: No, the WTV020 module only supports Micro SD cards up to 2GB formatted to FAT16.
Q: What is the maximum speaker power output?
A: The module can drive small 8-ohm speakers directly, but for higher power, use an external amplifier.
Q: Can I control the module without UART?
A: Yes, the module can also be controlled using GPIO pins for basic playback functions.
Q: How do I convert audio files to AD4 format?
A: Use the official WTV020 conversion tool, which is available online, to convert WAV or MP3 files to AD4 format.
By following this documentation, you can effectively integrate the WTV020 Micro SD Card module into your projects and troubleshoot common issues.