Use your forum account to login.


TOP Contributors

  1. MikroElektronika Team (704 codes)
  2. Shawon Shahryiar (258 codes)
  3. Alcides Ramos Zambrano (169 codes)
  4. Dany (66 codes)
  5. S P (66 codes)
  6. MikroBUS.NET Team (35 codes)
  7. NART SCHINACKOW (34 codes)
  8. Armstrong Subero (26 codes)
  9. Roman Toropov (26 codes)
  10. FOURNET Olivier (25 codes)

Most Downloaded

  1. Timer Calculator (93055 times)
  2. FAT32 Library (48648 times)
  3. Network Ethernet Library (44201 times)
  4. USB Device Library (34387 times)
  5. Network WiFi Library (31723 times)
  6. FT800 Library (27350 times)
  7. GSM click (21465 times)
  8. PID Library (21318 times)
  9. microSD click - Example (17566 times)
  10. GSM 2 click (14487 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back

WTV020-SD-16p library



Author: xmas pako

Last Updated: 2015-01-28

Category: Audio Playback

Downloaded: 1093 times

Followed by: 4 users

This library allows to communicate with WTV020-SD-16p chip by 2wire serial port.
Refer to library header and datasheet for pin connections.
By this lib, you can do all the functions foreseen by the chip.

Note: the mB version of this library has to be tested! Please let me know if you have any issue using it.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "WTV020-SD-16p library" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "WTV020-SD-16p library" changes.

Do you want to report abuse regarding "WTV020-SD-16p library".

  • Information
  • Comments (3)

Download Library [2.27MB]


mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Library Blog

January 28th, 2015

I don't program in mikroBasic, but someone asked me to translate my library in mB. I realized a first attempt of translation, but I'm not able to test it.

If someone wants to try it, let me know if it works.

Please: control that code before use and use it at your own risk ;)



This library is the translation of another one originally written for Arduino by Diego J. Arevalo in August 6th, 2012. 
By this lib you can easily interface PIC with WTV020-SD-16p.
This chip allows to reproduce up to 255 different sounds, reading them directly from a micro-SD card (FAT formatted). This circuit has the possibility to communicate by 2 wire serial port.
For connection refers to header information in library and WTV020 datasheet.

The library works stand-alone, so it does not need SPI or I2C integration, and it can be used potentially with any PIC version (I tested it with PIC16F84 also).

I hope it could be useful to most and I'll appreciate any kind of discussion about it for improvements.


Some suggestions:

  1. I found another version of this library written for mikroBasic (by Leonardo Moretti) at this link, but unluckily it doesn't work very well. It seems to be able to play only the first one voice in the memory and nothing else.
    As soon as possible, I'll try to translate my library in mB.
  2. I used a 2GB standard micro-SD card, formatted in FAT system, and it works. I don't suggest to use different sizes (neglect the datasheet) that for strange reasons don't work for me. Expecially, don't use SDHC. The SD that I used is a simple Class1.
  3. Using of limiting resistors on wires that connects PIC to WTV020 is highly recommended to prevent PIC damages.




Multimedia streaming client


This project is a Multimedia streaming application for transfering audio or image data to the MikroElektronika EasyMX Pro for Stellaris board. The transfering is done thru Ethernet together with a windows server application, which makes it capable of playing back mp3, wav or wma files. Images can also be displayed.

[Learn More]



You can use this library to let PIC microcontroller to play several predefined melodies by just write the name of melody in your code. يمكنك باستخدام هذه المكتبة عزف عدة ألحان بواسطة الميكروكنترولر، وذلك عن طريق كتابة اسم اللحن فقط داخل الكود

[Learn More]

MP3 Player for Mikromedia PIC32


This project shows a way to play MP3 files on the dev board Mikromedia fro PIC32 using the stand alone audio codec VS1053 by VLSI. This program only uses interruptions from the input capture module to drive the codec. Play/pause/stop functions works, as the volume control (log corrected to suite the human ear sensibility).

[Learn More]