Error on MKR 1500 with SD Card Module

Hi everyone,

i'm trying to get the Arduino MKR NB 1500 running with an SD-Card Module that is 100% working on an Arduino Nano.
I've seen there is a special MKR SD Shield, but my board is just a normal SD-Card Module for the Arduino:

Whatever i try, i can't get the MKR running with the SD-Card, can you help me out?

Best regards.
Aaron

Nano is a 5V logic Arduino.
MKR 1500 is a 3.3V logic Arduino.

SD card module looks like one designed for 5V logic Arduinos.

What is the error you are getting?

I'm using the standard DataLogger example sketch.
The output is the following: Initializing SD card...Card failed, or not present

The pins that are defined in the description of the sketch don't match the pins on my MKR.
I need to use pin 8,9,10 because these are the SPI pins on the MKR

You need to check and see what CS (chip select pin) you MKR board uses. I know the maker Zero is pin 28.

Then include that CS pin in the SD.begin(cs) call

Is the CS a special pin?
How can i find it? Is it stated on the pinout?

You're right, the board needs 5V.
Can't i just put the VCC of the module to the 5V pin of the MKR?

Definetly not.

That would cause the SD module to put 5V on the MISO pin of your MKR and its magic smoke might escape.

The SD card module might work with 3.3V on its VCC pin, but the SD card might not then be reliable.

You really should be using an SD card module that is desgned for 3.3V use.

On most boards the CS pin is pin 10, but there is some boards that it is different. I know on my maker zero that has a built in sd card reader it is pin 28.

On most older pinouts and schematics of hardware it is known as the SS pin.

Okay, thank you both so much!! :pray:

I now understand that my module needs 5V and die MKR just provides 3.3V.
Good advice @srnet

@beau28713 i think the CS-pin isn't really the problem here. I need to buy an 3.3V module and then specify the correct CS-pin.

What really frustrates me is that Arduino never mentioned it anywhere that the MKR uses a different logic voltage. At least not where a beginner like me could find it.

Google search on 'Arduino MKR 1500' points to;

And the TechSpecs says;

You're right, but that little row in the TechSpecs didn't caught my attention.
Just would've wished it was stated more clearly that "standard 5v arduino modules" won't work with the MKR

I doubt it would make a lot of differance, most people dont read documentation in the first place, even when they have problems.