EventsThe 3rd International Electronic Conference on Machines and Applications
Published
This submission belongs to the session S1. Automation and Control Systems of the event The 3rd International Electronic Conference on Machines and Applications
Published date
07 May, 2026
Academic Editor
author-avatarJames Lam
Citation
Fábio Monte Braz, Angilberto Muniz Ferreira Sobrinho, Fábio de Souza Cardoso, Performance Evaluation of OPC UA PubSub Implementation for ESP32 Microcontrollers in Local and Cloud Environments, in Proceedings of The 3rd International Electronic Conference on Machines and Applications, 12 May–14 May 2026, MDPI: Basel, Switzerland
Share
Email
Facebook
Twitter
LinkedIn

Performance Evaluation of OPC UA PubSub Implementation for ESP32 Microcontrollers in Local and Cloud Environments

1. Universidade do Estado do Amazonas and Manaus, Manaus 69020-120, Brazil, Brazil
Abstract

The integration of legacy industrial assets into IIoT frameworks requires standardized protocols compatible with resource-constrained hardware. This paper evaluates an implementation of the OPC UA PubSub protocol (IEC 62541-14) developed in MicroPython for an ESP32 microcontroller, addressing the challenge of deploying industrial communication standards on low-cost embedded platforms. This research benchmarks the protocol stack's performance through systematic 50-sample statistical analysis, comparing local and cloud MQTT broker deployments. The methodology isolates protocol processing overhead from network infrastructure effects, enabling the precise characterization of implementation efficiency. The results demonstrate a deterministic internal serialization time of 8.46 ms (± 1.26 ms), which remains invariant regardless of network infrastructure, validating the protocol's computational stability. The library maintains a minimal memory footprint, with a peak consumption of only 4.86 KB per message cycle. Network performance analysis revealed significant differences between deployment scenarios. Local broker deployment achieved an average RTT of 119.71 ms with a jitter of 111.37 ms, while cloud broker deployment exhibited an RTT of 985.36 ms with a jitter of 206.49 ms. Despite the 8.2× latency increase in cloud scenarios, the system maintained a 100% message delivery success rate without packet loss across all test conditions. This study concludes that this implementation provides a robust foundation for industrial telemetry and monitoring applications in brownfield scenarios, demonstrating resilience under varying network conditions while maintaining strict protocol compliance with IEC 62541-14.

Keywords
OPC UA
PubSub
MicroPython
ESP32
Industrial IoT
Performance Benchmarking
Brownfield.
An Integrated Automation Framework for Monitoring and Control of Material Processes
An ESP32-CAM Embedded Data Infrastructure for Database-Driven Emotion-Based Student Readiness Assessment