Pages: [1]   Go Down
Author Topic: How to wire SD Card  (Read 2083 times)
0 Members and 1 Guest are viewing this topic.
Denmark
Offline Offline
Edison Member
*
Karma: 35
Posts: 1029
Happy Hobbyist
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I have bought this SD card module from sparkfun:

http://www.sparkfun.com/products/204

Now I need to connect it to my Arduino Uno, and the only circuit I can find is this one:

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1206874649/8

My question is:

Is this the best way to do it.

in the playground there is some talk about SPI, but no wiring diagram.

I would like to be able to use the SD card like this

http://www.sparkfun.com/tutorial/microSD_Shield/SD_SimpleExample.pde

It seems to be so simple that I can handle it  smiley-grin

Thanks in advance


Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 179
Posts: 8070
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yep, using the SD socket breakout board and resistor voltage dividers should allow you to talk to the SD card using the SDFat library.

If you have an old dead device (camera, printer, etc) with an SD socket you can pop it off the circuit board and just wire directly to the socket instead of buying the socket on a breakout board.  The easy way to get the socket off a board is to heat the other side of the board with a torch.  When the solder melts, whacking the board on a hard surface should cause the socket to pop right off.

If you get a Micro-SD card with an SD adapter you can solder wires to the adapter pins an use it as a Micro-SD socket.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Denmark
Offline Offline
Edison Member
*
Karma: 35
Posts: 1029
Happy Hobbyist
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thankyou johnwasser

I will try and hook it up with the voltage divider.

I first realized how simple it was when I got the board, I would have thought that you needed some more of these black boxes to make an interface

I like the idea of whacking things.

Edit 4.aug.2011

It worked first time   smiley-grin smiley-grin

« Last Edit: August 04, 2011, 01:08:09 pm by Erni » Logged

Netherlands
Offline Offline
Sr. Member
****
Karma: 1
Posts: 290
(:-)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you get a Micro-SD card with an SD adapter you can solder wires to the adapter pins an use it as a Micro-SD socket.

Now that's a very clever idea. Never thought of that.
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 167
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ya that works great, the pins on a card adapter also just barely line up with a .1" pin header, so you could also mate it with a click lock shroud, or directly to a male header strip and have it breadboardable.
Logged

Pages: [1]   Go Up
Jump to: