You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"}.
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.
0 commit comments