Go Down

Topic: SD card read/write with Arduino (Read 111 times) previous topic - next topic

Nnk

Hello everyone. I m from India and currently doing my final year project.
I m trying to interface an SD card with Arduino atmega8 for datalogging. I dont have any shield for the interface,since it is not affordable for me. and i m following this schematic

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

I tried the DevicePrint library, File Logger library.

But watever I try , I get only the following error msg "card Failed initialising". :(

I m using Arduino-0017 IDE in Linux.

could any one help me.

Thanks in advance.

Nandhakumar

pixeldoc2000

#141
Jan 25, 2010, 10:23 pm Last Edit: Jan 25, 2010, 10:25 pm by pixeldoc2000 Reason: 1
Quote
Hello everyone. I m from India and currently doing my final year project.
I m trying to interface an SD card with Arduino atmega8 for datalogging. I dont have any shield for the interface,since it is not affordable for me. and i m following this schematic

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

I tried the DevicePrint library, File Logger library.

But watever I try , I get only the following error msg "card Failed initialising". Sad

I m using Arduino-0017 IDE in Linux.


Have you read my post: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1206874649/124#124 ?

- How many different SD-Card have you tested (some card are much more picky than others)
- i've had good results with two old 16mb sd-card (came with my canon digital camera) and one 256MB Card
Why is it that only drug dealers and software developers call their clients "users"?

carl47

Quote
Nandhakumar


If dataloging does not require you to access the sd card
data on your pc using a FAT.

If you just want to log data straight to and from the sd card using the arduino.

Then look at:

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1259789744/0#0

unic

#143
Feb 03, 2010, 06:13 pm Last Edit: Feb 03, 2010, 06:30 pm by unic Reason: 1
Hi, i just want to test this uFAT, but i cant find the mmc1.rar from http://groups.google.com/group/micro-hacker

has anyone the files i need ?

btw, heres my idea of an Cardslot:

Its just a mini or micro SD-Cardadapter

cemath

To Nnk:

I've had problems initializing a card also, it turned out I had a bad contact between my card reader board and the header it was sitting upon. I soldered everything and it works perfectly now. You might want to verify all the electrical contacts, just to be sure.

Good luck!

Note: I use the very same circuit that you are using, except for 2 additional 100nF and 47uF capacitors between the 3.3V and GND pins next to the card (it probably works without that). I use a 2GB SD San Disk card.

Go Up