Help! how to connect a sparkfun mp3 player shield and a 20x4 LCD to 1 arduino

Greetings to everybody,

I'm in a hurry and need some help. Does anyone know how to connect a sparkfun mp3 player shield and a 20x4 LCD to the same arduino? I just need the mp3 player shield to play sounds from a sd card (nothing else) while the LCD shows some text, but it seems that the shield use all the pwm pins, so I'm not able to connect the LCD.

Any help will be apreciated,

Chusa83.

it seems that the shield use all the pwm pins, so I'm not able to connect the LCD.

That strikes me as a non sequitur.
Can you explain, please?

The MP3 shield uses the following pins:
Th SD CS pin is pin 9. Remember you have to edit the Sd2PinMap.h of the sdfatlib library to correct control the SD card by changing pin 10 to pin 9.

#define MP3_XCS 6 //Control Chip Select Pin (for accessing SPI Control/Status registers)
#define MP3_XDCS 7 //Data Chip Select / BSYNC Pin
#define MP3_DREQ 2 //Data Request Pin: Player asks for more data
#define MP3_RESET 8 //Reset is active low

The LCD uses 5 pins. From the Adarfruit LCD page Arduino Tutorial - connecting a parallel LCD they use
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);
I believe these pins can be changed, so I would try LiquidCrystal lcd(3, 4, 5, 10, 11, 12); or something similar.

Thanks a lot, Pauly, for your answer. I have one more question, that can seem too obvious, but I'm a beginer... What about the power supply? Should I connect the 5v sparkfun's pin to the 5v arduino's pin, or to the vin, or...? and gnd too?

Again, thanks for your help.

The shield should fit on top of the Arduino and automatically be supplied power. No need to connect anything expect to solder on the headers if you haven't done that already.

Thanks Pauly. If I get you then the connection should look something like this:

Am I right?

Saludos.

Ps: I'm attaching the fritzzing file for further reference.

Pauly:
The shield should fit on top of the Arduino and automatically be supplied power. No need to connect anything expect to solder on the headers if you haven't done that already.

conectar un lcd yb2004a y un mp3 shield de sparkfun a un arduino uno r2.fzz (8.17 KB)

This looks about right.

You will need a current limiting resistor in series with the LCD back light.