Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use WTV020 Micro SD Card: Examples, Pinouts, and Specs

Image of WTV020 Micro SD Card
Cirkit Designer LogoDesign with WTV020 Micro SD Card in Cirkit Designer

Introduction

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.

Explore Projects Built with WTV020 Micro SD Card

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
ESP32-Based SD Card Data Logger
Image of Data Logging: A project utilizing WTV020 Micro SD Card in a practical application
This circuit connects an ESP32 Wroom Dev Kit microcontroller to a Micro SD Card Module for data storage purposes. The ESP32 is configured to communicate with the SD card using the SPI protocol, as indicated by the connections of MOSI, MISO, SCK, and CS pins. A separate Vcc component provides power to the SD card module.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32 and Micro SD Card Module Data Logger
Image of MandIFInalWiring: A project utilizing WTV020 Micro SD Card in a practical application
This circuit connects an ESP32 Wroom microcontroller to a Micro SD Card Module, enabling the ESP32 to read from and write to the SD card. The connections include SPI communication lines (CS, SCK, MOSI, MISO) and power lines (VCC, GND).
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Battery-Powered Data Logger with Micro SD Card Storage
Image of arduino sd: A project utilizing WTV020 Micro SD Card in a practical application
This circuit is designed to interface an Arduino UNO with a Micro SD Card Module for data storage, powered by two 18650 Li-ion batteries through a USB plug and controlled by a rocker switch. The Arduino communicates with the SD card module via SPI protocol and is also connected to the USB plug for potential data transfer or power supply.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32 Wi-Fi Controlled Video Player with TFT Display and SD Card
Image of ESP32 : A project utilizing WTV020 Micro SD Card in a practical application
This circuit features an ESP32 microcontroller interfaced with a TFT LCD display and a micro SD card module. The ESP32 is programmed to connect to a WiFi network, initialize the TFT display, and play video files from the SD card, providing a compact video playback system.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with WTV020 Micro SD Card

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Data Logging: A project utilizing WTV020 Micro SD Card in a practical application
ESP32-Based SD Card Data Logger
This circuit connects an ESP32 Wroom Dev Kit microcontroller to a Micro SD Card Module for data storage purposes. The ESP32 is configured to communicate with the SD card using the SPI protocol, as indicated by the connections of MOSI, MISO, SCK, and CS pins. A separate Vcc component provides power to the SD card module.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of MandIFInalWiring: A project utilizing WTV020 Micro SD Card in a practical application
ESP32 and Micro SD Card Module Data Logger
This circuit connects an ESP32 Wroom microcontroller to a Micro SD Card Module, enabling the ESP32 to read from and write to the SD card. The connections include SPI communication lines (CS, SCK, MOSI, MISO) and power lines (VCC, GND).
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of arduino sd: A project utilizing WTV020 Micro SD Card in a practical application
Arduino UNO Battery-Powered Data Logger with Micro SD Card Storage
This circuit is designed to interface an Arduino UNO with a Micro SD Card Module for data storage, powered by two 18650 Li-ion batteries through a USB plug and controlled by a rocker switch. The Arduino communicates with the SD card module via SPI protocol and is also connected to the USB plug for potential data transfer or power supply.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of ESP32 : A project utilizing WTV020 Micro SD Card in a practical application
ESP32 Wi-Fi Controlled Video Player with TFT Display and SD Card
This circuit features an ESP32 microcontroller interfaced with a TFT LCD display and a micro SD card module. The ESP32 is programmed to connect to a WiFi network, initialize the TFT display, and play video files from the SD card, providing a compact video playback system.
Cirkit Designer LogoOpen Project in Cirkit Designer

Technical Specifications

  • Operating Voltage: 2.6V to 3.6V DC
  • Current Consumption: < 15mA during playback
  • Audio Formats Supported: AD4, WAV
  • Storage Medium: Micro SD card (up to 2GB, FAT16 format)
  • Output Modes:
    • DAC output for direct speaker connection
    • PWM output for external amplifier
  • Control Interface: Serial communication (UART or GPIO control)
  • Dimensions: 20mm x 18mm x 8mm

Pin Configuration and Descriptions

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).

Usage Instructions

How to Use the WTV020 in a Circuit

  1. Power Supply: Connect the VCC pin to a 3.3V power source and the GND pin to ground. Ensure the power supply is stable to avoid malfunctions.
  2. Micro SD Card Preparation:
    • Format the Micro SD card to FAT16.
    • Convert audio files to AD4 format using the WTV020 conversion tool.
    • Copy the AD4 files to the root directory of the Micro SD card.
  3. Speaker Connection:
    • For direct speaker output, connect the SPK+ and SPK- pins to a small 8-ohm speaker.
    • For higher power output, use the PWM output with an external amplifier.
  4. Control Interface:
    • Use the RX pin to send commands via UART or GPIO to control playback.
    • Monitor the BUSY pin to check playback status.

Important Considerations and Best Practices

  • Voltage Levels: Ensure the module operates within the specified voltage range (2.6V to 3.6V). Exceeding this range may damage the module.
  • File Format: Only AD4 files are supported for playback. Use the official WTV020 conversion tool to convert audio files.
  • Micro SD Card Compatibility: Use a Micro SD card with a capacity of 2GB or less, formatted to FAT16. Larger cards or other formats may not work.
  • Decoupling Capacitor: Add a 10µF capacitor between VCC and GND to stabilize the power supply.
  • UART Communication: If using UART, ensure the baud rate is set to 9600 bps.

Example: Connecting to an Arduino UNO

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
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Sound Output:

    • Ensure the Micro SD card is formatted to FAT16 and contains valid AD4 files.
    • Check the speaker connections (SPK+ and SPK-).
    • Verify the power supply voltage is within the specified range.
  2. Module Not Responding:

    • Confirm the RX and TX connections are correct.
    • Ensure the baud rate is set to 9600 bps if using UART.
    • Check if the PWR pin is set HIGH to enable the module.
  3. Playback Stops Abruptly:

    • Verify the BUSY pin status to ensure the module is not interrupted.
    • Check the power supply for stability and add a decoupling capacitor if needed.
  4. Micro SD Card Not Detected:

    • Use a Micro SD card with a capacity of 2GB or less.
    • Ensure the card is properly inserted and formatted to FAT16.

FAQs

  • 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.