All examples in the book work fine until this one. I checked the SD card its FAT 32, exchanged SD card holder, used
SPI_BUS = 0, SCK_PIN = 2, MOSI_PIN = 3, MISO_PIN = 4, CS_PIN = 5 and
SPI_BUS = 1, SCK_PIN = 10, MOSI_PIN = 11, MISO_PIN = 12, CS_PIN = 13
The program start sbut it holds with the command:
os.mount(sd, SD_MOUNT_PATH)
I added print commands and so I know it holds here.
No idea to get this working. Any suggestions?
Hi.
Have you tried powering your microSD card holder with 5V?
Some models require 5V to operate properly.
Regards,
Sara
I tested the SD Card reader with ESP32 and https://RandomNerdTutorials.com/esp32-microsd-card-arduino/SD_Test.
This was working. But with the Raspberry pi Pico no success yet.
Hi again.
Please double-check the wiring.
It’s probably some issue with the circuit. Make sure you’re connecting to the right GPIOs.
Regards,
Sara
Is it possible it has to do with the speed class of the SD card?
I also ordered another type of SD card reader. Hopefully it will work in the end.
Hi.
I’m not sure. But, it’s worth trying another microSD card.
I know some readers have issues with specific microsd card types, but I’m not sure which ones exactly.
Regards,
Sara
The Pico I tested with Arduino IDE and SD software, this was working OK.
Maybe the problem is somewhere in the pyhton software?
I don’t think so.
I tested the program and it was working just fine.
So, I’m not really sure what might be happening in your case.
Regards,
Sara
Today I received new SD cards, and the Pico is working now.
Old cards that did not work: Extreme Pro 16 GB Smart 1 U1
Cards that do work: Extreme Pro 32 GB A1 U1
and Scandisk Extreme 32GB A1 U3 V30
all car formatted FAT32
Regards, Dick