Home Forums Sparkfun MP3 Shield Library Support Forum MP3 trigger not working.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3255
    Anonymous
    Inactive

    I’m very new to programming, but I used the MP3 shield trigger sketch on the sparkfun website.  I uploaded the sketch as is to my arduino uno. I have 9 MP3 files all named correctly on my SD card, but when I use a jumper wire to short any of the trigger pins to ground I am getting no sound in my headphones.  I then tried to upload the sketch for the the example file player that came with the shield.  I uploaded it and opened up the serial utility tool and could play any of the 9 MP3 files that I had loaded on the SD card.  Do I need to modify the MP3 trigger sketch in any way to make it work for me?  Was hoping it was as cut and dry as it looked as I’m using it to finish up a Christmas present, but ran into technical difficulties I see.  Any help would be greatly appreciated.

    #3256

    I am bit unclear as to which files you are exactly referring to. I assume you mean https://github.com/sparkfun/MP3_Player_Shield/blob/master/firmware/MP3_GPIO_Trigger/MP3_GPIO_Trigger.ino fails. I can not guess “example file player that came with the shield” you are referring to.

    I have seen some internal pull ups not work on some ATmega328p’s. MP3_GPIO_Trigger.ino has a print to indicate if which trigger occurred. As to confirm if the problem is the input. Or something else.

    You may want to try https://github.com/mpflaga/Sparkfun-MP3-Player-Shield-Arduino-Library/blob/master/SFEMP3Shield/Examples/MP3ButtonPlayer2/MP3ButtonPlayer2.ino

     

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.