MP3 Trigger Hookup Guide V24

Pages
Contributors: Joel_E_B, robertsonics
Favorited Favorite 5

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
$49.95
13

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
$14.95
116
microSD Card with Adapter - 16GB (Class 10)

microSD Card with Adapter - 16GB (Class 10)

COM-13833
$19.95
5
Wall Adapter Power Supply - 9VDC 650mA

Wall Adapter Power Supply - 9VDC 650mA

TOL-00298
$5.95
9
Audio Cable TRRS - 18" (pigtail)

Audio Cable TRRS - 18" (pigtail)

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

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.