Component guide · Intermediate · 3 min read
Ethernet Modules

W5500, ENC28J60 and LAN8720
By Geekobot Learning Team · Updated 24 Oct 2026
On this page
An Ethernet module connects a microcontroller to a wired network. The W5500 has a full TCP/IP stack in hardware and talks over SPI, so it is the easiest and most reliable choice with the standard Arduino Ethernet library. The ENC28J60 is cheaper but leaves the networking to your microcontroller. The LAN8720 is a PHY chip for ESP32 boards that have a built-in Ethernet controller.
Key specs at a glance
- W5500
- Hardware TCP/IP, 8 sockets, SPI up to tens of MHz, 3.3 V with 5 V-tolerant I/O
- ENC28J60
- MAC + PHY only, software stack (UIPEthernet or EtherCard), 10 Mbit/s
- LAN8720
- RMII PHY for ESP32's internal Ethernet MAC, 10/100 Mbit/s
- Supply
- 3.3 V; modules draw around 100 to 200 mA when linked
- Connector
- RJ45 with built-in magnetics
- PoE
- Needs a separate PoE splitter or a PoE-capable board
When wired beats Wi-Fi
Use Ethernet where Wi-Fi is weak (basements, metal cabinets, factories), where a device must stay online for years, or where you want lower latency and no password to manage. Power over Ethernet can also supply the device through the same cable with a PoE splitter or a PoE-ready board.
Wiring a W5500
Connect the SPI pins: MOSI, MISO, SCK, plus CS (D10 on an Uno) and a 3.3 V supply that can deliver at least 200 mA. The Uno's 3.3 V pin is weak, so use a separate regulator or a W5500 module with its own regulator on 5 V. Reset can be left to the module's pull-up.
In code, Ethernet.init(10) sets the CS pin; then Ethernet.begin(mac) gets an address by DHCP. Give each device a unique MAC address, and print Ethernet.localIP() to find it.
ESP32 with LAN8720
ESP32 chips such as the original ESP32 have an internal Ethernet MAC that needs an external PHY like the LAN8720 over RMII. Several ready boards (for example WT32-ETH01 and Olimex ESP32-POE) combine them. RMII uses fixed pins and a 50 MHz clock, so follow the board's pin definitions in ETH.begin() exactly. The newer ESP32-S3 has no internal MAC; use a W5500 over SPI instead.
Try it: Power supply sizing calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Powering the W5500 from the Uno's weak 3.3 V pin.
- Two devices with the same MAC address.
- Leaving another SPI device's CS low.
- Using the ENC28J60 on an Uno with large web pages and running out of RAM.
- Mixing up RMII pins on ESP32 boards.
Frequently asked questions
Which Ethernet module is best for Arduino?
The W5500, because its hardware stack works with the standard Ethernet library and frees RAM.
Can an ESP32 use Ethernet?
Yes, with a LAN8720 PHY on chips that have an Ethernet MAC, or with a W5500 over SPI.
Is the W5500 5 V tolerant?
Its I/O pins are 5 V tolerant, but it must be powered from 3.3 V.
Can I power my project over Ethernet?
Yes, with a PoE switch and a PoE splitter or a board with a PoE module.
Why does DHCP fail?
Check the cable, the link LEDs, the power supply and that the CS pin in code matches the wiring.
Parts for this guide
- ₹399View
Calculators
Terms in this guide
Keep learning
Sources
- WIZnet W5500 datasheet
- Microchip ENC28J60 datasheet
- Microchip LAN8720A datasheet
- Espressif ESP-IDF Ethernet documentation
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

