Advertisement

Quick Links

Qwiic MP3 Trigger Hookup Guide
Introduction
Sometimes you just need to play an MP3 file. Whether it's a sound track as you enter the room or a pirate cackling
when a dollar gets donated to the kid's museum. The Qwiic MP3 Trigger takes care of all the necessary bits, all
you need to do is send a simple I C command and listen.
SparkFun Qwiic MP3 Trigger
 DEV-15165
Product Showcase: Going Turbo
Product Showcase: Going Turbo
Product Showcase: Going Turbo
2

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Qwiic MP3 Trigger and is the answer not in the manual?

Questions and answers

Summary of Contents for sparkfun Qwiic MP3 Trigger

  • Page 1 Sometimes you just need to play an MP3 file. Whether it’s a sound track as you enter the room or a pirate cackling when a dollar gets donated to the kid’s museum. The Qwiic MP3 Trigger takes care of all the necessary bits, all you need to do is send a simple I C command and listen.
  • Page 2: Required Materials

    Required Materials The Qwiic MP3 Trigger does need a few additional items for you to get started, shown below. However, you may already have a few of these items, so feel free to modify your cart as necessary. USB 2.0 Cable A to C - 3 Foot Hamburger Mini Speaker ...
  • Page 3: Hardware Overview

    Electrical Characteristics The Qwiic MP3 Trigger is designed to operate at 3.3V and must not be powered above 3.6V as this is the maximum operating voltage of microSD cards. The 5V power from the USB C connector tied to a robust AP2112 3.3V voltage regulator that can source up to 600mA for the board.
  • Page 4 MP3 and ATtiny84 At the heart of the Qwiic MP3 Trigger is the WT2003S MP3 decoder IC. This IC reads MP3s from the microSD card and will automatically mount the SD card as a jump drive if USB is detected. The ATtiny84A receives I C commands and controls the MP3 decoder.
  • Page 5: Audio Amplifier

    The easiest way to add and remove MP3s to the Qwiic MP3 Trigger is to attach a USB C cable. This will enumerate the microSD card as a jump drive making it extremely easy to access the files on the card.
  • Page 6: Audio Outputs

    Wire inserted into the poke home connector. To remove, push down on the tab with a ballpoint pen and gently pull on the wire. Using pen to remove wire from poke home connector. Jumpers The Qwiic MP3 Trigger has three jumpers shown below:...
  • Page 7 Not sure how to cut a jumper? Read here! The INT jumper is located below the SparkFun logo and connects a 10K pull-up resistor to the INT pin. If you have multiple, open-drain, interrupt pins connected together you may want to remove this pull-up to better control the pull-up resistance.
  • Page 8: Single Trigger

    CLEAR_INTERRUPTS command is issued. Input Serial clock line of I C interface. Qwiic MP3 Trigger does implement clock stretching and will hold the clock line low if it is unable to receive additional I C data. Input/Output Serial data line of I C interface.
  • Page 9 Interrupt Pin The Qwiic MP3 Trigger has an INT pin which is configured as an open-drain pin with an on board 10K Ohm pull- The INT pin will go low when a track has stopped playing. Once the CLEAR_INTERRUPTS...
  • Page 10: Command Set

    Example8: Demonstrates how to check for the end-of-song interrupt and begin playing the song again. Command Set The SparkFun Qwiic MP3 Trigger library takes care of all these commands for you. However, if you want to implement your own interface, the following commands are available (see list below). The Qwiic MP3 Trigger uses standard I C communication to receive commands and send responses.
  • Page 11 In order to avoid clock stretching by the Qwiic MP3 Trigger and tying up the I C bus, the Qwiic MP3 Trigger will release the bus after every command is received. Therefore, it is up to the user to wait the minimum 50ms...
  • Page 12 The Qwiic MP3 Trigger can be used both as a standalone board or with the Qwiic connect system. In this case, we will be using the RedBoard Qwiic as the microcontroller in the Qwiic system. For both options, make sure to load an MP3 file labeled onto the MicroSD card.
  • Page 13 Qwiic Landing Page SparkFun Qwiic MP3 Trigger Arduino Library Example Sketches (ZIP) Qwiic MP3 Trigger Repo SFE Product Showcase Need some inspiration? Check out some of these related tutorials: MP3 Player Shield Music Box Sound Page Guide Music Box Project based on the Dr. Who TARDIS.
  • Page 14 Qwiic UV Sensor (VEML6075) Hookup Guide RedBoard Qwiic Hookup Guide Learn how to connect your VEML6075 UV Sensor and This tutorial covers the basic functionality of the figure out just when you should put some sunscreen RedBoard Qwiic. This tutorial also covers how to get started blinking an LED and using the Qwiic system.

This manual is also suitable for:

Dev-15165

Table of Contents