MicroSD Breakout With Level Shifter

Hi,

I can’t seem to make the code provided in the MicroSD Breakout With Level Shifter Guide work. I have the hook-up correct but still doesn’t recognize the micro SD card I have inserted.

To add, I am using the Arduino UNO WiFi Rev 2, which has the same settings and inputs as the regular Arduino UNO

Is the SD card formatted ?

Do you have another SD card that you can try ?

how did you connect ? pictures ?

paulvha:
Is the SD card formatted ?

Do you have another SD card that you can try ?

how did you connect ? pictures ?

Herre are the pinouts and the SD format.

Thank you.

SharedScreenshot.jpg

the MicroSD connections look correct to me. Either the SD card (is that working in another reader?), check the soldering making the right contact… otherwise out of thoughts for now. Maybe try on another board if you have one …

Just to make sure I have copied and used the unmodified sample code (https://learn.sparkfun.com/tutorials/mi … de-example) and compiled that to an Arduino uno. Doing the same connections as you to the MicroSD Level shift board. Worked without problems.

Are your header pins soldered to the board or just stuck through the holes?

I just received a new batch of these boards, and the first two I tested are NOT working. It appears the CD (card detect) pin is not functional, it is stuck low, and indicates no card present.

Whether a card is inserted or not. The last batch of 25 boards I bought in early 2019 worked just fine. The latest batch not so much.

There is another thread on this at: https://forum.sparkfun.com/viewtopic.php?f=102&t=56558

It appears SparkFun has changed the socket on the builds since late 2021 or so and the CD circuit does not work because of that.

In my code, I just commented out the check for seeing if CD was asserted HIGH, and then the code worked. So it appears something in the Card Detect switch in the socket is NFG.