Maker.io main logo

Another Ambassador Moment: Assembling the Adafruit Sound FX Board!

2022-05-13 | By Will Siffer

License: Attribution Sound

A Little Background

This project is a part of a much larger project I am working on, a 3-foot scale model of the Purdue Mascot, The Boilermaker Special. Since the real full-sized version makes sound and plays music, I wanted to make sure that my model could play the same sounds of the train horns and play some of the songs that the train plays. This left me looking for a device that could handle clean audio output, and I found the Adafruit Audio FX Sound Board.

 

What You Need to Get Started

The Adafruit Sound FX board comes with all the programming already done, so you will only need a few hardware components to get started:

  • 10 Pushbutton switches
  • Assorted jumper wires
  • A solderless breadboard
  • A Micro USB cable
  • Power supply
  • Speakers

Assembling The Board for Button Triggering

The Sound FX board is triggerd by connecting any of the pins marked 0-9 to ground. To do this, I used 10 pushbutton switches so I could practice with the triggered types. Something that I found very important with using this device is that it is powered with a USB power supply rather than a computer. After reading some of the documentation, I found that once the device is plugged into a computer, it boots into a "Flash Drive Mode" that prevents any audio from being played. 

Adding Songs / Using the Trigger Features

The sound board acts like a flash drive so all you need to do to add music and sound is to name the file the letter "T", then the number you want it triggered to from "00" - "09". So, for button 4 you would name the file T04. 

There are also different tags you can add to the end of the number:

  • LATCH - Press once to start, again to stop sound
  • HOLDL - Sound only plays while the button is being pressed
  • RAND# - Plays a random sound if there are multiple 
  • NEXT# - Plays the next # under the same trigger number

Wrap Up

The Adafruit Sound FX board is an amazing tool to simplify the audio production of any hobby project. The ability to add up to 11 different sounds with an integrated amplifier means that you don't have to waste time programming a media player and building a great-sounding amplifier!

 

制造商零件编号 1669
SPEAKER 4OHM TOP PORT
Adafruit Industries LLC
制造商零件编号 2210
FX SOUND BOARD 2X2W WAV/OGG 2MB
Adafruit Industries LLC
制造商零件编号 4184
6MM RAINBOW TACTILE BUTTON DELUX
Adafruit Industries LLC
制造商零件编号 FIT0010
JUMPER WIRE M TO M VARIOUS
DFRobot
制造商零件编号 DH-20M50055
USB AM TO USB MICRO, USB 2.0 - 1
Cvilux USA
制造商零件编号 PSAA05A-050QL6-R
AC/DC WALL MOUNT ADAPTER 5V 5W
Phihong USA
Add all DigiKey Parts to Cart
TechForum

Have questions or comments? Continue the conversation on TechForum, DigiKey's online community and technical resource.

Visit TechForum