Go Down

Topic: Catalex MicroSD Card Reader Issues  (Read 481 times) previous topic - next topic

athoeny

Hello,

I am attempting to use a Catalex MicroSD Card Adapter (V1.0 09/02/20133), and am having issues with SD card initialization. I have tried different microSD cards, reformatted, and different Catalex adapters (same version).

I have also tried the solutions found in this thread, including jumping the appropriate wire.

Any ideas on what is wrong/how I can resolve the issue? Pin layout is correct.

Using a generic brand nano.

Thank you!

ieee488

https://forum.arduino.cc/index.php?topic=360325.0

Geek Emeritus

Code: [Select]
chipSelect = 10

void setup ()
   pinMode(chipSelect, OUTPUT);


some example programs do not do that pinMode... and they work. in my experience, it cost nothing, hurts nothing, and the SD card works if you use it.
All PMs will be deleted unopened due to arrogant argumentative pot stirring Malfoys.
 If you have not read "How to use this forum - please read", in particular: "7. If you are posting code or error messages, use "code" tags":  expect rude responses

athoeny

I believe I found the issue, although I'm not sure what to make of it...

Using an Arduino Uno, I am able to communicate with and execute tasks on the MicroSD Adapter. However, the adapter does not work on the Nano.

Any ideas on what the cause of this discrepancy is?

Geek Emeritus

#4
Mar 27, 2019, 12:12 am Last Edit: Mar 27, 2019, 12:19 am by Geek Emeritus
maybe something here can help:

why an uno works when a micro does not

different platform with physical similarities
All PMs will be deleted unopened due to arrogant argumentative pot stirring Malfoys.
 If you have not read "How to use this forum - please read", in particular: "7. If you are posting code or error messages, use "code" tags":  expect rude responses

lepoloni

I found the solution for this probem.

The MISO pin (7) of card need a pul-up resistor (10k~100k) when there is no pull-up in the microcontroller.
However, in this case, the Catalex has a buffer between microSd Card socket and the microcontroller pin.
The solution is put the pull-up close to the socket.

See the picture with the solution that I made.




Go Up