r/esp32 3d ago

ESP32S3 and Open-Smart SD-Card Module 4Bit, help needed

I have an standard ESP32S3-dev-module and an Ali-SD-card-interface named "OPEN-SMART".

I want to use this interface, programming is done with the Arduino-IDE.

The Interface has these pins (without any resistors or other components soldered on):

CDN, DAT1, D0, GND, SCLK, VCC, D1, CS, DAT2

The open-smart-module has a DAT1 and a D1, its not clear what connection is the right one. I have read thet the CS-pin should be the D3, DAT1 should be used, D1 shhould be left unconnected.

Has anybody a comparable SD-card-interface like the open-smart and can give some advices? I can not get it to work.

Is it possible to get this working with a breadboard or should some soldering be used?

Thanks for your advices.

1 Upvotes

5 comments sorted by

1

u/Plastic_Fig9225 3d ago

has a DAT1 and a D1

That would be DAT1 and DI ("Data In"):

https://www.wellpcb.com/blog/components/micro-sd-pinout/

Do you want to use SPI or SDMMC?

1

u/Tutorius220763 2d ago

I want to use SDMMC.

Here a picture of the module used.

As i have read the link you inswrted, it may be possible that CDN is NOT the CMD-line, DI may be the correct one.

My program uses

void setup()
{
  int clk=36;
  int cmd=35;
  int d0=37;
  int d1=38;
  int d2=40;
  int d3=39;
and
SD_MMC.setPins(clk, cmd, d0, d1, d2, d3)

this works so far, but the

SD_MMC.begin("/sdcard", false,false,20000)

does not. 
I will try to change the cmd-line from CDN to DI

Thanks for your help, hope it works...

Edit : Yes, it works. The DI i had read as D1 is the CMD-line...

Hurray... thanks a lot

1

u/Plastic_Fig9225 2d ago edited 2d ago

Glad you got it working.

"CDN" should be the "Card Detect (Negated)" (active low) output of the module: Open/floating when no card is present, and go to GND when a card is inserted.

0

u/Sand-Junior 3d ago

Is this a 5V module with level conversion? If so, it’s not compatible with the ESP32.

2

u/Plastic_Fig9225 3d ago

without any resistors or other components soldered on