Music Maker FeatherWing

Play a variety of audio files read from a micro SD card and output as stereo via a 3.5 mm connector.   Connect audio output to headphones, amplified stereo system, or powered speakers.   Audio file formats supported: MP3, AAC, Ogg Vorbis, WMA, MIDI, FLAC, WAV (PCM and ADPCM).   The MicroSD card socket accepts any FAT16/FAT32 formatted SD card that is 64MB or larger.  

This is the non-amplified version.   A 3W amplified version exists as well.  

Adafruit Product Tutorial

 

Hardware

Required Pins

Three fixed hardware SPI pins are required for audio playback (but not MIDI mode).   Four control pins are required to play audio.  s;

  • SPI SCK - connected to SCK
  • SPI MO - connected to MISO
  • SPI MI - connected to MOSI
  • D10   VS1053 data select pin XDCS
  • D9   VS1053 data request interrupt pin DREQ
  • D6   VS1053 chip select pin MP3CS
  • D5   SD Card chip select pin SD CS
  • D1 (Tx) is connected to the MIDI RX on the VS1053.   If only using it in MIDI mode, you can short the jumper on the back and then use the TX pin.   If the device is unstable and hangs, then add a 10k to 100k pullup resistor between this pin and 3.3V, OR set the pin to be pullup input (pinMode(1, INPUT_PULLUP);) or output high level (pinMode(1, OUTPUT); digitalWrite(1, HIGH);).  

 

Software

Install the Adafruit_VS1053 library from the Arduino library manager.   Audio files on the MicroSD card must be 8.3 filenames.  

 


Do you need help developing or customizing a IoT product for your needs?   Send me an email requesting a free one hour phone / web share consultation.  

 

The information presented on this website is for the author's use only.   Use of this information by anyone other than the author is offered as guidelines and non-professional advice only.   No liability is assumed by the author or this web site.