Description:The WTV020 module (HCMODU0072) is based on the WTV020SD-20 device and allows for direct playback of audio files stored on a microSD card. The module also has outputs that will either drive an 8ohm speaker connected to the SPK+ and SPK- pins, or drive a single ended amplifier directly from its DAC output via the AUDIO-L pin. There are also several options for controlling playback including interfacing push buttons for play/pause, track forward/backwards and volume up/down. Alternatively the module can be controlled via a two wire serial interface (clock and data) that allows for random track selection and playback control.

Please note: The digital pins are not 5V tolerant. If interfacing to a 5V microcontroller, the datasheet recommends using 470R resistors between the microcontroller and this module. Alternatively a level shifter or potential divider can be used. MP3 format files will need to be converted to AD4 format for playback.

Why does my audio sound distorted? It is likely that the volume level in your audio files is too high. You can reduce the level using a feely available program such as Audacity.

I am trying to play a particular audio file but it always stops in the middle of play back. Why is this? This can also be caused by the audio level being too high.

You do not have the required permissions to view the files attached to this post.

Thu Sep 18, 2014 1:18 pm

brumster

Joined: Tue Oct 13, 2015 9:12 amPosts: 3

Re: WTV020 Based MP3 Type Audio playback Module (HCMODU0072)

Worked a treat first time. As per the comments on the shop page, memory card needs to be FAT format (2GB card worked fine for me so don't worry about the apparent 1GB limitation). Filenames should be like "0000.ad4", file format 16-bit PCM @ 32000Hz *mono* WAV converted to AD4 format. Bob's your uncle

Tue Oct 13, 2015 4:56 pm

andrew

Site Admin

Joined: Sun Aug 05, 2012 4:15 pmPosts: 659

Re: WTV020 Based MP3 Type Audio playback Module (HCMODU0072)

Thanks for the feedback on the SD card. I suspected that it could work with larger than 1GB but this is what the manufacturer specs it at.

_________________Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

Wed Oct 14, 2015 3:09 pm

brumster

Joined: Tue Oct 13, 2015 9:12 amPosts: 3

Re: WTV020 Based MP3 Type Audio playback Module (HCMODU0072)

I've just revisited this for a little Halloween project (PIR-triggered speaker in the garden for approaching trick-or-treaters!!!) and have found a few more useful tips for people.

Firstly, the audio file formats - I've found that 32kHz sample rate isn't actually very repeatable; it often plays the audio on the first request but then won't play any further files unless you reset the entire device. Moving to a 16kHz sample rate fixed this. So, in summary :

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum