Home Forums Sparkfun MP3 Shield Library Support Forum Sound isn't working :( Reply To: Sound isn't working :(

#1752
Anonymous
Inactive

This is the file that I am using:

#include <SPI.h>
#include <SdFat.h>
#include <SdFatUtil.h>
#include <SFEMP3Shield.h>

SFEMP3Shield MP3player;

void setup() {

Serial.begin(115200);

//start the shield
MP3player.begin();

//start playing track 1
MP3player.playTrack(1);
}

//do something else now
void loop() {

Serial.println(“I’m bored!”);
delay(2000);

}

 

I’m not sure what you mean about hitting the 1 key or D, do you mean on the Serial monitor? Because for whatever reason, my serial monitor gives me a COM3 port error yet it still is loading programs to the board using COM3 as Arduino.  I thought that the set up function took care of hitting play because …”MP3player.playTrack(1);” so i figured once the program loaded to the Arduino the file would automatically play because of the set up function.
Also, I’m not sure what you mean by resetting the serial port. I always hit the reset button just before I upoad any file (I have to do this for the Arduino BT).
The files are really mp3, I checked under properties when I right click the file and it is 192 kbps as it is supposed to be.
The last part you said… “Assuming it is Italian Arduino BlueTooth. I do SEE D7 is a conflict between MP3-DCS and BT_RESET. Both you it as an output, so it should compile. And likely work. Where I would expect any actual playing of sound would cause the BT chip to reset. and you loose your serial data. but I would suspect it still actually play. Regardless of the BT.. I would bend D7 out when stacking, as not to seat in the header, then jumper D7 on the SFEMP3Shield to D5 and change the SFEMP3ShieldConfig.h #define MP3_XDCS from 7 to 5. This removes the BT_RESET issue.” is basically a different language to me.
I am very new at Arduino, this is my first project and I need explicit instructions like if I was a chimpanzee you are teaching Japanese to.. lol. I wonder if I just set up the library wrong? But in this case, why aren’t I getting any sort of error message? I put the library that i got from this site in the libraries folder of Arduino IDE (seems simple enough). Do I need to put anything on the SD card other than the mp3?

Thank you so much for helping me. and if all goes well, I will make a decent monitary contribution to this website for all of the help.