Arduino controlling the WTV020SD-16P Evaluation kit

0
2280

WTV020SD-16P Evalation kit (3)

This article shows how you can test WTV020SD-16P module using Arduino and WTV020SD-16P evaluation DIY kit. If you have come to this page directly from a search engine, we recommend you to visit these pages to understand this project:

Connecting the WTV020SD-16P evaluation kit to Arduino:

You can see there is a 6 pin female header for connecting the kit to Arduino.

WTV020SD-16P Evalation kit (3)

  • 5V connects to 5V pin of Arduino
  • RST connects to Digital Pin 2 of Arduino
  • P04 connects to Digital Pin 3 of Arduino
  • P05 connects to Digital Pin 4 of Arduino
  • P06 connects to Digital Pin 5 of Arduino
  • GND connects to GND pin of Arduino

After connecting the kit to Arduino, load some AD4 format files on to your MicroSD card. You can Download the AD4 audio sample files. And, then stack the WTV020SD-16P module over the stackable header of the kit. Please note that the LM386 Audio amplifier module and the connected speaker are optional. The speaker connected directly to the kit is sufficient to hear the audio. But, the Audio amplifier module amplifies the sound and you can hear it more clearly.

1

See all the flicker images

SAMPLES FILES 2

Upload the following sketch to Arduino:

Optional Link

The output of the project:

When you upload the sketch to your Arduino, the kit starts playing music one after another. After all the songs are played, it loops back to the first one. Download the AD4 audio sample files.

wtv020sd16p.asyncPlayVoice(0);
plays song 0000.AD4
wtv020sd16p.asyncPlayVoice(1);
plays song 0001.AD4
delay(8000);
Delay sets the duration of song to be played.
wtv020sd16p.stopVoice(); 
This command stops the audio
wtv020sd16p.asyncPlayVoice(0); // plays song 0, 0000.AD4
delay(8000); // play time duration
wtv020sd16p.stopVoice();

– See more at: http://www.buildcircuit.com/arduino-controlling-the-wtv020sd-16p-evaluation-kit/#sthash.V9gJ52Md.dpuf

Related documents:


 16- Stacking WTV020SD kit

WTV020   Buy now button


BuildCircuit proudly recommends EasyEDA for circuit and PCB design

EasyEDA: A Powerful Free Circuit, Simulation & PCB Design Tool

Register now to use it for free. No Need to download. Lots of resources and Step by step tutorials

 

SHARE

LEAVE A REPLY