Stacking ethernet and mp3 shields to the same arduino uno

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
embedgeek
 
Posts: 10
Joined: Wed Sep 10, 2014 2:42 pm

Stacking ethernet and mp3 shields to the same arduino uno

Post by embedgeek »

I would like to know if I can stack the following two shields to the same arduino uno and get them functioning together:

Adafruit "Music Maker" MP3 Shield for Arduino w/3W Stereo Amp
https://www.adafruit.com/product/1788

Arduino Ethernet shield R3 with micro SD connector - Assembled
https://www.adafruit.com/products/201

I have isolated the pins that the ethernet shield uses, and am trying to do the same with the mp3 shield. It turns out that they both employ the ISP/ISCP header pins.
I'm assuming this will be a problem, or can I work around this? any advice will be greatly appreciated. Thank you.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Stacking ethernet and mp3 shields to the same arduino un

Post by adafruit_support_rick »

Both using the ICSP is OK - those are the SPI pins, and SPI is a bus architecture.
The problem is that both shields use pin 4 for the SD card chip select line.
You will only be able to use one SD card slot. Otherwise, both shields should just work.

I'm not sure about SRAM space - you may have a problem there on a Uno. Even without the hardware, you can always build a test sketch combining the libraries to see how much SRAM will be required. Use the freeRam() function from here to measure usage:
https://learn.adafruit.com/memories-of- ... ree-memory

User avatar
embedgeek
 
Posts: 10
Joined: Wed Sep 10, 2014 2:42 pm

Re: Stacking ethernet and mp3 shields to the same arduino un

Post by embedgeek »

Yeah, I figured that the SD card would be an issue. I figure I can always use I2C between two arduinos and get everything functional. For the ICSP header, how would I go about "sharing" that between both shields. In other words, how would I go about wiring the ICSP blocks from both shields to the "host" arduino?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Stacking ethernet and mp3 shields to the same arduino un

Post by adafruit_support_rick »

Use stacking headers with the MusicMaker shield. The ICSP headers will all plug together.
https://www.adafruit.com/product/85

There's a solder jumper on the bottom of the Music Maker Shield. It's normally connected. If you cut the trace, it will disconnect the SD CS from pin 4.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”