Pages: [1]   Go Down
Author Topic: Extra SDcard shield benefits?  (Read 1275 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
Karma: 0
Posts: 112
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


i have the Ethernet shield and I'm a little confused.
You can't use SD and Ethernet at the same time?
But thats with all SPI stuff or not? You always have to switch the slave?
And i was reading about software or hardware SPI.
So how do i know if the shield uses hardware or software?

So the question is: Is there a benefit from an extra SD shield over the Ethernet shields one?
Because of the description of the Ethernet shield i also ordered an Adafruit SD shield
but it also uses SPI? So there is no difference which one i use?

Offline Offline
Edison Member
Karma: 9
Posts: 1016
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The Ethernet Shield makes it able to use the ethernet and the SD card at the same time.
Both on a Arduino Uno and also on a Arduino Mega.
The software takes care about the SS (slave select) signal, you don't have to worry about it.
The ethernet chip (W5100) uses D10 and SD card uses D4 for the SS.

There is no benefit in adding an extra SD card. It will probably cause a SS conflict.

The SS signal for the W5100 is only active very shortly, when writing or reading registers. The W5100 can handle a lot by itself. I have for example the ethernet shield as a webserver, and the files are located on the SD card. If a request is done by a browser, the files are read from the SD card and passed on to the ethernet.
« Last Edit: December 06, 2012, 05:47:16 pm by Krodal » Logged

Pages: [1]   Go Up
Jump to: