Click Thumbnails to Enlarge
Created in collaboration with Jamie Robertson, the MP3 Trigger is quite possibly the most versatile, low-cost, low power embedded MP3 Player. 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. The board plays the MP3 files directly from a FAT16 microSD flash card and supports 192Kbps stereo playback. There is also an on-board navigation switch for local access and playback of all MP3 tracks on the flash card.
New for version 2: Aside from more than doubling the number of trigger inputs, the MP3 Trigger v2 now contains a resident bootloader that enables firmware updates directly from the microSD card without requiring a hardware programmer. The PSoC Designer IDE can be used to generate hex files for the bootloader. See the datasheet below for more details on how to use the bootloader.
Firmware version 2 also incorporates “Quiet Mode”, a new feature that can be enabled via the serial control port. In this mode, the triggers don’t start tracks directly, but instead produce a serial message indicating which triggers were activated. A host microcontroller (Arduino, for example) 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.
The board uses a Cypress PSoC CY8C29466-24SXI microcontroller and a VLSI VS1053 audio codec.
Board can be powered by an external wall wart, FTDI Basic, or raw 3.3V input (see related items below).
Firmware update 2.23: compatible with 192kbps audio.
We use the most up-to-date firmware on everything we ship out. However, if you have an older v2.xx model (or want to change the baud rate) and wish to have the newest firmware, you can get it here.
Instructions on how to update your v2.xx firmware are in the datasheet, but here’s a quick review:
- Download and unzip one of the files above.
- Copy the resulting hex file to a microSD card and rename it to: “MP3TRIGR.HEX”. It does not need to be the only file on the card – it just needs to have that precise filename.
- Insert the microSD card into your MP3 Trigger V2 and turn the power on while holding down the center navigation switch.
- Wait for the Status LED to go solid, then cycle the power. You’re now running the new firmware.
Please refer to the datasheet for a more detailed description of the Status LED indications when running the bootloader.
- Input voltage: 4.5-12VDC
- Current Consumption: 45mA idle, 85mA playing
- File system: FAT16
- Audio out: line level stereo (1/8" stereo jack), see app note below if connecting to larger stereo jack
- Trigger inputs: 3.3-5V, active low inputs with internal pull-ups
- Serial: Full duplex, 8N1, 38.4K baud
MP3 Trigger v2 - $44.99
The DFPlayer is a compact and inexpensive MP3 module that can be directly connected to a speaker. The module can decode MP3, WAV, WMA files. The player can support FAT16, FAT32 file system.
- 16bit AD converter-chip, 16-bit data output
- Chip: MPU-6050
- Power supply: +3VDC - +5VDC (internal low dropout regulator)
- Communication: IIC communication protocol standard
- Gyro Range: ± 250 500 1000 2000 ° / s
- Acceleration range: ± 2 ± 4 ± 8 ± 16g
- Size: 2 x 1.6 x 0.1mm
DFPlayer module - $9.99