SPI pins reserved for Ethernet

Which Arduino pins a W5100 Ethernet shield reserves for SPI, and which GPIO stay free for LiquidCrystal and DHT22 probes.

Close-up of white Cat-5e Ethernet cables with RJ45 connectors
Probe JSON usually leaves the LAN over Ethernet or a nearby relay, not the public internet directly. Photo: DiscDepotDundee.co.uk. CC BY-SA 4.0

The W5100 Ethernet shield uses hardware SPI on the Uno: MOSI, MISO, SCK, plus chip select on pin 10. Pins 10–13 and SPI lines must not be repurposed for LCD or sensors in standard layouts.

Reserved lines

  • D10: W5100 chip select (SS).
  • D11–D13: SPI MOSI, MISO, SCK on Uno.
  • Interrupt pin: Shield-specific; follow vendor silkscreen.

Planning GPIO budget

LCD 4-bit mode consumes six GPIOs; two DHT22 lines consume two more: plan before adding features. Stacking details: Ethernet shield stacking.

Alternative stacks

If pins run out, consider I²C LCD modules or offloading HTTPS to Python feeds while keeping JSON on HTTP locally.