# SparkFun Qwiic MP3 Trigger -

**URL:** <https://forum.core-electronics.com.au/t/sparkfun-qwiic-mp3-trigger/6257>\
**Category:** Sparkfun\
**Created:** [29 August 2019 23:31 UTC](https://forum.core-electronics.com.au/t/sparkfun-qwiic-mp3-trigger/6257 "2019-08-29T23:31:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Richard57725](https://avatars.discourse-cdn.com/v4/letter/r/49beb7/32.png) [@Richard57725](https://forum.core-electronics.com.au/u/Richard57725)\
**Post date:** [29 August 2019 23:31 UTC](https://forum.core-electronics.com.au/t/sparkfun-qwiic-mp3-trigger/6257/1 "2019-08-29T23:31:59Z")

</div>

Hi

I’m using an external sensor to trigger a “SparkFun Qwiic MP3 Trigger” ( in stand alone mode) and I’m finding it will accept another trigger, whilst its currently playing a track.  
Is there a way of getting the unit not to accept a new trigger until the current track being played back has finished.  
I notice that there is a pin (INT) that goes low when a track is playing ( that I thought I could use to control a relay to disconnect my sensor signal ) but that only seems to be able to be reset by a micro controller external to the board.  
I’m hoping that the brains trust can help me find a solution.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Graham](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/graham/32/54_2.png) [@Graham](https://forum.core-electronics.com.au/u/Graham)\
**Post date:** [30 August 2019 01:55 UTC](https://forum.core-electronics.com.au/t/sparkfun-qwiic-mp3-trigger/6257/2 "2019-08-30T01:55:01Z")

</div>

Hi Richard,

Hmm, an idea that comes to mind is to use an Arduino as a “buffer”. The triggers are connected to the [Arduino Uno](https://core-electronics.com.au/arduino.html), which has some code that “queues” outputs, ensuring they are played in sequence.

Better again would be to use [External Interrupts](https://www.arduino.cc/reference/en/language/functions/external-interrupts/attachinterrupt/) on the Arduino to ensure triggers are never missed.
