open62541 on a ESP32 microchip

545 views
Skip to first unread message

Stefan Profanter

unread,
Nov 29, 2019, 12:06:25 PM11/29/19
to open62541
Dear all,

I'm happy to announce that the open62541 OPC UA Stack is nicely working on ESP32 microcontrollers.

An example/demo repository can be found here:



I tested this on a TinyPICO board: https://www.tinypico.com/

As the name already suggests, the board is really really small and at the same time provides a lot of RAM and Flash memory.
To be able to use OPC UA, it of course has built-in WiFi.

Feel free to test it on your own board and leave any feedback in that specific repo via a new issue.

Happy coding!
Stefan

Cihan Mete Bahadır

unread,
Jan 17, 2020, 10:29:10 AM1/17/20
to open62541
Hello Stefan,

I am pretty impressed with your port of open62541 to esp32 as a core developer of open62541 stack. 

Maybe you already know, i have also ported it to this tiny cheap device (here https://github.com/cmbahadir/opcua-esp32). Do you mind if i use your MDNS implementation for discovery? Ofcourse, i will let you know by openning issues if i face any problem.

Cheers
Mete 

29 Kasım 2019 Cuma 20:06:25 UTC+3 tarihinde Stefan Profanter yazdı:

Stefan Profanter

unread,
Jan 18, 2020, 3:03:20 PM1/18/20
to open62541
Yes, of course you can use it, as long as it stays under the license of the open62541 stack (i.e., MPL 2.0)

BR
Stefan

Matthias Schuh

unread,
Mar 24, 2023, 12:52:11 PM3/24/23
to open62541
Dear Stefan, dear Cihan,

we are currently trying to build open62541 for the esp32 but are running into problems. We have considered your respective documentation but are still facing problems.
Our chip is:
- esp32-s3 
- espressif-sdk-version: 5.1

We are failing to build both of your examples following the provided tutorial / documentation.
Before going into too much detail: Can you point to an example utilizing the current sdk version maybe even with our chipset? I keep googling, but did not have much luck so far. Appreciate if you can point me into a direction.

Best,

Matthias

Matthias Schuh

unread,
Mar 25, 2023, 6:06:25 AM3/25/23
to open62541
Dear all,

a quick info, since we needed to compile the full size model I sticked to Stefans tutorial.

A quick docu on how I went ahead:

since I have the esp32-s3 I needed to check out v4.4 of the sdk at least, I went around 5.X because it seems there are breaking changes I would need to solve to use Stefans example

I installed the sdk as recommended, checke out Stefans repo to the example directory
I modified the main.c and adjusted the board type to esp32s3
In the menuconfig I added the respective parameters to adjust for the bigger ram and flash on my dev board and added the wifi config

Now I can build & flash: Everythin is running smoothly. I will try to document a tutorial asap.

Best,

Matthias
Message has been deleted

Matthias Schuh

unread,
Mar 25, 2023, 8:16:46 AM3/25/23
to open62541
Here is my forked version of Stefan's project with a branch for esp32s3 and additional information in the readme: https://github.com/essentim/open62541-esp32s3/tree/esp32-s3
Reply all
Reply to author
Forward
0 new messages