Skip to content

Commit c756f06

Browse files
committed
Add resonance examples
1 parent 349c5d8 commit c756f06

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

docs/calibration/tuning.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,35 @@
11

22
## Resonance
3+
Typically, each toolhead board will have its own accelerometer for resonance testing.
4+
Because of this, each accelerometer needs to be given a unique name so that it can be called directly.
5+
6+
``` cfg title="Example of tool's Nitehawk36 ADXL345 configuration."
7+
[adxl345 T0]
8+
cs_pin: NHK0:gpio27
9+
spi_software_sclk_pin: NHK0:gpio18
10+
spi_software_mosi_pin: NHK0:gpio20
11+
spi_software_miso_pin: NHK0:gpio19
12+
axes_map: x,z,y
13+
```
14+
15+
Klipper's [resonance_tester](https://www.klipper3d.org/Config_Reference.html#resonance_tester){target="_blank"} module only supports a single `accel_chip` to be set at a time. This means that any time you want to run input shaper, the accelerometer chip needs to be defined so that the correct toolhead board is being used.
16+
17+
You can swap the accelerometer manually by changing the `accel_chip` in [resonance_tester](https://www.klipper3d.org/Config_Reference.html#resonance_tester){target="_blank"}.
18+
19+
``` cfg hl_lines="4" title="Example [input_shaper] & [resonance_tester] sections."
20+
[input_shaper]
21+
22+
[resonance_tester]
23+
accel_chip: adxl345 T0
24+
probe_points: 175,175,20
25+
sweeping_accel: 400
26+
sweeping_period: 0
27+
```
28+
29+
To run resonance tester without changing the `accel_chip` in [resonance_tester](https://www.klipper3d.org/Config_Reference.html#resonance_tester){target="_blank"}, you can specify the accelerometer in the macro's parameters.
30+
31+
``` cfg { .copy title="Shaketune input shaper example." }
32+
AXES_SHAPER_CALIBRATION ACCEL_CHIP="'adxl345 T0'"
33+
```
334

435
## Tool Change Speed

0 commit comments

Comments
 (0)