Page 1 of 1

Interface SD Card via Arduino Ethernet Shield SD card Slot

Posted: Sat May 27, 2017 4:23 am
by rahul.b.patel
Hello,
Is it possible to interface SD card with ESP32 by using Arduino Ethernet Shield as an intermediate medium by using its SD card slot.?
I am trying to interface it with Pin connections as below..
ETH Shield CLK->ESP32 GPIO14
ETH Shield MISO->ESP32 GPIO 2
ETH Shield MOSI->ESP32 GPIO15
Pin 4 of ETH Shield is on HIGH level.

I am getting failure at Initializing SD card.
Am I doing it correct way.? Is it possible to interface SD card with this connection.?
Little help will be appreciated.

Thanks.

Re: Interface SD Card via Arduino Ethernet Shield SD card Slot

Posted: Mon May 29, 2017 4:06 am
by rahul.b.patel
Hello,
Can anyone help me with this please...?
I am getting following error..
"sdmmc_cmd: sdmmc_card_init: send_op_cond (1) returned 0x107".

Thanks.

Re: Interface SD Card via Arduino Ethernet Shield SD card Slot

Posted: Mon May 29, 2017 4:28 am
by WiFive
I don't know which Ethernet shield you have but it may have voltage dividers and no pullup resistors so may not work.

Re: Interface SD Card via Arduino Ethernet Shield SD card Slot

Posted: Mon May 29, 2017 7:01 am
by rahul.b.patel
Hi WiFive,

Its Ethernet Shield v5- A000056.
Here is a link of datasheet for your reference...
http://www.mouser.com/catalog/specsheet ... ASHEET.pdf


I have software enabled pull up for GPIO 14,2 and 15.

Thanks.

Re: Interface SD Card via Arduino Ethernet Shield SD card Slot

Posted: Mon May 29, 2017 6:49 pm
by WiFive
Yes it has the voltage dividers. Internal pullup are not very strong and especially in the presence of the voltage divider. Suggest to get another SD breakout for 3.3v with pullups.

Re: Interface SD Card via Arduino Ethernet Shield SD card Slot

Posted: Tue May 22, 2018 9:49 am
by speedy
Does the ethernet shield v2 work? It has Pullups and no voltage diviers. https://www.arduino.cc/en/uploads/Main/ ... V2-sch.pdf