3D printer G-code · Klipper

SHAPER_CALIBRATE: Measure resonances (input shaper) (Klipper)

Measure resonances (input shaper) — Shakes the toolhead over a frequency range while an accelerometer (for example ADXL345 or LIS2DW) measures the vibration, then recommends an input shaper type and…

By cnccode · Updated
On this page
  1. What does SHAPER_CALIBRATE do?
  2. Parameters
  3. Example
  4. Tips from practice
  5. Related commands
  6. More calibration commands
  7. Frequently asked questions
PropertyValue
CommandSHAPER_CALIBRATE
FunctionMeasure resonances (input shaper)
FirmwareKlipper
GroupCalibration
SyntaxSHAPER_CALIBRATE [AXIS=X|Y]

What does SHAPER_CALIBRATE do?

Shakes the toolhead over a frequency range while an accelerometer (for example ADXL345 or LIS2DW) measures the vibration, then recommends an input shaper type and frequency for each axis. Needs [resonance_tester] and the accelerometer section.

Parameters

ParameterMeaning
AXISOnly this axis

Example

Klipper
G28
SHAPER_CALIBRATE
SAVE_CONFIG

Tips from practice

  • Tighten the belts the same on both sides before you measure.
  • Without an accelerometer use a ringing tower and SET_INPUT_SHAPER.

Klipper. Extended commands need their section in printer.cfg. Results of calibration commands are kept only after SAVE_CONFIG.

More calibration commands

CommandFunctionFirmware
M92Set steps per unit (E-steps)Marlin
M593Input shaping (Marlin)Marlin
SET_INPUT_SHAPERSet input shaperKlipper
TUNING_TOWERChange a value with heightKlipper

Test it before you print

Paste your start code or a whole file into the 3D printer simulator. It plans every move, shows the time and finds missing waits, cold extrusion and moves outside the bed.

Open the simulator

Frequently asked questions

What does SHAPER_CALIBRATE do on a 3D printer?
SHAPER_CALIBRATE is measure resonances (input shaper). Shakes the toolhead over a frequency range while an accelerometer (for example ADXL345 or LIS2DW) measures the vibration, then recommends an input shaper type and frequency for each axis. Needs [resonance_tester] and the accelerometer…
Does SHAPER_CALIBRATE work in Klipper and Marlin?
SHAPER_CALIBRATE is a Klipper command. Marlin printers use other G-codes for this task.
Was this page helpful?