Skip to content

Juddling/pi-pico-enc28j60

Repository files navigation

Pico Ping

Uses lwIP in combination with the ENC28J60 SPI ethernet module to bring a TCP/IP stack to the Pi Pico!

Packets are read from SPI and then fed to lwIP which is running in "NO_SYS" mode - because the Pi Pico has no operating system! Pseudo code for this approach can be found here.

Code to interact with the ethernet module was adapted from an @turicas's Arduino driver.

Image of Pico responding to ping over local IP address

Wiring Diagram

Wiring Diagram

Thank you to @tobiasvogel for providing the wiring diagram

Future Improvements

  • diagram of wiring
  • format code
  • get DHCP discovery working