Back to projects

UPM209 ESP Extension

ESP32-S3 firmware that reads electrical measurements from a UPM209 meter over Modbus RTU, processes resilient rolling samples, and uploads normalized JSON data.

Architecture

UPM209 ESP Extension architecture flow from Modbus input to HTTP JSON upload

Highlights

  • • Configurable ESP-IDF 5.4.x target and partition layout.
  • • Retry-aware HTTP delivery with queued samples when the endpoint is unavailable.
  • • Device metadata including MAC-derived device ID, firmware version, and timestamp.
  • • Clear service boundaries for extending register maps, storage policies, and transport options.

Technology

  • ESP-IDF
  • ESP32-S3
  • C
  • FreeRTOS
  • Modbus