Skip to content

tfk/WT588D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WT588D

WT588D-library for Arduino using one-line mode.

This library has been tested with a Arduino Micro and a WT588D-U-32M module. By using the one-line mode you need to connect only 3 wires(RESET, SDA, BUSY) to the board instead 5 wires(RESET, SDA, BUSY, CS, CLK) when using the three-line mode. Both protocol-descriptions can be found in the specification.

Configure the WT588D board

The user-manual describes the configuration and upload process in detail.

  1. Convert existing soundfile

    The board doesnt support arbitary file-formats so you may need to convert your exisiting soundfile. Example: Using sox to convert the file in.wav to a 16 Bit (-b 16), 22kHz (-r 22k), mono (-c 1) out.wav-File.

    sox "in.wav" -b 16 -r 22k -c 1 "out.wav"

  2. Configure the board-settings

    There are only two releavant setting, which are important to this library. First you need to enable one-line serial mode (see section 2.5.1 of the software-user-manual). Second you need to set busy-mode to LOW as the library has methods to wait for the busy-signal.

  3. Place the soundfiles to the desired equations

  4. Compile settings and soundfiles

    A bin file with the settings and the sound-data will be created, that we will copy to the board in step 5.

  5. Transfer data to the soundboard

    See section 2.12 of the user-manual.

Installing the WT588D library

  1. Start the Arduino IDE.
  2. Goto Sketch > Include Library > Add .ZIP Library and select the WT588D.zip
  3. An example is now available via File > Examples > WT588D > LoopSound. Or you can import via Sketch > Include Library > WT588D.

About

WT588D-library for Arduino

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages