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
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
WIZnet-ArduinoEthernet/arduino-pico
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
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
Then, you can choose the Board WIZnet W5500-EVB-Pico.
Ethernet Examples
There are default examples of Ethernet.
Let's choose DhcpAddressPrinter.
Set NCS for W5100-EVB-Pico
You should uncomment to set nCS for the W5500-EVB-Pico.
Upload and Monitor
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
Also, let’s see the WizFi360-EVB-Pico.
WizFi360 Examples
There are default examples of WizFi360.
Let's choose ConnectWPA.
Set Wi-Fi SSID and PWD
You should set Wi-Fi SSID and PWD to connect AP.
Upload and Monitor
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.