finds.dev← search

// the find

Pro/open62541-esp32

★ 60 · C · Unlicense · updated Apr 2021

open62541 OPC UA example for an ESP32 Microcontroller

A proof-of-concept that runs an OPC UA server (via open62541) directly on an ESP32 microcontroller, exposing industrial-protocol endpoints over WiFi. Aimed at developers bridging embedded hardware with industrial automation or IIoT systems who want to avoid a full PLC or gateway.

The boot log and README show it actually works end-to-end — WiFi init, SNTP sync, OPC UA endpoint up, all on a single TinyPICO board. Custom getaddrinfo shim for lwIP integration is a non-trivial piece of glue that saves the next person hours. CI workflow exists, so the build is at least checked automatically. Partition table and sdkconfig.defaults are included, so you're not guessing at flash layout.

Pinned to a specific open62541 commit from 2019 and ESP-IDF 4.1 from 2021 — both are multiple major versions behind; porting to current ESP-IDF v5.x will require real work and the repo hasn't been touched since April 2021. The README itself warns that credentials leak on the network because there's no encrypting security policy configured, which means it ships insecure by default with no guidance on fixing it. It's a single-file main.c example with no abstraction — useful for getting started, but not a library or component you can drop into a real project. External PSRAM is practically required for the nodeset to fit in RAM, which quietly raises the hardware bar beyond a plain ESP32-WROOM.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →