WTV020-SD-20SS SD Card U Disk Audio Player Interface


Closed Thread
Results 1 to 11 of 11
  1. #1
    Join Date
    May 2012
    Location
    Merseyside, UK
    Posts
    237

    Default WTV020-SD-20SS SD Card U Disk Audio Player Interface

    Hi All...

    Just looking at a possible project.... Looking to play upto 10 wav, mp3, sound files on demand from (10) pushbuttons.

    button 1 plays track 1
    etc to
    button 10 plays track 10

    Maybe a stop and reset button

    At moment looking at possibly using this WTV020-SD-20SS SD Card U Disk Audio Player maybe ?

    https://www.ebay.co.uk/itm/WTV020-SD...97.m4902.l9144

    Has any one any experience of using this or any other possible suggestions that might fit the bill.

    Sample code ?

    Thank you for reading and taking time out to reply.

    BR
    Andy

  2. #2
    Join Date
    Feb 2013
    Location
    Quebec, Canada
    Posts
    67


    Did you find this post helpful? Yes | No

    Default Re: WTV020-SD-20SS SD Card U Disk Audio Player Interface

    I did a small projet with it:

    https://hackaday.io/project/8299-hal...rting-skeleton



    My WTV020 is different from yours (https://www.banggood.com/WTV020-SD-1...r_warehouse=CN) but it's probaby the same.

    Please note :

    - there are different version of firmware on theses things. Some are standalone players with play/next/prev/stop only, no serial control.
    - I did this project in a hurry, for a unique day usage
    Attached Files Attached Files

  3. #3
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: WTV020-SD-20SS SD Card U Disk Audio Player Interface

    I built a PBP wav player with a 18F26K20 48MHz which read mono data at 44k at 8bit resolution. This was non FAT.
    Audio as well as GLCD are a cool choice of project as one can hear/see the results.

    Norm

  4. #4


    Did you find this post helpful? Yes | No

    Default Re: WTV020-SD-20SS SD Card U Disk Audio Player Interface

    I have used a number of different modules - the one I like is this http://geekmatic.in.ua/pdf/Catalex_MP3_board.pdf, I made a speaking clock connected to MSF receiver. (Can be done with GPS)

    You have to put a wire to one one side of the playback indicator if you want a busy signal, this I used to check if the module was already playing, and when the file playback had finished. (needed for composing messages)

    About 80 individual mp3 files whole announcements controlled with 16F628A

    ( )

  5. #5
    Join Date
    May 2012
    Location
    Merseyside, UK
    Posts
    237


    Did you find this post helpful? Yes | No

    Default Re: WTV020-SD-20SS SD Card U Disk Audio Player Interface

    Hi Aerostar

    Thank you for reply.... Your choice of MP3 Player looks a lot easier to us than my initial choice, I am not a software guy :-)

    Have you any sample code I can look at for ideas... I know I am being cheeky :-)

    BR
    Andy

  6. #6
    Join Date
    May 2012
    Location
    Merseyside, UK
    Posts
    237


    Did you find this post helpful? Yes | No

    Default Re: WTV020-SD-20SS SD Card U Disk Audio Player Interface

    Thank you all of you for help advice so far.

    Some interesting bits of info I am digesting

    BR
    Andy

  7. #7


    Did you find this post helpful? Yes | No

    Default Re: WTV020-SD-20SS SD Card U Disk Audio Player Interface

    The commands are easy - the pdf gives them, here are 3


    HSEROUT [$7E,$FF,$06,$03,$00,$00,MESSAGE,$EF] ' Plays file from sd card - eg if if button 5 is pushed then make variable MESSAGE =5, the fifth file will play.


    HSEROUT [$7E,$FF,$06,$06,$00,$00,VOLUME,$EF] ' VOLUME (1 to 30) It will remember the setting after a powerdown.


    HSEROUT [$7E,$FF,$06,$16,$00,$00,$00,$EF] 'STOP PLAY


    Things to note

    When copying your mp3 files to sd card, make sure the card

    is blank, and then copy each 1 on to it seperately.

    The reason being is that it takes no notice of the name,

    it plays back the files in the order they are put on the

    SD card. But for ease of use I name them 001, 002 etc

    Alternatively there is a program that will put files in the order you need on the sdcard.
    It is called drivesort http://www.anerty.net/software/file/DriveSort/?lang=en


    Things to remember on startup send the stop command in case it autoplays.
    Send the stop command prior to sending a play command, I cannot remember if when you send another play command it stops the current one, or queues it for play after current one ends.

    Correction to previous posting re busy, there is a proper busy signal on the actual chip, it is pin 10, but you will need to VERY carefully solder a thin wire to it and connect that to your PIC for the busy signal.


    http://www.da-share.com/files/datash...X5300_Docs.zip Has program and data sheets in the zip -

    See page 5 of zipped datasheet - the pdf is in Chinese, but info of pinout is in English

  8. #8
    Join Date
    May 2012
    Location
    Merseyside, UK
    Posts
    237


    Did you find this post helpful? Yes | No

    Default Re: WTV020-SD-20SS SD Card U Disk Audio Player Interface

    Aerostar

    Thank you.

    Just waiting for arrival of boards to play with !

    Also a handful of freeby chips from microchip

    Very much appreciated.

    BR
    Andy

  9. #9


    Did you find this post helpful? Yes | No

    Default Re: WTV020-SD-20SS SD Card U Disk Audio Player Interface

    This is neat. Is there a module similar to this that allows the user to record the samples as well via an electret mic or some sort of amp in?

  10. #10
    Join Date
    May 2012
    Location
    Merseyside, UK
    Posts
    237


    Did you find this post helpful? Yes | No

    Default Re: WTV020-SD-20SS SD Card U Disk Audio Player Interface

    Quote Originally Posted by keithv View Post
    This is neat. Is there a module similar to this that allows the user to record the samples as well via an electret mic or some sort of amp in?
    I have not seen one that can record....yet !!

    Any takers ??

    BR
    Andy

  11. #11
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: WTV020-SD-20SS SD Card U Disk Audio Player Interface

    One that can record WAV is VLSI Solutions vs1003b.
    Actually vs1003b is obsoleted now, but still readily available.
    They have similar chips that are current that can decode more codecs such as FLAC.

    Even vs1003b can play mp3, wav, and MIDI, and generate and play sine waves, and record wav.
    In addition it can run a spectrum analyser program, and pitch shifter programs, all before your microcontroller has to do anything at all.

    Last edited by Art; - 4th March 2018 at 03:52.

Similar Threads

  1. TTL magnetic card reader interface ith PC
    By attabros in forum Schematics
    Replies: 3
    Last Post: - 24th February 2016, 07:04
  2. Windows No Disk Error
    By leedog in forum General
    Replies: 4
    Last Post: - 24th November 2007, 21:28
  3. Build your own CD player for under $20
    By T.Jackson in forum Off Topic
    Replies: 12
    Last Post: - 12th November 2007, 14:27
  4. Hard disk motor - DC or stepper?
    By forgie in forum Off Topic
    Replies: 17
    Last Post: - 31st August 2007, 17:34
  5. hard disk and PBP
    By ely in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 6th December 2006, 02:16

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts