v2.4: update input_shaper config, resonance_test

This commit is contained in:
Konstantin Koslowski 2021-10-27 11:55:56 +02:00
parent 3b059c1e3a
commit f0b509ed84
2 changed files with 27 additions and 59 deletions

View file

@ -1,21 +1,12 @@
[input_shaper]
# A frequency (in Hz) of the input shaper for the axis. This is
# usually a resonance frequency of X axis that the input shaper
# should suppress. For more complex shapers, like 2- and 3-hump EI
# input shapers, this parameter can be set from different
# considerations. The default value is 0, which disables input
# shaping for the axis.
shaper_freq_x: 51.6
shaper_freq_y: 48.0
# A type of the input shaper to use for both X and Y axes. Supported
# shapers are zv, mzv, zvd, ei, 2hump_ei, and 3hump_ei. The default
# is mzv input shaper.
shaper_type: mzv
# If shaper_type is not set, these two parameters can be used to
# configure different input shapers for X and Y axes. The same
# values are supported as for shaper_type parameter.
# shaper_type_x:
# shaper_type_y:
# shaper_type: mzv
shaper_type_x: mzv
shaper_freq_x: 51
shaper_type_y: ei
shaper_freq_y: 53.4
# Damping ratios of vibrations of X and Y axes used by input shapers
# to improve vibration suppression. Default value is 0.1 which is a
# good all-round value for most printers. In most circumstances this

View file

@ -1,49 +1,26 @@
# [mcu nano]
# serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
[mcu nano]
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
# [mcu pico]
# serial: /dev/serial/by-id/usb-Klipper_rp2040_E660583883511936-if00
# [board_pins arduino]
# mcu: nano
# aliases:
# ar0=PD0, ar1=PD1, ar2=PD2, ar3=PD3, ar4=PD4,
# ar5=PD5, ar6=PD6, ar7=PD7, ar8=PB0, ar9=PB1,
# ar10=PB2, ar11=PB3, ar12=PB4, ar13=PB5, ar14=PC0,
# ar15=PC1, ar16=PC2, ar17=PC3, ar18=PC4, ar19=PC5,
# analog0=PC0, analog1=PC1, analog2=PC2, analog3=PC3, analog4=PC4,
# analog5=PC5, analog6=PE2, analog7=PE3
[board_pins arduino]
mcu: nano
aliases:
ar0=PD0, ar1=PD1, ar2=PD2, ar3=PD3, ar4=PD4,
ar5=PD5, ar6=PD6, ar7=PD7, ar8=PB0, ar9=PB1,
ar10=PB2, ar11=PB3, ar12=PB4, ar13=PB5, ar14=PC0,
ar15=PC1, ar16=PC2, ar17=PC3, ar18=PC4, ar19=PC5,
analog0=PC0, analog1=PC1, analog2=PC2, analog3=PC3, analog4=PC4,
analog5=PC5, analog6=PE2, analog7=PE3
# [output_pin led]
# pin: nano:ar13
# value: 0
#
# ## arduino nano
# [adxl345]
# # The SPI enable pin for the sensor. This parameter must be provided.
# cs_pin: nano:ar10
# # The SPI speed (in hz) to use when communicating with the chip.
# # The default is 5000000.
# # spi_speed: 5000000
# # See the "common SPI settings" section for a description of the
# # above parameters.
# # spi_bus:
# spi_software_sclk_pin: nano:ar13
# spi_software_mosi_pin: nano:ar11
# spi_software_miso_pin: nano:ar12
# # The accelerometer axis for each of the printer's x, y, and z axes.
# # This may be useful if the accelerometer is mounted in an
# # orientation that does not match the printer orientation. For
# # example, one could set this to "y,x,z" to swap the x and y axes.
# # It is also possible to negate an axis if the accelerometer
# # direction is reversed (eg, "x,z,-y"). The default is "x,y,z".
# axes_map: x,z,-y
# # Output data rate for ADXL345. ADXL345 supports the following data
# # rates: 3200, 1600, 800, 400, 200, 100, 50, and 25. Note that it is
# # not recommended to change this rate from the default 3200, and
# # rates below 800 will considerably affect the quality of resonance
# # measurements.
# # rate: 3200
## arduino nano
[adxl345]
cs_pin: nano:ar10
spi_software_sclk_pin: nano:ar13
spi_software_mosi_pin: nano:ar11
spi_software_miso_pin: nano:ar12
axes_map: x,y,z
# ## rpi pico
# [adxl345]
@ -51,8 +28,8 @@
# spi_bus: spi0a
# axes_map: x,y,z
# [resonance_tester]
# accel_chip: adxl345
# probe_points:
# 150,150,20 # an example
[resonance_tester]
accel_chip: adxl345
probe_points:
150,150,20 # an example