Strain Gauge/Load Cell based Endstops

The branch, the docs and the debugging tool have been updated. It is ready to have people test it and file bug reports. I’d also like feedback on the documentation.

Proof of life:

There are now 2 documents, one about load cells and another about load cell probes. The config and commands have been integrated into the right places in the rest of the klipper docs:

If you had config from prior versions you will need to update. Everything has been merged under one object.

Here is the config for the Voron 2.4 test rig

There are two important new settings:
reference_tare_counts : this saves the tare value at the time the sensor is calibrated and is used as the default tare value when the machine starts up. The load cell is not considered calibrated without this value.
safety_limit_grams: this limits maximum force delta from reference_tare_counts while probing. This defaults to +/-1Kg. The idea here is if the filter or other settings fail this will limit potential for damage to your printer.

Other changes:

  • Everything is using bulk_sensor. All the multiplex_adc stuff is deleted.
  • The the hx71x implementation is now just 1 file that works for 1 to 4 sensors. If you use multiple sensors the output is the sum of all 4. This supports the 4x sensor Creality machines.
  • Readings from all 4 sensors go back to the Host. Right now they are just summed together on the Host. I’m still thinking about how to expose the individual readings.
  • The hx71x sensor can send a reset event back to the Host if it crashes. The Host will then try to re-start measurements. This is experimental and its not a fix for bad grounding.
7 Likes