Skip to content
TJWi edited this page Jun 15, 2018 · 3 revisions

Welcome to the WT588D wiki!

Finally after 2 weeks of research up and down, I got it to upload the .bin file. Since this module has been poorly documented, I decided to write a wiki to help anyone new out there. I would really like to write a detail step by step guide to get anyone up to the programming but i'm lazy so i will make this short, so if anyone like to contribute towards saving time and money. Add your touches here.

Step 1: Preparing your Audio files.

You will need to download 2 programs for the following steps:

Create .wav files with Audacity and export as a 22kHz Wav File. https://sourceforge.net/projects/audacity/

Create .bin file to be upload to your WT588D. https://drive.google.com/file/d/0B4IMeS-6RiDJWGNhTHV1aF9pSDg/view

Further Read on Step 1: http://www.instructables.com/id/WT588D-Standalone-Arduino-sound-player/


Step 2:

Arduino PIN - WT588D-16P Board pin -- function

10 --------------- 9 ------------------------ CS chip select (3.3v)

11 --------------- 5 ------------------------ DI Data in (3.3v)

12 --------------- 6 ------------------------ DO Data out (3.3v)

13 --------------- 7 ------------------------ CLK Clock (3.3v)

7 ---------------- 1 ------------------------ Reset (3.3v)(I am not sure if this pin is needed)

Wire your arduino to WT588D, make sure your WT588D input voltage is 3.3v (Level-Shifter/Logic-Level-Converter is required)


Step 3:

Copy the sketch and upload the code into arduino and run it: https://forums.adafruit.com/viewtopic.php?f=8&t=80529#p407752

Open Serial Monitor (Ctrl+Shift+M) and Write down the Manufacturer's ID and Device ID that will be shown.


Step 4:

Install Adafruit_TinyFlash library and modify the following file https://github.com/adafruit/Adafruit_TinyFlash

File: Adafruit_TinyFlash.cpp (in window 7, the file is located here ...\Users\user\Documents\Arduino\libraries\Adafruit_TinyFlash-master)

Line 95:

return ((manID == 0xEF) && (devID == 0x13)) ? CHIP_BYTES : 0L;

to

return ((manID == 0x[manufacturing ID]) && (devID == 0x[Device ID])) ? CHIP_BYTES : 0L;

Example: return ((manID == 0xC2) && (devID == 0x15)) ? CHIP_BYTES : 0L;


Step 5:

Download and install this library. Duh~ :/ and open the sketch AudioLoader_WT588DRev_ND.ino, upload to your arduino and open Serial monitor (Ctrl+Shift+M)

You should get:

HELLO

1048576 (can be any number and this means arduino is able to get the capacity of the chip)

if you get

HELLO

0

from serial monitor, you've done something wrong or you do not understand some step between step 2 to step 4 because my instruction suck.


Step 6:

Download and unzip the following file from the link provided

File: Processing version 2.2.1 (19 May 2014) (Other version don't work)

Link: https://processing.org/download/?processing


Step 7:

Run processing.exe

and open the file provided in this library: WT588D/FlashLoader/AudioLoader_WT588D/ProcessingAudioTransfer

File: ProcessingAudioTransfer.pde

Find and modify the following line:

  portname = "/dev/tty.usbmodem1421";                        // bypass scan

to

  portname = "(Input your arduino com here)";                        // bypass scan

Example: > portname = "COM3"; // bypass scan


Step 8

Run the sketch and select the file you have prepared in Step 1 and you should be done.

congrat!! what took you a few hours now took me 7 full days to find out and make it worked. For the sketch to play music... look it up yourself... there is more help for this then the programming part.

Clone this wiki locally