Hi, everyone.
I'm trying to run the CardInfo example to test this SD module, but I keep getting the "initilization failed" message.
Here is the setup:
Any ideas?
Thanks in advance.
Hi, everyone.
I'm trying to run the CardInfo example to test this SD module, but I keep getting the "initilization failed" message.
Here is the setup:
Any ideas?
Thanks in advance.
where does the SD card gets 5V from?
I only see GND connected
cannot see the SD break out connections.
robtillaart:
where does the SD card gets 5V from?
I only see GND connectedcannot see the SD break out connections.
The rightmost yellow jumper is on 5V.
Those SD boards are notorious for fails like this. It does not have a logic level converter. The 4 resistors you see on that board are pullup resistors connected to the 3.3v power bus.
Putting a digital 5 volt line from the Arduino into a 3.3 volt input on the SD card can have unpredictable and sometimes destructive results to either the Arduino or the SD card.
I don't know what is your code, but I have an SD module like yours and it works for me. I tested it with this code. BTW, I use an Arduino MEGA, but I think it have no influence in this.
SurferTim:
Those SD boards are notorious for fails like this. It does not have a logic level converter. The 4 resistors you see on that board are pullup resistors connected to the 3.3v power bus.Putting a digital 5 volt line from the Arduino into a 3.3 volt input on the SD card can have unpredictable and sometimes destructive results to either the Arduino or the SD card.
Should I try the 3.3V pin?
It is the digital data lines (SCK, MOSI, and SS) that cause the problems, not the power supply to the SD card. A level converter of some type is recommended.
luisilva:
I don't know what is your code, but I have an SD module like yours and it works for me. I tested it with this code. BTW, I use an Arduino MEGA, but I think it have no influence in this.
Still no luck. Really lost here.
I've tried four different SD cards after formatting them, but nothing changed.
SurferTim:
It is the digital data lines (SCK, MOSI, and SS) that cause the problems, not the power supply to the SD card. A level converter of some type is recommended.
I don't have one. Is there anything else I could do?
Not the most efficient, but you can use a voltage divider. Connect the SD card MOSI pin to the '^' in this schematic. Do the same to the SCK and SS lines.
MOSI - 1Kohm - ^ - 2Kohm - GND