PlatformIO data logging architecture for LPBF copper cold-plate validation

I’m planning a repeatable data-logging architecture for validating an LPBF copper or CuCrZr cold plate. The controller would log inlet/outlet temperature, flow rate and pressure drop, with optional surface thermocouples.

For a PlatformIO project on STM32 or ESP32, my current structure is:

  • timestamp samples from a hardware timer instead of delay-based loops;
  • store raw ADC readings separately from converted engineering units;
  • include firmware/build identifiers with every test run;
  • keep calibration constants and specimen metadata in a versioned JSON file;
  • buffer SD writes so storage latency does not distort the sample interval.

The mechanical and thermal context is this CuCrZr additive-manufacturing reference.

Disclosure: I work with Copper3DP; the linked page is our engineering reference. I’m looking specifically for PlatformIO project-structure and logging advice for repeatable bench tests.

Would you keep calibration data in LittleFS/SD JSON, or compile a versioned calibration file into each test build?