BIPES and Raspberry Pi Pico Ethernet

WizNet is offering a low-cost Raspberry Pi PICO with Ethernet: the W5100S-EVB-Pico at about 9 dollars worldwide. For example, it can be purchased at Digikey here. There are firmwares ready to download and use based on MicroPython and CircuitPython.

If you want to quickly get started, just use this firmware I built:

https://bipes.net.br/firmwares/firmware_rpi_pico_ethernet_13022022.uf2

Next, just use BIPES with your RPI Pico (RP2040) + Ethernet.

Example 1: web client (HTTP GET)

Example result:

=== 
Trying to access http://bipes.net.br
Network connection status: True
HTTP Request result = b'BIPES Test: Live long and prosper!\n\n'
Date and Time from BIPES Server = b'2022-02-13 03:01:18pm'
>>> 
>>> 

Direct link to the program:

https://bipes.net.br/beta2/ui/#a97vw5

Example 2: send temperature using MQTT

Example result:

=== 
0
EasyMQTT connected
Network connection status: True
Trying to publish temperature to MQTT server...
EasyMQTT Publish - Session: ftxr7b Topic: temperature Value: 38.74783
Trying to publish temperature to MQTT server...
EasyMQTT Publish - Session: ftxr7b Topic: temperature Value: 40.62041
Trying to publish temperature to MQTT server...
EasyMQTT Publish - Session: ftxr7b Topic: temperature Value: 41.08855
Trying to publish temperature to MQTT server...
EasyMQTT Publish - Session: ftxr7b Topic: temperature Value: 41.08855
Trying to publish temperature to MQTT server...
EasyMQTT Publish - Session: ftxr7b Topic: temperature Value: 41.5567
Trying to publish temperature to MQTT server...
EasyMQTT Publish - Session: ftxr7b Topic: temperature Value: 41.08855
Error sending data. Network may be down.
Trying to publish temperature to MQTT server...
EasyMQTT Publish - Session: ftxr7b Topic: temperature Value: 40.15226

I removed the Ethernet cable during this program execution, and the try-catch detected it and alerted us (“Error sending data”).

Direct link to the program:

https://bipes.net.br/beta2/ui/#97vwqz

Updated version, ready to be saved and executed at BOOT:

https://bipes.net.br/beta2/ui/#x7maeo

IOT tab result:

Useful reference:

https://github.com/Wiznet/RP2040-HAT-MicroPython

3 thoughts on “BIPES and Raspberry Pi Pico Ethernet

  1. Pingback: RP2040 operating temperature | Yet Another Technology Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s