WT588D Standalone / Arduino Sound Player

by mattotone in Circuits > Arduino

51178 Views, 46 Favorites, 0 Comments

WT588D Standalone / Arduino Sound Player

wtd.JPG

This tutorial is for the WTD588D-U to be used in standalone mode

In this instructable i will show you the necessary tools and steps to load a few sound files and have them play on key press.
Perfect for testing the module before adding it to your Arduino projects.

There are a few different versions of the WTD588D, the -U has an onboard USB programer and is very cheap less than £3 from china, Other versions require an external programmer but have the benefit of being a smaller package size.

Download Required Software

Before we begin you will need software to prepare your audio files to ensure your audio file doesn't clip and to Export at 22khz bit rate, I recommend Audacity (link Bellow

The WT588D rar file contains manuals and the upload software required to push your audio files to the chip.

Audacity Prepare audio files and export as a 22khz Wav File.

WT588D Software Google Drive Link Upload WAV audio files to the onboard flash.

Prepare Audio Files

22khz.jpg
audacity_normalize.jpg
export.png

  1. Load or Record your audio files direct into Audacity.
  2. Ensure the audio files peaks do not clip by using the normalization tool located under effects.
  3. Change the project rate to 22000
  4. Export your audio file as a WAV

Change Language to English

wt0.png

To change the language to English press the 2nd button from the Right.

Load Audio Into Upload Software

wt1.jpg

Now we have our audio prepared we can load into the WT software.

Right click the left hand window and load your audio clips you are going to use within the project.

  • (If you intend to use an Audi clip multiple times within the project you only have to load it in ONCE as we can reuse the clip multiple times)

Organise Your Audio

wt2.png

Now that we have the audio loaded we now have to organise it into slots.
Each slot can be selected to play individually via the Arduino or the first 4 slots can be selected by hardware buttons in standalone (KeyMode)

You can add multiple audio clips into a slot that will play after each other, you can reuse a clip over and over again without it taking any additional space.

Changing the flash size to match the size of chip you purchased will give you an indication of how much space you have avaliable.
Remeber the flash size is quoted in bits and not bytes, there are 8 bits in a Byte so your 32mb flash size will hold 4MB

Setup Your Modules Control Options

wt3.png

For this tutorial we will be using keyMode, this is the simplest Setup and will allow us to trigger audio by pressing hardware buttons.

Compile the Settings and Audio Clips

wt4.png

Once we have loaded our audio clips, Set-up our slots and set our settings we now need to compile all of these into a single file ready to upload into our WT855D.

Upload to the Module

wt5.png

  1. Plugin your WT588D-U into your computer, wait for the necessary drivers to install.
  2. Select your flash size
  3. Press connect
  4. Press oneKeyDownload - Wait for the file transfer to complete
  5. Press Cut to disconnect.

Test

wt6.png

The module should now be uploaded with your config file and the audio clips.

Whilst testing the 5V can be supplied via USB

  1. Connect busy led to pins 22 + and 21 -
  2. Connect Speaker between pin 9 and 10
  3. Connect a push button between pins 19 and Gnd (14)
  4. You may repeat for pins 18 17 16 to trigger slots 2, 3, 4 to GND(14)

If not powered via usb you may connect a 5V supply to pin (22) and GND(14)