Add Ethernet to Raspberry Pi Pico
Connect Raspberry Pi Pico to wired Ethernet networks using the W5500 Ethernet module for reliable IoT connectivity.
- Raspberry Pi
- Intermediate
- 60 minutes
- 4 steps
Shop this project
CartPrices from vilros.com. Tax and shipping at checkout.
Before you start, you'll need
- Raspberry Pi Pico
- W5500 Ethernet module
- Ethernet cable
- Breadboard
- Jumper wires
Connect W5500 module to Pico
About 15 minutes
Wire Ethernet module via SPI.
- Connect W5500 VCC to Pico 3.3V.
- Connect W5500 GND to Pico GND.
- Connect W5500 MOSI to Pico GP19 (SPI TX).
- Connect W5500 MISO to Pico GP16 (SPI RX).
- Connect W5500 SCLK to Pico GP18 (SPI SCK).
- Connect W5500 CS to Pico GP17.
- Connect Ethernet cable to W5500 port.
You should see
W5500 module is wired to Pico.
Set up MicroPython libraries
About 15 minutes
Install Ethernet support for Pico.
- Install MicroPython on Pico if not already done.
- Download W5x00 MicroPython library.
- Upload library files to Pico.
- Import ethernet module in your code.
You should see
Ethernet libraries are installed.
Test Ethernet connection
About 20 minutes
Verify network connectivity.
- Write MicroPython script to initialize W5500.
- Configure static IP or DHCP.
- Ping gateway to test connectivity.
- Display IP address on serial console.
You should see
Pico connects to Ethernet and gets IP address.
Make HTTP requests
About 10 minutes
Send data over Ethernet.
- Use urequests library for HTTP.
- Send GET request to test server.
- Parse response and display data.
- Use for IoT data logging or API calls.
You should see
Pico can make HTTP requests via Ethernet.
What to do next
Stuck? Contact Vilros Support with your board model and what you see on screen.