SparkFun
MP3 Trigger
Make some noise with your next project! The MP3 Trigger board is built to make MP3 sound integration easier than ever. The board has 18 external trigger pins...
Make some noise with your next project! The MP3 Trigger board is built to make MP3 sound integration easier than ever. The board has 18 external trigger pins that will directly trigger pre-selected MP3 tracks, and a full-duplex serial control port that provides full transport control, remote triggering for up to 256 tracks, and fast real-time volume control. MP3s are stored on FAT16 formatted SDSC or FAT32 formatted SDHC micro-SD flash memory cards. In addition, optimized code can achieve 192Kbps stereo playback from a wider range of cards.
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.
There is also a “Quiet Mode” feature that can be enabled via the serial control port. In this mode, the trigger inputs don’t start tracks directly, but instead produce a serial message indicating which triggers were activated. A host microcontroller can thus monitor the trigger inputs and then start any track or sequence of tracks via the serial control port, making the triggers much more flexible.
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.
Note: This product is a collaboration with Robertsonics. A portion of each sales goes back to them for product support and continued development.
Features:
- Input Voltage Range: 4.5V to 12.0V DC, or regulated 3.3V (jumper selectable)
- Current Consumption: Approximately 45mA idle, 85mA playing
- Media: SDSC and SDHC microSD cards
- File system: FAT32 and FAT16
- Audio output: Headphone stereo (1/8” stereo jack)
- Trigger inputs: Logic level 3.3V–5.0V, active low inputs, w/ internal pull-ups (connector provides individual grounds, allowing switches or jumpers to be connected directly to each trigger input)
- Serial: Full duplex, 8-bit, 38.4Kbaud (default, other baud rates supported via initialization file)
Documents:
- Schematic
- Eagle Files
- Hookup Guide
- Datasheet (VS1063)
- Datasheet (CY8C29466-24SXI)
- MP3 Trigger Support Page
- Firmware Updates
- GitHub
Jargon buster
Plain-language definitions for the technical terms used above.
- active LOW
- Active LOW means an input is considered switched on when it is connected to a low voltage or ground. This matters when wiring buttons, switches, or other trigger signals so the board responds in the expected way.
- baud
- Baud is the signalling rate of a serial connection, often used as the speed setting for UART communication. Matching the baud rate matters because both connected devices must use the same setting for readable data.
- Flash memory
- Non-volatile memory that keeps stored data even when power is removed. In this sensor, it matters because enrolled fingerprint templates can remain saved after the project is turned off.
- full-duplex
- Full-duplex means data can be sent and received at the same time. It matters for interactive serial links where commands and responses may need to travel in both directions without taking turns.
- microcontroller
- A microcontroller is a small computer on a chip that runs your program and controls connected inputs and outputs. For this product, it is the part that reads buttons and sensors, drives the display and speaker, and communicates over Bluetooth.
- microSD card
- A microSD card is a small removable memory card used to store files such as audio tracks. For this product, the card is where the sound files live, so its capacity and formatting can affect how many sounds you can use.
- UPS
- An uninterruptible power supply is a battery-backed power system that keeps a device running when external power is unplugged or fails. For an embedded computer, it helps prevent sudden shutdowns that can corrupt files or interrupt a project.
Find this product in
Audio & Video
MP3 Trigger Schematic
Schematic · 166.5 KB · Click any page to view full size
VS1063 Audio Codec Datasheet
Datasheet · 828.9 KB · Click any page to view full size
CY8C29466-24SXI Microcontroller Datasheet
Datasheet · 1.7 MB · Click any page to view full size
Supplier page — sparkfun.com
Supplier Description · 724.1 KB · Click any page to view full size
Resources & Downloads
Guides, code examples, and more
Related Tutorials
Free guides on learn.littlebird.com.au