Fill out above information andin all cases attach yourklippy.logfile (use zip to compress it, if too big). Pasting yourprinter.cfgis not needed Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there
Describe your issue:
Hi, I’m trying to setup a load cell for auto nozzle offsetting. I have a HX711 attached to a rpi2040 with klipper as an extra mcu. printer.cfg started up without errors but when I try to talk to the load cell I get unknown command errors (Unknown command:“LOAD_CELL_CALIBRATE”). Is there some sort of include or macro file I need to add to get load cell commands to work?
I’m unclear what you’ve changed and what remains of the Sovol mess.
Are you still running the Sovol mainboard?
Are you using the embeded H616 SOM as your host? All the log says is 4 core?
Are you using the Sovol load cell circuit board?
What is the RPi connected to and how?
Your version of Klipper is out of date. Klippers load cell functions are fairly new. Are you really mainline or running a VM hack on the H616? Can your host and MCUs be updated?
I’m thinking v0.12.0-401 didn’t have LOAD_CELL_CALIBRATE yet.
Untracked files: klippy/extras/probe_pressure.py, klippy/extras/z_offset_calibration.py should be removed as they conflict with Klipper’s load cell functions.
yes, still running sovol mainboard. Hence why I’ve added a rpi to expand the io as sovol had a custom board for the load cell that converted the cell results into a z “trigger” signal which I have no control over.
Is the H616 the controller chip on the sovol mainboard? Then yes, it likely is the host.
I’m using the sovol load cell but trying to replace the adc sensor board with something that I can control (HX711 atm).
RPI is connected to the sovol mainboard through a usb connection so it act like another toolhead.
Well, the github guide called it mainline but who knows? I believe it used KIAUH to do so but some of the stuff from sovol (like the macros) were transferred over as a starting point.
I think the probe_pressure and offset_cal was transferred from the sovol code.
I removed those two files and updated klipper to most recent version. Now I’m seeing the load_cell commands being accepted. Looks like I also need to redo the firmware on the toolhead/rpi though.