How many output PWM with Ethernet on Mega

Ciao from Italy

I want know how many outputs are available in Mega 2560 if I use Ethernet Shield?

I need to make a controller for my reef aquarium so i need 5 PWM output



The Ethernet shield uses the SPI pins - 50 to 53 on the Mega. All the PWM pins - 0 to 13 - are available, although using pins 0 and 1 is not advised, since they are the main Serial port pins.

Arduino communicates with both the W5100 and SD card using the SPI bus (through the ICSP header). This is on digital pins 11, 12, and 13 on the Duemilanove and pins 50, 51, and 52 on the Mega. On both boards, pin 10 is used to select the W5100 and pin 4 for the SD card. These pins cannot be used for general i/o. On the Mega, the hardware SS pin, 53, is not used to select either the W5100 or the SD card, but it must be kept as an output or the SPI interface won't work.

So as Paul says, 50-53 are used, but pins 4 and 10 are also used (for the SD card).