amheus
1
Hey guys,
I recently brought the CANBus Shield (DEV-13262). I’m trying to get the SD card reader to work, however I’m having problems.
To test, I’m using this code:
https://github.com/arduino-libraries/SD … rdInfo.ino
And setting the “chipSelect” variable to 9.
However, it reports that the SD card could not be initialised.
I’m working with a 8GB FAT32 micro sd card.
I’m gonna continue playing about an seeing what happens, have you guys got any ideas?
amheus
3
Heyah, thank you for the speedy reply!
Unfortuantly not, it prints…
Initializing SD card...Card failed, or not present
Then loads of…
error opening datalog.txt
I’ve tried on a Leonardo and Mega with the same issues.
I’ve got an Uno arriving tomorrow to test with. Could it be a pin issue?
Thanks 
It’s pins. Leonardo and Mega do things differently with SPI and that’s how SD cards connect to Arduino.
The Uno should work just fine. 
amheus
5
ah absolutely fantastic!
I’ve run some jumper wires over to the correct pins and now can write data 
thank you very much both!