Signed-off-by: Sgr A* VMT <1611902585@qq.com>
This commit is contained in:
Sgr A* VMT
2024-03-27 13:31:12 +00:00
committed by Gitee
parent 91b88f8305
commit d4e9886ba4
2 changed files with 30 additions and 5 deletions

View File

@@ -165,7 +165,8 @@ info_tags:
  desc=idm
```
For versions with an accelerometer (lis2dw), add the following to enable it:
For versions with a lis2dw accelerometer, add the following to enable it:
dont put it before the config of `[IDM]`
```ini
[lis2dw]
cs_pin: idm:PA3
@@ -176,6 +177,17 @@ accel_chip: lis2dw
probe_points:
    125, 125, 20  #set your prefered calibrating position
```
For versions with a adxl345 accelerometer, add the following to enable it:
dont put it before the config of `[IDM]`
```ini
[adxl345]
cs_pin: idm:PA3
spi_bus: spi1
[resonance_tester]
accel_chip: adxl345
probe_points:
    125, 125, 20  #set your prefered calibrating position
Configure and use shaper_calibrate for resonance testing.
Adjust the z offset before printing. The z offset is saved in the model_offset variable.

View File

@@ -150,7 +150,7 @@ info_tags:
  desc=idm
```
含加速计(lis2dw)的版本可以在配置中添加以下内容启用加速计:
含加速计lis2dw(方形芯片)的版本可以在配置中添加以下内容启用加速计:
请注意,加速计的配置务必放置到IDM配置的后面。
```
[lis2dw]
@@ -162,6 +162,19 @@ accel_chip: lis2dw
probe_points:
    125, 125, 20  #此处设置为你进行共振测量时喷头所处坐标
```
如果你的加速计是使用adxl345的版本(长方形芯片)
那么请使用下方加速计配置
请注意,加速计的配置务必放置到IDM配置的后面。
```
[adxl345]
cs_pin: idm:PA3
spi_bus: spi1
[resonance_tester]
accel_chip: adxl345
probe_points:
    125, 125, 20  #此处设置为你进行共振测量时喷头所处坐标
```
配置好之后使用shaper_calibrate进行共振测量
准备工作结束后调一下z偏移再打印z偏移保存在model_offset变量中