Sometimes you just need an MP3 to play. Whether it's a theme song as you enter the room or a power song when you are working out. The SparkFun Qwiic MP3 Trigger takes care of all the necessary requirements, all you need to do is send a simple I2C command and listen to whatever is on your micro SD card. Utilizing our handy Qwiic system, no soldering is required to connect it to the rest of your system. However, we still have broken out 0.1"-spaced pins in case you prefer to use a breadboard.
When a USB-C cable is connected to the Qwiic MP3 Trigger the contents of the microSD card appears as a jump drive. Simply plug in the Qwiic MP3 Trigger and you'll be transferring MP3s, no need for drivers and no need for WAV or Vorbis conversion! Sound output is provided via a 3.5mm headphone jack or poke-home connector allowing an external speaker to be connected without soldering. Your supplied speaker is boosted by a Class-D mono amplifier capable of outputting up to 1.4W making it capable of being incredibly loud! Volume is software selectable between 32 levels while equalization can be tuned to be sure your classical hits sound different from your jazz dance routines. If you don't want to deal with any programming, there are four trigger pins. When pin 3 is pulled low the T003.mp3 file will immediately be played. This allows you to start playing sound effects with the touch of a button! By pulling multiple pins down simultaneously the four triggers can play up to ten tracks: T001 to T010. Up to 255 tracks can be loaded onto the SD card and triggered via the I2C interface.
All settings including volume, EQ, and I2C address are stored in NVM and loaded at each power up. The I2C address of the Qwiic MP3 Trigger can be modified via a solder jumper or be assigned using a software command. Multiple Qwiic MP3 Triggers can be chained together on a single bus allowing for simultaneous track mixing and triggering.
We've written an extensive Arduino library to make MP3 playing over I2C a breeze. Play tracks, change volume, play next/previous, check if track is playing, stop play, change EQ, and change I2C address are all supported.
Note: This unit has the firmware updated to v1.2 to avoid the auto-loop bug of DEV-16892 (the previous version). All aspects of the board function identically but the 'Pause' command is no longer supported.
The SparkFun Qwiic Connect System is an ecosystem of I2C sensors, actuators, shields and cables that make prototyping faster and less prone to error. All Qwiic-enabled boards use a common 1mm pitch, 4-pin JST connector. This reduces the amount of required PCB space, and polarized connections mean you can’t hook it up wrong.
This revision of the SparkFun Qwiic MP3 Trigger, we have only made one change to improve the ease of use of the board, listed below. If users are unsure about which version they purchased, please refer to the product pictures.
If a board needs code or communicates somehow, you're going to need to know how to program or interface with it. The programming skill is all about communication and code.
Skill Level: Rookie - You will need a better fundamental understand of what code is, and how it works. You will be using beginner-level software and development tools like Arduino. You will be dealing directly with code, but numerous examples and libraries are available. Sensors or shields will communicate with serial or TTL.
See all skill levels
If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.
Skill Level: Rookie - You may be required to know a bit more about the component, such as orientation, or how to hook it up, in addition to power requirements. You will need to understand polarized components.
See all skill levels
Based on 2 ratings:
1 of 1 found this helpful:
Very simple trigger to set up. The file names are a little wonky, but once I read the documentation it kind of made sense. The connection options are great. Having options for jack or wires is nice. The USB-C port is a great addition, since that's the de-facto standard now. Connecting the 4 buttons were simple with a little solder, and with only 3 songs I was able to use the last button as a stop button.
It would be nice if the device to read the SD card when it's inserted without power cycling, but it wasn't too hard to figure out that it needed to be reset in order to read the new songs.
One suggestion for future versions would be to include analog volume control via a potentiometer connection. It didn't look like that's an option. The default volume is plenty loud and the power output is adequate for 2 small speakers running in a parallel connection.
0 of 2 found this helpful:
Using the examples provided hasCard often returns false & I need to recycle power to correct. isPlaying often returns true when nothing is playing getSongCount never works, returns 0 Example 2 playNext displays playing but often doesn't play anything & sometimes skips a track Example 3 with files named T001.mp3;T002.mp3 often plays the wrong Track I renamed files to F001.mp3;F002.mp3 etc and changed to playFile and it appears to consistently play the correct file then. Don't know how to resolve any of the rest of the issues.
Seems like you might just have a faulty product. Fill out a return ticket and we will make it right: https://www.sparkfun.com/returns