Qwiic MP3 Trigger volume control

I am using the Qwiic MP3 Triger to play WAV audio files. This Triger is working great. I can play WAV or MP3 files. I only need to play one WAV file repeatedly upon powerup. My application now requires the Qwiic MP3 Triger to perform an auto volume control upon powerup that starts the playing of the audio file at a low volume and gradually increases the volume to the full volume setting. I am open to all help and suggestions. The Qwiic MP3 Trigger can be replaced with a device that will enable auto volume control.

Lee J. Bernasek

912-674-8537 Mobile

bernasek@tds.net

Hi Lee.

That would be possible to do but you’d need to connect the Qwiic MP3 to an Arduino and write a program for the Arduino that sets volume to the lowest setting, starts your track and then periodically raises the volume level.

We don’t have an example that does specifically that, but example 5 in the library shows how to change volume and might be a good starting point for writing your own code.

Check out the [hookup guide for more information on connecting the Qwiic MP3 to an Arduino.](Qwiic MP3 Trigger Hookup Guide - SparkFun Learn)

TS-CHRIS,

Thanks for the reply. I can use an ARDUINO to adjust the volume on the Qwiic MP3. Does SparkFun support an audio player that has a programmable feature that would take the place of the ARDUINO.

Lee J. Bernasek

bernasek@tds.net

912-674-8537 Mobile

You could change the program that resides on the ATTiny84 on the Qwiic MP3 to do what you want. The existing code can be found at

https://github.com/sparkfun/Qwiic_MP3_T … r/Firmware

/mike

Does SparkFun support an audio player that has a programmable feature that would take the place of the ARDUINO

We do not unfortunately, we leave the program ability to other boards like Arduino for nearly all of our products but like Mike said, you could write your own firmware for the Qwiic MP3 Trigger that gives it the ability to be programmable on it’s own. That’s probably going to be a more difficult task than using an Arduino though.