- Thu Jul 26, 2018 5:46 pm
#199847
I am trying to use the DEV-13743 "Shifting uSD" micro SD card adapter board. I have it hooked up to my Arduino Mega2560 and the Arduino SD/FAT module can't find a card in the board.
When I use the same micro SD card in a full size SD adapter in an Adafruit SD/datalogger shield, it works fine. I do switch the CS pin setting from 10 on the shield to 53 for the micro SD card hookups. The Adafruit shield is able to read and write to the SD no problem with the exact same program.
I put the MISO/MOSI/SCK and CS pins on a scope as I tried to access the micro SD card. I got activity that seemed normal to me. I tried reversing the DI and DO pins and that didn't make it work. I tried using pin 10 for the CS signal (set up appropriately in the program, similar to the Adafruit board) and the card was still not recognized by the program.
I have Vcc and ground hooked up to +5 and gnd respectively on the micro SD card PCB.
SO.... what am I doing wrong?
-Tony
When I use the same micro SD card in a full size SD adapter in an Adafruit SD/datalogger shield, it works fine. I do switch the CS pin setting from 10 on the shield to 53 for the micro SD card hookups. The Adafruit shield is able to read and write to the SD no problem with the exact same program.
I put the MISO/MOSI/SCK and CS pins on a scope as I tried to access the micro SD card. I got activity that seemed normal to me. I tried reversing the DI and DO pins and that didn't make it work. I tried using pin 10 for the CS signal (set up appropriately in the program, similar to the Adafruit board) and the card was still not recognized by the program.
I have Vcc and ground hooked up to +5 and gnd respectively on the micro SD card PCB.
SO.... what am I doing wrong?
-Tony