-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Module Support Inquiry] SDMMC MicroSD Card Support for FireBeetle 2 ESP32-S3 #472
Comments
Choose any 3 free pins for CLK, CD and D0 and add the code below to the firebeetle entry with the relevant pin numbers,
All 3 pins need 10k pullups which should be on the SD module |
Thanks for your prompt response. I did as you mentioned, but I'm getting the "Startup Failure: Check SD Card Inserted" error. What could this be? |
Hardware issue, either with pin assignment or lack of pullups |
I checked my hardware, connections are firm and short between the 3.3V-powered SD module and my ESP32S3. I've formatted the micro-SD card with FAT32 and 8192 bytes - not sure if these details determine whether the SD card will be read. I've tested the module with pull-up resistors on those 3 pins, still no luck... Supposedly, this SD card module I am using doesn't seem to need resistors as it has a logic level shifter, according to this page on Adafruit here: https://learn.adafruit.com/adafruit-micro-sd-breakout-board-card-tutorial/look-out This is the module I'm using: https://www.adafruit.com/product/254 I assume this is SDMMC compatible. If it needs to be connected up some other way or if one or more pins need to be attached, I'd appreciate it if you could let me know. Thanks. |
Over complicated board, you need to connect 3V3, 5V and GND to power the level shifter. |
Best guess pin 3 CMD pullup for each pullup, connect 10k resistor between pin and 3V3 pins 1, 2, 8 may also benefit from pullups to stop them floating |
pins given for micro sd |
Ok, thanks! Will test this out. |
I got the SD card adapter working. Quite a fast and cheap solution. I pulled-up all four data pins and the one command pin with a total of five 10K ohm resistors and adjoined both GNDs (VSS1 & VSS2). Works perfectly! Thank you very much for your help as always! About the Hexapedal Robot code, I still have to build the robot and ensure everything works as expected before merging it with yours. Cheers. |
Good to hear, interested to see the end result |
Hi,
I purchased an SDMMC MicroSD card module as you recommended. It uses pins CD, CS, DI, DO, and CLK. How can it be interfaced with an ESP32 such as the FireBeetle board using your code?
I don't see pin defines for the FireBeetle in your code that indicate an SD card can connect to it. Are there some sort of default pins the ESP32-S3 board has that are designed for an external SDMMC module? If so, which would those be? Thanks.
Best regards,
Max
The text was updated successfully, but these errors were encountered: