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.
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.
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-zero | w5500 |
---|---|
5 | CS |
2 | SCK |
4 | MISO |
3 | MOSI |
3.3v (need >150mha) | VCC |
GND | GND |
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.