The Arduino Raspberry Pi Pico/RP2040-Ethernet V2.1.1

by TaejinAn in Circuits > Arduino

3306 Views, 0 Favorites, 0 Comments

The Arduino Raspberry Pi Pico/RP2040-Ethernet V2.1.1

3-EVB-Pico-set.jpg

After I had released 'WIZnet-ArduinoEthernet/arduino-pico' version 1.0.1, W5500-EVB-Pico, and WizFi360-EVB-Pico were launched.

So, there are three WIZnet RP2040 boards which pin compatible with Raspberry Pi Pico.

Supplies

w5100s-evb-pico-1024.png
w5500_evb_pico_side-1024.png
WizFi360-EVB-Pico_Main-1024.png

WIZnet-ArduinoEthernet/arduino-pico

001-20220917-004345.png
W5100S-W5500-EVB-Pico.png
001-20220916-165834.png
001-20220916-145240.png
001-20220916-145251.png

Thankfully, arduino-pico (Mr. Philhower) supports it already.

Both the W5100S-EVB-Pico and the W5500-EVB-Pico used the same RP2040 SPI pins. Therefore, there is no issue using with Ethernet Library.

On the other hand, the WizFi360-EVB-Pico uses WizFi360_arduino_library. Moreover, it uses AT-Commands through UART.

It was not hard to decide to support it, but it was hard to catch up with the steps of arduino-pico.

Now the arduino-pico(WIZnet modified) library supports these three boards on version 2.1.1.

Additional Boards Manager URLs

001-20220916-145312.png
001-20220916-145525.png
001-20220916-145609.png

You can add the URL in the "Additional Boards Manager URLs" field and search pico or ethernet in Board Manager to add.

https://github.com/WIZnet-ArduinoEthernet/arduino-pico/releases/download/global/package_rp2040-ethernet_index.json


Choose the Board As a WIZnet W5500-EVB-Pico

001-20220916-145653.png

Then, you can choose the Board WIZnet W5500-EVB-Pico.

Ethernet Examples

001-20220916-145750.png
001-20220916-145855.png

There are default examples of Ethernet.

Let's choose DhcpAddressPrinter.

Set NCS for W5100-EVB-Pico

001-20220916-145901.png
001-20220916-145905.png

You should uncomment to set nCS for the W5500-EVB-Pico.

Upload and Monitor

001-20220916-145941.png
001-20220916-145952.png

And Upload to the W5500-EVB-Pico. Maybe it is necessary to enter boot mode.

Then run a Serial Monitor.

You can see the allocated IP address.

Choose the Board As a WIZnet WizFi360-EVB-Pico

001-20220916-150042.png

Also, let’s see the WizFi360-EVB-Pico.

WizFi360 Examples

001-20220916-145759.png
001-20220916-150109.png

There are default examples of WizFi360.

Let's choose ConnectWPA.

Set Wi-Fi SSID and PWD

001-20220916-150120.png
001-20220916-150158.png

You should set Wi-Fi SSID and PWD to connect AP.


Upload and Monitor

001-20220916-150256.png
001-20220916-150317.png

If you insert code to wait for the serial port to connect, you can see the whole message without any missing message.

Thank you for reading this.