Component guide · Intermediate · 3 min read
W5500 Ethernet Shield and Module

Wiring and Code
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The W5500 is a WIZnet Ethernet chip with the TCP/IP stack built in hardware. On an Arduino shield or a small module it gives a wired 10/100 network connection over SPI, with eight sockets at once. The standard Arduino Ethernet library supports it, so a board can serve a web page, send MQTT or read Modbus TCP with a reliable cable instead of Wi-Fi.
Key specs at a glance
- Chip
- WIZnet W5500, hardwired TCP/IP
- Network
- 10/100 Mbps Ethernet
- Sockets
- 8 simultaneous
- Interface
- SPI up to 80 MHz
- Supply
- 3.3 V chip (5 V tolerant I/O on shields)
- Buffer
- 32 KB internal memory
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1W5500 Ethernet Shield for Arduino₹4,559
Option 2Arduino Ethernet Shield 2 (A000024) with W5500 & PoE₹3,039
What the W5500 Ethernet shield is
Because the chip handles TCP and UDP itself, even an Uno can run a small web server. The shield plugs on top of an Uno or Mega and uses D10 as chip select; the SD card slot on some shields uses D4.
Wired Ethernet is a good choice for factory panels, data loggers and anything that must stay connected where Wi-Fi is weak or not allowed.
W5500 Ethernet shield pinout
The pins on the W5500 Ethernet shield and what each one does.
| Pin | Function |
|---|---|
| MOSI / MISO / SCK | SPI bus (ICSP header on the shield) |
| CS / SS | Chip select, D10 on the shield |
| RST | Reset (optional) |
| INT | Interrupt (optional) |
| 3.3V / 5V | Supply (module: 3.3 V, about 130 mA) |
| GND | Ground |
- MOSI / MISO / SCK
- SPI bus (ICSP header on the shield)
- CS / SS
- Chip select, D10 on the shield
- RST
- Reset (optional)
- INT
- Interrupt (optional)
- 3.3V / 5V
- Supply (module: 3.3 V, about 130 mA)
- GND
- Ground
Wiring the W5500 Ethernet shield
With an SD card in the shield, set D4 HIGH (or initialise the SD) so it does not fight on the SPI bus. On a Mega the shield still works through the ICSP header.
| W5500 Ethernet shield pin | Arduino Uno | ESP32 |
|---|---|---|
| CS | D10 (shield) | GPIO 5 |
| SCK | D13 / ICSP | GPIO 18 |
| MISO | D12 / ICSP | GPIO 19 |
| MOSI | D11 / ICSP | GPIO 23 |
| VCC | Shield: from the board | 3V3 (module, needs about 150 mA) |
| GND | GND | GND |
- CS
- Arduino Uno:
- D10 (shield)
- ESP32:
- GPIO 5
- SCK
- Arduino Uno:
- D13 / ICSP
- ESP32:
- GPIO 18
- MISO
- Arduino Uno:
- D12 / ICSP
- ESP32:
- GPIO 19
- MOSI
- Arduino Uno:
- D11 / ICSP
- ESP32:
- GPIO 23
- VCC
- Arduino Uno:
- Shield: from the board
- ESP32:
- 3V3 (module, needs about 150 mA)
- GND
- Arduino Uno:
- GND
- ESP32:
- GND
Example code
Give each board on the network a different MAC address. For MQTT, use the PubSubClient library with an EthernetClient.
#include <SPI.h>
#include <Ethernet.h>
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0x01 };
EthernetServer server(80);
void setup() {
Serial.begin(115200);
Ethernet.init(10); // CS pin (5 on ESP32)
if (Ethernet.begin(mac) == 0) { Serial.println("DHCP failed"); while (1); }
Serial.print("Open http://"); Serial.println(Ethernet.localIP());
server.begin();
}
void loop() {
EthernetClient c = server.available();
if (!c) return;
while (c.connected() && c.available()) c.read(); // skip the request
c.println("HTTP/1.1 200 OK\r\nContent-Type: text/html\r\n");
c.print("<h1>Hello from W5500</h1><p>A0 = ");
c.print(analogRead(A0));
c.println("</p>");
c.stop();
}Setup and tuning
check the green and yellow LEDs on the jack light when the cable is plugged in.
two boards with the same MAC confuse the router.
deselect it with D4 HIGH if fitted.
the chip draws about 130 mA; a weak USB port can cause DHCP failures.
What you need
Shop this list6 of 7 found in our store · ₹12,370
W5500 Ethernet Shield for Arduino: the part this guide coversW5500 Ethernet Shield for Arduino₹4,559
Arduino Ethernet Shield 2 (A000024) with W5500 & PoE: another version this guide coversArduino Ethernet Shield 2 (A000024) with W5500 & PoE₹3,039- Uno R3 development board: the controller used in the wiring tableFind this part
Mega 2560 development board: for more pins and a second hardware serial portArduino Mega 2560 Rev3 ATmega2560 Development Board₹4,289Closest match, check the specs
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
MicroSD card module (SPI): to log data alongside the networkMicroSD Card Module (SPI)₹45
Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
Alternatives and when to choose them
- Ethernet modules: ENC28J60, LAN8720 and other options compared.
- ESP32: Wi-Fi built in when a cable is not practical.
- Modbus RTU with Arduino and ESP32: for wired industrial links over RS-485.
Common mistakes to avoid
- Leaving the SD card selected so the Ethernet chip does not answer.
- Two boards with the same MAC address.
- Powering a module from a weak 3.3 V pin.
- Using the old Ethernet library version that only supports the W5100.
Frequently asked questions
Does the W5500 work with the Arduino Ethernet library?
Yes, the current Ethernet library detects the W5500 automatically.
Can I use it with ESP32?
Yes, call Ethernet.init(5) with CS on GPIO 5 and the VSPI pins.
W5500 or ENC28J60?
W5500: the TCP/IP stack is in hardware, so it is faster and uses far less Arduino memory.
Does it support PoE?
Only on shields that have a PoE module fitted, such as the Arduino Ethernet Shield 2 with PoE.
How many connections can it handle?
Eight sockets at the same time.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.


