Skip to content

Getting started with W55RP20 circuitpython

Getting started with W55RP20 circuitpython

louis_m

Published October 18, 2024

Getting started with W55RP20 circuitpython

Components

Hardware components Software Apps and online services

Project description

Hardware Requirements

 

Development Environment Configuration

To test the examples, the development environment must be configured to use W55RP20-EVB-Pico.

The examples were tested by configuring the development environment for Windows. Please refer to the below and configure accordingly.

 

Installing CircuitPython

Install CircuitPython on W55RP20-EVB-Pico by referring to the link below.

Prototyping is easier than ever, with no software download required. Simply copy and edit the files to the CIRCUITPY drive, and repeat it.

Getting started with W55RP20 circuitpython, Installing CircuitPython

Getting started with W55RP20 circuitpython, Installing CircuitPython

Edit and save the Lcode in code.py, your code will run on the W55RP20-EVB-Pico.

Let's check if CircuitPython is properly installed in your W55RP20-EVB-Pico with a simple blink example by referring to the link below.

 

Setup Libraries

To use Wi-Fi and additional functions of W55RP20-EVB-Pico, copy and paste the libraries included in the 'WIZnet-ioNIC-Circuitpython/libraries' directory into the 'CIRCUITPY/lib' directory.

Getting started with W55RP20 circuitpython, Setup Libraries

Everything can be found on github at the link below.

https://github.com/WIZnet-ioNIC/WIZnet-ioNIC-Circuitpython/tree/main

 

Loopback Example

Examples are available at 'W55RP20-EVB-Pico-CircuitPython/examples' directory. As of now, following examples are provided.

##TCP

Put in the Loopback example and spin it up, and you have a simple TCP server working. 

Getting started with W55RP20 circuitpython, Loopback Example

 

To test, open Hercules and connect to it as a TCP client.
Server IP : 192.168.11.110
port : 5000

Getting started with W55RP20 circuitpython, Loopback Example

 

Send the string “Hello” and you'll see it received and processed by the server.

Getting started with W55RP20 circuitpython, Loopback Example

 

##UDP

Similarly, let's run the UDP example in code.py.

Getting started with W55RP20 circuitpython, Loopback Example

When you run it, UDP will open and you can see it receiving and processing data on the connection, as shown below.
Server IP : 192.168.11.110
port : 6000

Getting started with W55RP20 circuitpython, Loopback Example

 

Getting started with W55RP20 circuitpython, Loopback Example

Comments

Comments