TOP Contributors

  1. MIKROE (2779 codes)
  2. Alcides Ramos (376 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139568 times)
  2. FAT32 Library (72041 times)
  3. Network Ethernet Library (57256 times)
  4. USB Device Library (47631 times)
  5. Network WiFi Library (43221 times)
  6. FT800 Library (42566 times)
  7. GSM click (29932 times)
  8. mikroSDK (28292 times)
  9. PID Library (26934 times)
  10. microSD click (26309 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
Library

WTV020-SD-16p library

Rating:

0

Author: xmas pako

Last Updated: 2016-02-18

Package Version: 1.0.0.0

Category: Audio Playback

Downloaded: 1446 times

Followed by: 4 users

License: MIT license  

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)

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

Thanks


 

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.

 

 

RELATED CODES

MP3 Player for Mikromedia PIC32

0

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]

MP3 Player for Mikromedia plus for STM32F4

0

a modified example of MikroElectronika - continuous playback of the playlist

[Learn More]

WTV020-SD-16P Cheper AD4 Sound Player Library using Pic 16F88 07/Feb/2016

0

UPDATE ON 07.02.2016 ------- WORK GOOD Definitive ---------- after collaboration with XmasPako, he help me to write MIKROBASIC Library. This CODE (Mikrobasic Pro)Drive the WTV-020-SD-16P to play the AD4 Audio File.

[Learn More]