Using both Ethernet Shield and Relay Shield on the same arduino mega

Hello,

I want to plug 2 shields on an arduino mega:

http://www.arduino.org/products/shields/arduino-ethernet-shield-2 http://www.arduino.org/products/shields/arduino-4-relays-shield

The relay shield will be on the top.

I want to use I/O pins too.

My question is: Which pins are not used by ethrenet and relay shields. I want to know which pins will be free for my other basic I/O

Thanks

The information is in the links you posted....

Informations i have read are not very clear

For example i can read that pin 4 is connected to relay 1 on relay shield. And this pin seems to select sd card on ethernet shield... Do you think this can be a problem, even if i do not use relay 1 ?

Thanks

testpresta2: For example i can read that pin 4 is connected to relay 1 on relay shield. And this pin seems to select sd card on ethernet shield... Do you think this can be a problem, even if i do not use relay 1 ?

Thanks

"pin 10 is used to select the W5500 and pin 4 for the SD card. These pins cannot be used for general I/O. "

So yes this will be a problem. If you would enable pin 4 for the sd card, then the relay will toggle.

Okay thanks that does not matter i wont plug anything on this relay and i do not want to work with sd card.
Do you think there might be other problems like this ?

What are the pins the relay will use and what are the pins the ethernet shield will use?

I want to use Relay 2 (i need only one relay) and i want to work with Ethernet.
I want to get a list of all I/O i can use (Analog, pwm, etc)

Thanks

testpresta2: I want to use Relay 2 (i need only one relay) and i want to work with Ethernet. I want to get a list of all I/O i can use (Analog, pwm, etc)

Thanks

If you refuse to read the pages you posted and if you refuse to answer the question I posted then I can't be bothered to help you further.