Can anyone provide advice for hooking up a Thing Plus (ESP32 WROOM) to a microSD reader? From the many posts I’ve found on other forums, it seems like hooking up the microSD to an ESP32 device should be fairly straightforward, but I haven’t had any luck. Using the SD_Test.ino example that ships with the ESP32 manager, I’ve tried a number of pin configurations, including:
-
MOSI: 18, SCK: 5, MISO: 19 (per the pins listed [in the SparkFun forums here for SPI)
-
MOSI: 23, SCK: 18, MISO: 19 (per various non-SparkFun references for the ESP32, [like the wiring diagram here)
-
MOSI: 13, SCK: 14, MISO: 12 (for HSPI, which apparently [has issues with GPIO12 and is beyond my level of understanding)
I’ve been declaring CS as 23 for most attempts but have tried varying that as well. I have used two different microSD modules:
-
[The SparkFun Level Shifting microSD, receiving 5V with a buck/boost converter
Every attempt that I’ve made has ended with “Card Mount Failed”.](SparkFun Level Shifting microSD Breakout - DEV-13743 - SparkFun Electronics)](https://www.amazon.com/gp/product/B08CMLG4D6/ref=ppx_yo_dt_b_asin_title_o03_s01?ie=UTF8&psc=1)](esp-idf/examples/storage/sd_card at master · espressif/esp-idf · GitHub)](arduino-esp32/libraries/SD at master · espressif/arduino-esp32 · GitHub)](https://forum.sparkfun.com/viewtopic.php?f=97&t=49877&p=204323&hilit=thing+plus+gpio12#p204323)