Skip to content

W5100S-EVB-Pico with the Node-RED

The W5100S-EVB-Pico has the same role as the Raspberry Pi Pico platform and includes W5100S, so the Ethernet function is basically included.

WIZnet

Published February 17, 2023

Original author: taylor(taejin an) · South KoreaOriginal source (new tab)

W5100S-EVB-Pico with the Node-RED

Components

Hardware components Software Apps and online services

Project description

The W5100S-EVB-Pico has the same role as the Raspberry Pi Pico platform and includes W5100S, so the Ethernet function is basically included.

The Arduino-Pico of Mr. Philhower supports W5100S-EVB-Pico since version 1.9.7.

W5100S-EVB-Pico with the Node-RED

 

W5100S-EVB-Pico with the Node-RED

But you need to download WIZnet Arduino Ethernet manually.

W5100S-EVB-Pico with the Node-RED

 

And also, you need to set nCS yourself.

Ethernet.init(17); // WIZnet W5100S-EVB-Pico

 

W5100S-EVB-Pico with the Node-RED

Please see this previous article for detail.

This time, I want to show you a dashboard of the Node-RED with W5100S-EVB-Pico.

It is free and easy.

W5100S-EVB-Pico with the Node-RED

 

Here is documentation of Running Node-RED locally.

After installing Node-RED, you can run Node-RED at the command prompt.

node-red

 

W5100S-EVB-Pico with the Node-RED

W5100S-EVB-Pico with the Node-RED

Run the internet browser and go to your node-red.

http://127.0.0.1:1880/

 

W5100S-EVB-Pico with the Node-RED

You need to install other modules like a dashboard on the Manage palette.

W5100S-EVB-Pico with the Node-RED

 

I added network TCP and gauge, chart. It listens to the connection with a client at port 9456.

You need to deploy when you modify.

W5100S-EVB-Pico with the Node-RED

 

It displays to gauge and chart if it received data.

W5100S-EVB-Pico with the Node-RED

 

I wrote a sketch(W5100S-EVB-CoreTemp.ino) of the W5100S-EVB-Pico that will send the temperature of the pico core to the Node-RED server.

The flow is like below

1. It starts when the serial port is opened.

2. It will have an IP that is allocated from the DHCP server.

3. It will try to connect to the Node-RED server(also allocated from the same DHCP server) if it succeeds.

4. It will get the temperature of the pico core and send it to the serial port.

5. It will send the data to the Node-RED server if connected.

6. I add blink to check alive the W5100S-EVB-Pico.

You can see data from the client on the debug.

W5100S-EVB-Pico with the Node-RED

 

You can also change the size of gadgets.

W5100S-EVB-Pico with the Node-RED

 

Now you have a dashboard. You can add more sensors and show it.

For more details, please see this documentation of Node-RED.

Thank you for reading this.

 

Documents

  • arduino-pico

    earlephilhower/arduino-pico

  • WIZnet-ArduinoEthernet

    WIZnet-ArduinoEthernet/Ethernet

  • W5100S-EVB-CoreTemp.ino

    To download arduino sketch from hacster.io

  • W5100S-EVB-CoreTemp.jsonn

    To download Node-RED dashboard hacster.io

Comments

Comments