Interface SD Card via Arduino Ethernet Shield SD card Slot

rahul.b.patel
Posts: 62
Joined: Wed Apr 19, 2017 6:35 am

Interface SD Card via Arduino Ethernet Shield SD card Slot

Postby rahul.b.patel » Sat May 27, 2017 4:23 am

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.

rahul.b.patel
Posts: 62
Joined: Wed Apr 19, 2017 6:35 am

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

Postby rahul.b.patel » Mon May 29, 2017 4:06 am

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.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

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

Postby WiFive » Mon May 29, 2017 4:28 am

I don't know which Ethernet shield you have but it may have voltage dividers and no pullup resistors so may not work.

rahul.b.patel
Posts: 62
Joined: Wed Apr 19, 2017 6:35 am

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

Postby rahul.b.patel » Mon May 29, 2017 7:01 am

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.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

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

Postby WiFive » Mon May 29, 2017 6:49 pm

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.

speedy
Posts: 1
Joined: Tue May 22, 2018 9:47 am

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

Postby speedy » Tue May 22, 2018 9:49 am

Does the ethernet shield v2 work? It has Pullups and no voltage diviers. https://www.arduino.cc/en/uploads/Main/ ... V2-sch.pdf

Who is online

Users browsing this forum: Google [Bot] and 124 guests