In this Instructable, you will learn how to make an SD card socket that plugs right into a breadboard for less than two dollars in parts (depending on how you get them of course). I show you how to use a simple straight pin header and modify it so you can plug in an SD card and attach it directly to a breadboard for data logging and prototyping. This is quick and easy so you don't have to wait for a socket in the mail, or build/buy the SMD breakout board for it either.
Basic soldering skills and common tools are required.
I will cover how to make vertical and right angle sockets. Either 7 or 8 pin should work. 9 pin may require some modifications, I only used 7.
Remove these ads by
Signing UpStep 1: Gather tools and materials
Solder
Soldering Iron, I use 45 watt but this is more than enough
Needlenose pliers
a vise is very useful to keep from burning yourself
and at least 21 pins of straight male breakaway header pins
I got the header pins from my local electronics parts shop. Radioshack doesn't carry them as far as I know, but they can be ordered from various places around the internet for very cheap. It was 2 dollars for 40 pins at my local shop.
Here is the digikey part, it's a bit more that 2 dollars. http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=A26513-40-ND
Same thing from Sparkfun
http://www.sparkfun.com/commerce/product_info.php?products_id=116
These are straight male breakaway header pins.
You could theoretically use right angle as well, but I used straight pins.










































Visit Our Store »
Go Pro Today »




I have 2 questions tho.
1. My project uses an arduino UNO and I need save data on a usb or sd card (I've got both). What library is the best library that will work with your configuration. I know there's an SD card library but will it work your configuration?
2. In your tutorial you said the arduino uses SPI mode with 7 pins.
I am using an Freetronics Ethernet shield and a Sparkfun SM5100B Cellular Shield & wifly RN-XV module.
They use pins:
Ethernet + wifly - (13,12,9,10) + (9,8)
Sparkfun SM5100B Cellular Shield - either pair (1,2)OR(2,3): Might be able to change this with sofware serial, doubt it tho.
+1 pin for keypad
Is it possible I can connect the 3Vs to arduino 3V and all grounds to arduino ground (analog OR digital) and somehow change the other pins from 1&2 to 3&4 software serial?
1 - Chip Select* ---SOFTWARE SERIAL TO --- 3
2 - Data Input* ----- SOFTWARE SERIAL TO -- 4
3 - Ground --- TO---- Arduino Grnd
4 - 3V3 ----TO---- Arduino 3V
5 - Clock* --- Leave this as it is ---
6 - Ground ----- To --- Arduino Ground
7 - Data Output* --- Leave this as it is ----------
As for the pinouts, the SPI pins must be the same as the arduino specifies, which I believe the ethernet shield uses too. BUT SPI is designed to work with multiple devices at the same time using the CS pin (Chip select). You can put this pin wherever you want, just be sure to specify the right one in the library you are using.
As for the library, any Arduino SD Library should work. I have heard of problems with cards larger than about 2GB though. Double check with the library first.
Good luck.
http://www.cooking-hacks.com/index.php/sd-card-shield-v2-1.html
I love how it can attached to the In circuit serial programmer. Is there anyway we can implement the SD CARD Breakboard socket to work with ICSP on my arduino UNO?
I understand it's a big personally i've never used the in circuit serial programmer.
If you don't care about using it afterwards, you might be able to solder to the pins and connect those to a usb card reader. I can't think of any better options.
Also, its real cheap!
You would not hapend to know what the protocol to use?