I spent a several days ( 12-15 hrs ++) trying to get a WTV020-SD-16P to work as a standalone sound player, just as a test for my project.
It did finally work as a standalone. If I can do it, so can you, from this test setup, the experience can be built on.
I used a buck power supply ( cost less than $2 ) to get the 3.3 V from a 5v power supply ( the 5V power supply is a cell phone charger ).
Some really good information is scattered in the forum, so I started a post here just for listing best practices and troubleshooting tips.
My big problem: Wired very simply as shown, MP3 mode, when the play was triggered by connecting pin 9 to ground, all that came out was a feeble 1/2 sec beep. It didnt matter if the SD card was blank or had files on it.
Root problem was the micro-SD memory card. It worked fine connected to my PC thru a card reader.
The needed advice, not found in vendor documentation, is: " Before the memory card can be used it must first be formatted with FAT16 option."
After reformatting the memory card, copied sample .ad4 files to the card & voila ! success ! http://www.4dsystems.com.au/prod.php?id=73.
I'd thought the files would be limited to 20 seconds, these sample ad4s seem to be alot longer than that.
I also wired pin 2 [DAC +] up to a 15W amp to drive a car speaker. There is a loud POP when the sound files starts and stops, not sure of a DC blocking capacitor will fix that. Any suggestions ?
P.S. the LED goes out when pin 15 "BUSY" output goes high, so the LED really should be labeled "Not Busy".
After the aggravation of getting started is over, this inexpensive module looks to have alot of capability and uses for many fun hobby projects.
Thank you, the link takes to good solution areas. Having alot of good luck using the AD4 converter, IMHO, it is key to have successful sound tracks copied to the uSD card.
I used both, usb recorder and ad4converter.exe. I am experiencing a problem with the playback. Somo files do play fine, some others stops at 5,10 or more seconds. I am sure my source code for serial control is right, as a matter of fact, I think it could be the uSD card reading problem. Any idea?
Hey man, just wanted to say thanks for all your great work here.. I originally saw this module a while back and was wondering if it would work for me and it seems to do quite well. I was wondering if there is a way to loop clips? Any ideas or solutions are welcomed.
I've just bought a couple of these, not knowing what problems were waiting for me. I've just been fighting with them for a couple of hours and basically had every problem described in these forums. I think the real problem comes down to power supply.
a) SD cards need up to 3.6V to operate - more than the Arduino 3.3V pin can supply.
b) SD cards need a surprising amount of current to work. Add to this that you're also trying to drive a 4W speaker (or whatever) and you'll soon overwhelm a little voltage regulator.
The voltage/current needed by a card obviously varies between cards which is why some cards work better than others. Using an external amplifier probably helps a lot, too.
In my case I was getting nothing at all with the Arduino 3.3V supply. I tried the "two diodes" trick and got sound, but the files only played for a couple of seconds before stopping. I looked at the voltage and it was going up and down wildly. There was usually a drop down to about 3V when the sounds stopped playing (probably low enough to give SD card errors...)
As a test, I tried using a 3xAAA battery pack, and ... bingo! Everything started working perfectly. The batteries were putting out about 3.8V and not drooping too much when things got busy.
Bottom line: I think you need a fairly beefy 3.6V supply to run this thing properly (or a reasonably good 3.6V supply plus an external amplifier).
elac:
@ Fungus,
Just tried it at 3.6v and the module I thought was dead worked. Thanks for sharing the info, great find!!!
I played some more yesterday and confirmed it again. It's very clear that 3.3V isn't enough and that even 0.1V more can be the difference between it working/not. I'm currently trying to figure out a cheap/easy way to power them.
Measure the mA it draws at 3.6v and use a resistor to drop the remaining 1.4v at that measurement from the 5v out of the board. Cheap and easy, of course at the price of efficiency.
elac:
Measure the mA it draws at 3.6v and use a resistor to drop the remaining 1.4v at that measurement from the 5v out of the board. Cheap and easy, of course at the price of efficiency.
That doesn't work because the current draw is far from constant.
OK, I've had a play around with various power supply circuits and I decided on the one below. All you need is a transistor, a resistor and a Zener diode. This circuit gives just over 3.5V to the module (safe for the chip and for SD cards) and everything seems to work perfectly (with the Arduino 3.3V output I didn't get anything at all).