Skip to content

adafruit/Adafruit_Soundboard_library

Repository files navigation

Adafruit_Soundboard_library Build StatusDocumentation

This is a library for the Adafruit Audio FX Sound Boards in UART mode

Check out the links above for our tutorials and wiring diagrams This sound fx driver uses TTL Serial to communicate

This is a list of the UART strings that will trigger actions on the Sound Board. For more details, see Adafruit_Soundboard.cpp (all commands must be followed by a carriage return character (\r) and then a new line character(\n), just like Serial.println())

ASCII Character(s) sent to Sound Board Description
L return a list of all the files on the Sound Board over the serial connection
#{n} play song number "{n}"
P{name} play song with a name of "{name}"
+ increase the volume
- decrease the volume
= pause playback
> resume playback
q stop playback
t return the current time in the track and the total time of the track in seconds over the serial connection
s return the remaining size of the track and the total size of the track in bytes over the serial connection

Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

Written by Limor Fried/Ladyada for Adafruit Industries. MIT license, all text above must be included in any redistribution

To download. click the DOWNLOADS button in the top right corner, rename the uncompressed folder Adafruit_Soundboard. Check that the Adafruit_Soundboard folder contains Adafruit_Soundboard.cpp and Adafruit_Soundboard.h

Place the Adafruit_Soundboard library folder your arduinosketchfolder/libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE

We also have a great tutorial at: https://learn.adafruit.com/adafruit-audio-fx-sound-board