Skip to content

HX71708 Sensor Support#895

Open
garethky wants to merge 2 commits into
KalicoCrew:mainfrom
garethky:pr-hx71708-sensor
Open

HX71708 Sensor Support#895
garethky wants to merge 2 commits into
KalicoCrew:mainfrom
garethky:pr-hx71708-sensor

Conversation

@garethky

Copy link
Copy Markdown
Contributor

This is the code to integrate the HX71708 variant of the HX71x sensor family. This has been initially developed and tested out by @EllaFoxo.

There is a refactor of the of the MCU command so that you are commanding a sequence of bits that will be sent at the end of each sampling loop.

Checklist

  • pr title makes sense
  • added a test case if possible
  • if new feature, added to the readme
  • ci is happy and green

@rogerlz

rogerlz commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

CI is green after the branch update. Two asks plus a cleanup on this one:

  • Config_Changes.md needs an entry for the config_hx71x protocol change (gain_channel to setting_pulses). Existing hx711/hx717 users must reflash the MCU firmware, otherwise klippy fails with "Unable to extract params from: config_hx71x".
  • Can you add a hx71708 section to test/klippy/load_cell.cfg? hx711 and hx717 both have entries there.
  • One commit has a placeholder co-author line (Ella Fox - ???@???)

rogerlz added a commit that referenced this pull request Jul 14, 2026
The unbuffer wrapper masks the docker build exit status. On the PR #895
run the image rebuild failed with the ar100 size overflow, the step
still reported success, and the klippy tests silently ran against the
stale docker hub image with outdated dicts, failing with a confusing
KeyError instead of the real build error.

Drop unbuffer and the expect install. With --progress=plain the output
pipes fine through sed and the exit status now propagates through
pipefail. Reproduced locally with a failing Dockerfile.

Signed-off-by: Rogerio Goncalves <rogerlz@gmail.com>
@garethky
garethky force-pushed the pr-hx71708-sensor branch from 5643d28 to 741b34a Compare July 14, 2026 19:11
Gareth Farrington added 2 commits July 14, 2026 12:21
Ella Fox - ella@fox.gal
Signed-off-by: Gareth Farrington <gareth@waves.ky>
* Put the sub classes in charge of reading the config and deciding how many additional clock pulses are issued to configure the chip.
* Fix gain options
* Doc Updates


Signed-off-by: Gareth Farrington <gareth@waves.ky>
@garethky
garethky force-pushed the pr-hx71708-sensor branch from 741b34a to 2338b7e Compare July 14, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants