PINE64
Interfacing Pine A64 with ESP32 for Sensor Logging via Serial or MQTT? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PineNote (https://forum.pine64.org/forumdisplay.php?fid=171)
+--- Forum: General Discussion on PineNote (https://forum.pine64.org/forumdisplay.php?fid=172)
+--- Thread: Interfacing Pine A64 with ESP32 for Sensor Logging via Serial or MQTT? (/showthread.php?tid=19892)



Interfacing Pine A64 with ESP32 for Sensor Logging via Serial or MQTT? - aria22 - 07-07-2025

Hi all, I’m building a logger platform with the Pine A64 board that collects environmental data from multiple ESP32 modules, and I’m deciding whether to use MQTT over local Wi‑Fi or direct USB/UART communication. I recently found this guide on ESP32 MQTT setup and found it an excellent primer for structuring reliable publishing from sensors:
https://www.theengineeringprojects.com/2021/11/esp32-mqtt.html
I’ve also been exploring how to implement MQTT on ARM boards using Mosquitto on Armbian, and came across a hands-on ESP32 + MQTT + Node-RED sensor dashboard project. My main concern is latency, long-run stability, and ease of integration via UART. Has anyone built a similar real-time logging system on Pine A64 with multiple ESP32s? Which communication method worked best for you in terms of reliability and scalability?