Wiznet makers

irina

Published November 02, 2022 ©

91 UCC

3 WCC

84 VAR

0 Contests

0 Followers

0 Following

Original Link

Raspberry Pi Pico and rp2040 board: ethernet w5500 with plain (HTTP) and SSL (HTTPS) requests

we are going to explore the w5500 module with our rp2040 boards. w5500 is a quite powerful device that allows a wired connection.

COMPONENTS Hardware components

Raspberry Pi - RP2040

x 1


PROJECT DESCRIPTION

This tutorial also provides code examples for sending HTTP GET and SSL HTTPS requests. By using these code examples, you can send requests using Ethernet W5500 on Raspberry Pi Pico and RP2040 boards, based on the concepts explained earlier.

These code examples can be useful in various projects where you need to send requests to a target server and process the responses.

 The code is easy to understand and comes with detailed explanations, making it easy to apply in practice. Raspberry Pi Pico and RP2040 boards are low-cost microcontrollers that use Arm Cortex-M0+ processors.

The following is the table of contents for this tutorial, which provides an overview of what each section covers at a glance.

The circuit diagram shows how to connect Raspberry Pi Pico and WIZnet W5500 Ethernet controller.

The Wiznet Ethernet library is used for Ethernet communication.

 

rp2040-zerow5500
5CS
2SCK
4MISO
3MOSI
3.3v (need >150mha)VCC
GNDGND

To use an SSL connection, we need the server certificate, but in this case, SSLClient uses a trick given by BearSSL implementation.

In summary, this tutorial explains how to send Plain HTTP and SSL HTTPS requests using Ethernet W5500 on Raspberry Pi Pico and RP2040 boards. 

By installing the necessary libraries and certificates, we can easily send requests and receive data using these boards. 

This opens up a range of possibilities for using these low-cost microcontrollers in various projects.

Documents
  • Arduino Code

Comments Write