Wiznet makers

Aimee0

Published July 21, 2025 ©

22 UCC

16 WCC

8 VAR

0 Contests

0 Followers

0 Following

Original Link

UARDECS W55RP20 envsensor

An environmental sensor device implementing the UECS (formerly UARDECS) protocol on the W55RP20-EVB-PICO board

COMPONENTS Hardware components

WIZnet - W55RP20

x 1


PROJECT DESCRIPTION

🌿 UARDECS on W55RP20-EVB-PICO: Ethernet-Ready UECS Sensor Node

This project showcases a practical port of UARDECS, a UECS (Universal Environmental Control System) communication library originally developed for Arduino UNO/Mega, to the W55RP20-EVB-PICO platform (RP2040 + W5500 SiP). The result is a high-performance, Ethernet-native environmental sensor demo node optimized for smart farming and greenhouse control.


🔧 Key Features

No Ethernet Shield Required: Built-in W5500 with native Ethernet (10/100M PHY) and hardware TCP/IP stack—no need for external shields.

Full UECS CCM Support: Reliable communication using Japan's standard protocol for environmental control.

Browser-based Configuration: Easily configure node settings via a built-in web UI served from the device itself.

Embedded Optimizations:

MAC address auto-generation using RP2040’s unique ID

Flash-based pseudo-EEPROM for configuration persistence

Safe-Mode booting via GPIO14 grounding


🧱 Hardware Stack

ComponentRoleNotes
W55RP20-EVB-PICOMCU (RP2040, dual-core @133 MHz) + W5500AWS IoT qualified, on-board 10/100M PHY
I²C Environmental SensorsTemperature, Humidity, CO₂, Light etc.GP4/GP5 as I²C default pins (customizable)

📌 Sensor models are not fixed—please refer to the README or schematics for actual sensor choices.


💻 Software Stack

LayerLibrary / TechnologyHighlights
NetworklwIP + EthernetCompatCompatible with Arduino Ethernet API while leveraging lwIP
ApplicationUARDECSImplements UECS CCM for sensor data exchange
UtilitiesWeb UI, Safe Mode, Flash ConfigField-friendly design for configuration & maintenance

🔍 Key Implementation Differences

FeatureArduino UNO/Mega VersionW55RP20 Port (This Project)Benefits
Ethernet DriverExternal W5500 SPI ShieldOn-chip W5500 + lwIPReduced BOM & area, faster throughput
MAC AddressHard-codedGenerated from pico/unique_idEliminates address collision
Buffer Size500 bytes1024 bytesImproves logging & large packet handling
Config StorageEEPROMFlash-based pseudo EEPROMRP2040-friendly persistent storage

✅ Strengths & Areas for Improvement

Strengths:

Wired LAN reliability: Ideal for greenhouses with Wi-Fi interference concerns

UECS compatibility + Web UI: Interoperability and convenience for non-engineers

Potential Enhancements:

Add sensor schematics and assembly photos to README

Log and publish performance metrics: packet loss, power usage, web UI latency

Include Safe-Mode flowchart in documentation

Provide inter-node compatibility test results from real greenhouse deployments

Documents
Comments Write