Skip to content

Raspberry Pi Pico robustness with MicroPython and Ethernet (W5100S-EVB-Pico)

In My Humble Opinion (IMHO), when a cabled infrastructure is available, an Ethernet connection is much better than Wifi for fixed IoT applic

taylor

Published September 30, 2022

Original author: Rafael · BrazilOriginal source (new tab)

Raspberry Pi Pico robustness with MicroPython and Ethernet (W5100S-EVB-Pico)

Components

Hardware components

Project description

Original : https://rafaelaroca.wordpress.com/2022/09/17/raspberry-pi-pico-robustness-with-micropython-and-ethernet-w5100s-evb-pico/

In My Humble Opinion (IMHO), when a cabled infrastructure is available, an Ethernet connection is much better than Wifi for fixed IoT applications. However, I missed a good cost-benefit solution for DIY enthusiasts. Wiznet W5100S-EVB-Pico (Raspberry Pi Pico with Ethernet) was the answer to what I wanted. I got some as soon as they were available, but the firmware was unstable.

But now we have the official MicroPython support for the W5100S Ethernet chipset on the Pi Pico! And it works great! I downloaded the firmware (v1.19.1 (2022-06-18) .uf2) from https://micropython.org/download/W5100S_EVB_PICO/ and installed it on the board, by simply “dragging and dropping” the downloaded file to the Pi Pico USB Disk!

Tests performed on the Pi Pico with Ethernet (W5100S-EVB-Pico)

Init network:

from machine import Pin,SPI
spi0=SPI(0,2_000_000, mosi=Pin(19),miso=Pin(16),sck=Pin(18))
nic = network.WIZNET5K(machine.SPI(0), machine.Pin(17), machine.Pin(20))
nic.active(True)
nic.ifconfig()

DHCP over Ethernet works nicely!

Comments

Comments