Hi, could someone explain me how to use SD arduino library with this shield ?
I try FileLogger and it works but it is very limited. I could not get running sdFat, or SD library give me 0x1 and 0x5 error.
Thanks
Hi,xadhoom
You said you get the error.Could you please tell us how did you use the SD shield and the sd library and what did you want to do?
Regards,
Piggy
I managed to use only SDuFAt library and Filelogger.
Standard SD Arduino library examples doesn’t work, errorCard 0x1 and Data 0X5
I think the PIN used for CS is 10, I’m right ?
I have tested all pins with sdfat library ( quickstart shetch ) but no way out.
Thanks
Enter the chip select pin number: n 8
Adafruit SD shields and modules, pin 10
The default chip select pin number is pin 10
Enter the chip select pin number: SD chip select is the key hardware option.
Common values are:
Arduino Ethernet shield, pin 4
Sparkfun SD shield, pin 8
Adafruit SD shields and modules, pin 10
The default chip select pin number is pin 10
Enter the chip select pin number: 10
SD initialization failed.
Do not reformat the card!
Is the card correctly inserted?
Is chipSelect set to the correct value?
Is there a wiring/soldering problem?
errorCode: 0x1, errorData: 0x0
Restarting
Indeed the CS PIN is pin10 if the main borad is Seeeduino v2.21.
You can test the examples of SD library in arduino-0022 IDE with Seeeduino v2.21 and SD Card v2.0 shield.
Regards,
Piggy
Version is 2.1
No way to work with SD arduino 0022 IDE library.
Sorry,I made a mistake.Exactly it is v2.1
No way to work? I could not really understand what you meant?
There is the SD library available in the Arduino IDE.And you can make the SD Card shield work with it.
Thanks,
Piggy
Using SD examples with arduino0022 I get
Card failed, or not present
But if I use Filelogger library I can write and read the card.
What could I do to understand the problem ? the SD.begin(10) function is failing.I use arduino UNO
Thanks
Make sure that chipSelect = 10.
Of course it it CS = 10…
xadhoom, your SD card is FAT16 or FAT32 formatted?
Is it 2GB or less?
Make sure the swith on the SD card shield v2.1 to 3.3v