I am wondering has anyone had success making the SD card breakout work with an ESP32. I am using the wiring and code here
https://randomnerdtutorials.com/esp32-m ... d-arduino/ but I supplied 5v instead of 3.3, with 3.3v signals coming from the ESP32. This is the board I am using
https://cdn.sparkfun.com/assets/learn_t ... lusV20.pdf I have tried in the arduino IDE and platformio in vs code, with the built in examples and the example posted above, I have also tried several different pins for CS while passing them to SD.begin(). I have also tried adding a 10k pull up on CS.
All I can get is
Code: Select all
[E][sd_diskio.cpp:123] sdSelectCard(): Select Failed
[E][sd_diskio.cpp:775] sdcard_mount(): f_mount failed: (3) The physical drive cannot work
[E][sd_diskio.cpp:123] sdSelectCard(): Select Failed
Card Mount Failed
I have looked over the wiring a million times I am pretty confident it is correct. I have also tried several SD cards that I have formatted using this tool
https://www.sdcard.org/downloads/formatter/ . I do see the LED on the SD reader flash when the setup runs. I have done a continuity check on all of the wiring.
The fixes I found found online are adding the pullup and supplying 5v rather than 3.3. Does anyone have other ideas to try?
Thank you in advance.
- wiring
- PXL_20220121_054249796-small.jpg (353.78 KiB) Viewed 595 times