Pages: [1]   Go Down
Author Topic: Does shield stacking order matter?  (Read 683 times)
0 Members and 1 Guest are viewing this topic.
Berlin
Offline Offline
Newbie
*
Karma: 0
Posts: 30
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello everyone,

I have a project with an arduino UNO, a proto shield with some electronics on it and the official ethernet shield.

The ethernet functions work only when the ethernet shield is directly stacked on top of the arduino. When the protoshield is stacked between the arduino and the ethernet shield, I can't connect it to ethernet, I can't ping, I cant post data... nada!

Can someone explain to me why it is like this?

Thanks
Logged


Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 212
Posts: 13531
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


The new ethershield (think version 5) needs to be on top because of the ICSP  header needs to be connected to the ethershield.

If you are using an older shield, there might be an unintended shortcut due to some components on the middle shield,

Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Berlin
Offline Offline
Newbie
*
Karma: 0
Posts: 30
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


The new ethershield (think version 5) needs to be on top because of the ICSP  header needs to be connected to the ethershield.

If you are using an older shield, there might be an unintended shortcut due to some components on the middle shield,



Thanks... that's probably it. But why does the ethernet shield need to be connected to the ICSP ?
Logged


Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 212
Posts: 13531
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Thanks... that's probably it. But why does the ethernet shield need to be connected to the ICSP ?

Check the schematics - http://arduino.cc/en/uploads/Main/arduino-ethernet-shield-05-schematic.pdf - and you see the ICSP header on the right.
The names MISO MOSI and SCK indicate the SPI bus, which is used by both Ethernetchip and the SD card.

Rob
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Berlin
Offline Offline
Newbie
*
Karma: 0
Posts: 30
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Thanks... that's probably it. But why does the ethernet shield need to be connected to the ICSP ?

Check the schematics - http://arduino.cc/en/uploads/Main/arduino-ethernet-shield-05-schematic.pdf - and you see the ICSP header on the right.
The names MISO MOSI and SCK indicate the SPI bus, which is used by both Ethernetchip and the SD card.

Rob

I see... this is strange because usually SPI pins are D11, D12,D13 plus D10 for selection.
Anyway, thanks a lot Rob.
Logged


Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 212
Posts: 13531
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That are the pins on the Arduino board, but are they also teh pins on the ethershield ?  I have none around to look...., sorry ..
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Berlin
Offline Offline
Newbie
*
Karma: 0
Posts: 30
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, on the ethernet shield the D 10,11,12,13 are marked as used.
It is something really strange.
Logged


Lisboa, Portugal
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Higher!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello all,

I have a problem with this too. I got an Mega with and ethershield that uses the 10-13 pins, but also the ICSP header.

can someone explain me this? what is the really useful pins? the header on the right ( with the 6 pins) or the 10-13 pins? or, in my case, on the MEGA, should I use the 10-13 or the 50-53 or even the 50-52 and leave the 10 put?

this is driving me nuts, because I cannot figure out how have worked in the past and is sort of random...
Logged

If something can go wrong, it will. (The Great Murphy)

Pages: [1]   Go Up
Jump to: