Wiznet makers

Hannah

Published February 04, 2026 ©

66 UCC

19 WCC

1 VAR

0 Contests

0 Followers

0 Following

ioNIC AT command Arduino Example

Example for configuring W55RP20-S2E by sending commands entered through USB serial from Pico via (UART/SPI)

COMPONENTS Hardware components

WIZnet - W55RP20-EVB-Pico

x 1

Software Apps and online services

Arduino - Arduino IDE

x 1


PROJECT DESCRIPTION

How to AT Command Example

This program is an example that sends AT commands to the W55RP20 S2E board via UART or SPI interface, based on serial data received through USB on the Raspberry Pi Pico.

Step 1: Prepare software

The following serial terminal programs are required for AT command example test, download and install from below links.

Step 2: Prepare hardware

1. Connect GPIO13 according to the selected UART/SPI mode of the W55RP20 EVB Pico, as illustrated below.

GPIO13 Pin Desc
LOW(GND)UART mode (default)
HIGH(3.3V)SPI mode

2. Connect the Raspberry Pi Pico and the W55RP20 EVB Pico using jumper wires as shown below, depending on the selected UART/SPI mode.

If UART mode :

Raspberry Pi PicoW55RP20 EVB Pico
GPIO4 (UART_TX)GPIO5 (UART_RX)
GPIO5 (UART_RX)GPIO4 (UART_TX)
GNDGND

If SPI mode :

Raspberry Pi PicoW55RP20 EVB Pico
GPIO2 (SPI_CLK)GPIO2 (SPI_CLK)
GPIO3 (SPI_TX)GPIO4 (SPI_RX)
GPIO4 (SPI_RX)GPIO3 (SPI_TX)
GPIO5 (SPI_CS)GPIO5 (SPI_CS)
GPIO26 (SPI_INT)GPIO26 (SPI_INT)
GNDGND

 

3. Connect the Raspberry Pi Pico to your PC (desktop or laptop) using a 5-pin Micro USB cable.

4. Connect the W55RP20 EVB Pico to your PC (desktop or laptop) using a USB Type-C cable.

Step 3: Arduino IDE Setup

Install Board Support Package

  1. Open Arduino IDE
  2. Go to File → Preferences
  3. Add the following to "Additional Boards Manager URLs": https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
  4. Go to Tools → Board → Boards Manager
  5. Search for "Raspberry Pi Pico" and install Raspberry Pi Pico/RP2040 by Earle F. Philhower, III
  6. Select Tools → Board → Raspberry Pi RP2040 Boards → Raspberry Pi Pico

Step 4: Code Examples

Each example provides a .ino file to upload to the Pico.

  1. SPI Communication
  2. UART Communication

 

Step 5: Upload and Test

5.1 Select Raspberry Pi Pico

  1. Go to Tools → Board → Raspberry Pi RP2040 Boards → Raspberry Pi Pico
  2. Select Tools → Port → Choose your COM port

5.2 Upload Code

  1. Open the desired example .ino file
  2. Click Upload button or press Ctrl+U
  3. Wait for upload to complete

5.3 Open Serial Monitor

  1. Go to Tools → Serial Monitor
  2. Set baud rate to 115200
  3. Verify network information and connection status

Step 6: Run

For detailed information about the AT commands supported by the W55RP20 S2E, please refer to the document below.

W55RP20 S2E AT command Manual

 

If you enter 'HELP' or '?', the usage instructions for the AT commands will be displayed.

 

Step 6.1: UART mode

Enter '+++' to send the command to the W55RP20 S2E to enter AT mode.

 

For example, enter the 'LI' command, which represents the Local IP value, to send it to the W55RP20 S2E and receive the Local IP address in response.

 

 

Enter the 'LI192.168.11.15' command to set the Local IP address on the W55RP20 S2E, and then verify that it has been configured correctly using an AT Get command.

 

 

 

 

 

 

Step 6.2: SPI mode

(For SPI mode, the device can enter AT command mode immediately without requiring an additional command.)

For example, enter the 'LI' command, which represents the Local IP value, to send it to the W55RP20 S2E and receive the Local IP address in response.

Enter the 'LI192.168.11.15' command to set the Local IP address on the W55RP20 S2E, and then verify that it has been configured correctly using an AT Get command.

For example, to save the configured command values, enter the 'SV' command and send it to the W55RP20 S2E.

When you perform a search using the WIZnet Config Tool, you can confirm that the Local IP address of the W55RP20 S2E has been changed.

 

Documents
Comments Write