HELP PLEASE: AdaFruit Micro SD card

by samacumen on Wed Feb 06, 2013 1:30 pm

Hi,

I am trying to interface AdaFruits Micro SD shield with the Arduino, it works with the pins 10, 11, 12, 13 on the main Arduino UNO board.

However, in my project I have to interface it with the ICSP header pins for Atmega328 (that also supports SPI connection). How can I do this? I thought this should be possible.

I followed the tutorial http://www.ladyada.net/products/microsd/, but there is no mention of how to do it using ICSP pins.

Please looking forward for your help!!!
samacumen
 
Posts: 3
Joined: Wed Feb 06, 2013 1:26 pm

Re: HELP PLEASE: AdaFruit Micro SD card

by adafruit_support_rick on Tue Feb 12, 2013 12:45 pm

On the arduino, the ICSP pins are already wired directly to digital 13(SCK), 12 (MISO), and 11 (MOSI) as follows:

ICSP Pin Signal
1 MISO
2 +5V
3 SCK
4 MOSI
5 RESET
6 GND

Digital 10 (CS) is not available on the ICSP header. You can wire directly from Digital 10 (or any other available pin) for this signal.

Note that attaching the MicroSD card to the ICSP header DOES NOT free up Digital 13, 12, 11 for other purposes.
User avatar
adafruit_support_rick
 
Posts: 8613
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY