Skip to content

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

Cart

Prices 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.

  1. Connect W5500 VCC to Pico 3.3V.
  2. Connect W5500 GND to Pico GND.
  3. Connect W5500 MOSI to Pico GP19 (SPI TX).
  4. Connect W5500 MISO to Pico GP16 (SPI RX).
  5. Connect W5500 SCLK to Pico GP18 (SPI SCK).
  6. Connect W5500 CS to Pico GP17.
  7. 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.

  1. Install MicroPython on Pico if not already done.
  2. Download W5x00 MicroPython library.
  3. Upload library files to Pico.
  4. Import ethernet module in your code.

You should see

Ethernet libraries are installed.

Test Ethernet connection

About 20 minutes

Verify network connectivity.

  1. Write MicroPython script to initialize W5500.
  2. Configure static IP or DHCP.
  3. Ping gateway to test connectivity.
  4. 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.

  1. Use urequests library for HTTP.
  2. Send GET request to test server.
  3. Parse response and display data.
  4. 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.