Strain Gauge/Load Cell based Endstops

Kevin merged the gram scale PR: Load cell gram scale by garethky · Pull Request #6729 · Klipper3d/klipper · GitHub

The next PR, “Load Cell Endstop”, is in draft now: PR: Load Cell Endstop by garethky · Pull Request #6871 · Klipper3d/klipper · GitHub

I’ve been working for the past week on a long delayed re-structuring of the commit stack so the next PR can be submitted. I want a clear stopping point where homing works but high accuracy probing isn’t included. That is now done.

Short version is I made changes to the firmware so you will have to re-compile and flash your MCUs. I also changed the names of some config options to try and make things clearer:

Old Name New Name
safety_limit force_safety_limit
continuous_tare_highpass drift_filter_cutoff_frequency
continuous_tare_lowpass buzz_filter_cutoff_frequency
notch_filter notch_filter_frequencies
pullback_dist pullback_distance

One changes that you might notice is the drift filter is used for triggering when testing with QUERY_ENDSTOPS and QUERY_PROBE. Before this update this used a different codepath based on the absolute force. So perhaps a test with QUERY_PROBE might have worked and then probing could have failed because of a bad filter configuration. Now its all one codepath, so if it triggers with QUERY_PROBE it will trigger the same way when homing & probing.

If you have time, please read the documentation and send feedback! Writing technical documentation is hard.

2 Likes