i try to get a sd card work with my esp32. But i found different types of circuits.
This one https://github.com/espressif/esp-idf/tr ... d#hardware
looks different as this one https://github.com/espressif/arduino-es ... braries/SD
The first one says something about pull up resistors. The second one says
"Do I need any additional modules, like Arduino SD module?
No, just wire your SD card directly to ESP32."
So, do i need resistors to put datas on a sd card or not? I tried the sdcard.c example in the esp-sdk with my esp32 wroom. I used this Pinout for the esp32:
https://raw.githubusercontent.com/gojim ... pinout.png
And this for the sd card: http://elasticsheep.com/wp-content/uplo ... pinout.png
My circuit is this one
Code: Select all
/*
* Connect the SD card to the following pins:
*
* SD Card | ESP32
* D2 -
* D3 SS
* CMD MOSI
* VSS GND
* VDD 3.3V
* CLK SCK
* VSS GND
* D0 MISO
* D1 -
*/
Code: Select all
E (1209) sdmmc_req: handle_idle_state_events unhandled: 00000004 00000000
E (1209) sdmmc_cmd: sdmmc_card_init: send_op_cond (1) returned 0x107
E (1219) example: Failed to initialize the card (263). Make sure SD card lines have pull-up resistors in place.
Which pinout should i use?
Do i need resistors? If yes, where do i have to place them (is there a picture for the circuit out there?)?
- Saskia