Skip to content

v3.1.12

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Jul 09:54

Half Decent Scale firmware v3.1.12

This release finalizes the HDS sleep/wake, ADS1232 startup, and calibration fixes tested in the v3.1.12-preview.1 and v3.1.12-preview.2 builds.

What changed

  • Fixed a problem where the scale could show stuck 0g readings after waking from sleep.
  • Improved wake-up behavior so the scale starts weighing normally again after Sleep or Soft Sleep.
  • Improved startup zeroing so the scale waits for wake buttons to be released before doing its boot tare.
  • Improved load-cell startup handling for more reliable readings after boot and wake.
  • Improved calibration handling, including support for signed calibration values.
  • Calibration no longer gets blocked just because USB is attached. The scale now shows a short warning, then lets you continue.
  • Reduced confusing shutdown error messages when WiFi was already off.
  • Includes the web app and firmware cleanup already tested in the preview builds, with no intended BLE, USB, WebSocket, or web app protocol changes.

Downloads

Use HDS_FW_v3.1.12.zip from this release. The ZIP contains:

  • firmware.bin
  • bootloader.bin
  • partitions.bin
  • littlefs.bin

Technical notes

  • HDS now uses the hardened decentespresso/ADS1232_ADC driver from decentespresso/ADS1232_ADC.
  • The final firmware pins ADS1232 to commit 24cd10d3037c878f751a057377303598a00f977e.
  • That commit is based on the preview.2 ADS hardening commit 08e3a6bf03722f467a2f8a76d88111923bd55477.
  • The ADS hardening includes polling, startup, wake, timeout, lifecycle, diagnostics, raw sample, and tare handling improvements.
  • Soft Sleep wake now powers ADS back up, refreshes the ADS dataset, and resumes weighing without auto-taring.
  • Boot tare now uses a boot-only fresh tare after startup input/menu conditions are safe, instead of the old scale.start(..., true) startup tare.
  • Calibration accepts signed calibration factors where valid.

Credits

  • The stuck 0g sleep/wake fix was contributed by Sofronio in PR #75.
  • Deep-sleep follow-up handling was added in PR #77.
  • ADS1232 startup and wake handling was finalized in PR #80.
  • Mainline cleanup included since preview.2 came from PR #78.

References