I could use some help getting an SD card working on an Arduino. I'm following the tutorial below and using the example code from the Arduino IDE.

99% of the time it's telling me the wiring wrong/no SD card error. 1% of the time, it says the card isn't formatted.

I have the CS pin correct in the code.

Has anyone seen this before? I've swapped card readers, Arduinios, wires and SD card readers. I'm not sure what I'm doing wrong.

https://learn.adafruit.com/adafruit-micro-sd-breakout-board-card-tutorial/arduino-wiring

Reply to this note

Please Login to reply.

Discussion

The MISO/MOSI/DI/DO terminology was throwing me for a loop. I swapped the DI/DO pins and now it works like a champ!

#GrowNostr #electronics #hardware #arduino