MP3 Trigger Hookup Guide V24

Pages
Contributors: Joel_E_B, robertsonics
Favorited Favorite 6

Introduction

The MP3 Trigger is a versatile, low-cost, low-power embedded audio unit that plays MP3 tracks directly from a FAT32 or FAT16 formatted microSD flash card to a stereo 1/8” (3.5mm) headphone output jack, supporting up to 192kbps stereo playback. The board has 18 external input pins that when pulled to ground, trigger pre-selected MP3 tracks, and a full-duplex serial control port that provides real-time volume control as well remote triggering for up to 255 tracks. There is also an on-board navigation switch for local access and playback of all MP3 tracks on the flash card.

MP3 Trigger

MP3 Trigger

WIG-13720
$53.50
17

The heart of the MP3 Trigger board is the Cypress PSoC CY8C29466-24SXI microcontroller which serves up MP3 data to a VLSI VS1063 audio codec IC. This version also supports an optional initialization file that can be used to set the serial port baud rate as well as to reprogram any of the 18 trigger inputs to alternate functions, including random and sequential track selection, transport controls and even volume up/down. Each conventional trigger can be set to either allow immediate restarts, or to lock out restarts if audio is playing. Also, a new trigger filename convention provides greater flexibility in naming your MP3 tracks and makes file management easier.

This version of the MP3 Trigger includes firmware that supports the use of an initialization file on the microSD card that can be used to change the serial baud rate, as well as to repurpose any of the 18 trigger inputs to alternate functions, such as random and sequential triggers, navigation controls and even volume controls. In addition, a restart lockout option can be used to prevent any trigger from starting a track if audio is already playing. Using these features, custom applications can often be implemented without the use of a separate microcontroller.

Suggested Materials

To get started with your MP3 Trigger, you'll need a few items not included. To begin, you'll need an microSD card on which to store your .mp3 files. A simple way to power the MP3 Trigger while you're familiarizing yourself with it is to use a 9V wall adapter. If you intend on using your MP3 Trigger with another serial device, you need an FTDI Basic or other serial connection. Last, you will need something though which to play audio. You may use headphones, a 3.5mm-to-3.5mm audio cable to connect to an external audio source, or one of our 3.5mm Audio pigtails to wire your MP3 Trigger to the output you desire.

SparkFun FTDI Basic Breakout - 5V

SparkFun FTDI Basic Breakout - 5V

DEV-09716
$16.50
125
microSD Card with Adapter - 32GB (Class 10)

microSD Card with Adapter - 32GB (Class 10)

COM-14832
$26.95
1
Wall Adapter Power Supply - 9VDC, 650mA (Barrel Jack)

Wall Adapter Power Supply - 9VDC, 650mA (Barrel Jack)

TOL-15314
$6.50
1
Audio Cable TRRS - 18" (pigtail)

Audio Cable TRRS - 18" (pigtail)

CAB-11580
$1.60
Note: The MP3 Trigger supports both SDSC (up to 2GB) and SDHC (up to 32GB) type microSD cards.

Make sure that you include some headers to connect to the PTH.

Break Away Headers - Straight

Break Away Headers - Straight

PRT-00116
$1.75
20
Break Away Male Headers - Right Angle

Break Away Male Headers - Right Angle

PRT-00553
$2.25
5

Tools

Depending on your setup, you may need a soldering iron, solder, and general soldering accessories for a secure connection when using the plated through holes.

Soldering Iron - 60W (Adjustable Temperature)

Soldering Iron - 60W (Adjustable Temperature)

TOL-14456
$16.50
16
Solder Lead Free - 15-gram Tube

Solder Lead Free - 15-gram Tube

TOL-09163
$3.95
4

Suggested Reading

Before you begin working with the MP3 Trigger, you may find the following tutorials useful:

  • How to Solder - Soldering will be necessary to attach buttons and switches to the trigger inputs.
  • Working with Wire - You'll likely need to use some wire to attach those buttons and switches.
  • Switch Basics - Learn about the numerous buttons and switches you can use to trigger your audio files.
  • If you plan on using your MP3 Trigger with an Arduino or other microcontroller, you should have a good understanding of Serial Communication, Hexadecimal, ASCII, and Serial Terminals.