Add ADXL345 accelerometer config and doc

This commit is contained in:
2024-03-01 19:01:13 +01:00
parent 6175b9b047
commit ae9371dfc6
5 changed files with 84 additions and 14 deletions

View File

@@ -0,0 +1,23 @@
[mcu no_name_adxl]
# Change <mySerial> to whatever you found above. For example,
# usb-Klipper_rp2040_E661640843545B2E-if00
serial: /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.1:1.0
[adxl345]
cs_pin: no_name_adxl:gpio9
spi_software_sclk_pin: no_name_adxl:gpio10
spi_software_mosi_pin: no_name_adxl:gpio11
spi_software_miso_pin: no_name_adxl:gpio12
axes_map: x,z,y
[resonance_tester]
accel_chip: adxl345
probe_points:
# Somewhere slightly above the middle of your print bed
100,100, 20
#[output_pin power_mode] # Improve power stability
#pin: adxl:gpio23

View File

@@ -10,6 +10,8 @@
# See more description here: https://blog.freakydu.de/posts/2022-10-01-klipper_with_artillery_sidewinderx2/
# See docs/Config_Reference.md for a description of parameters.
[include adxl345.cfg]
[include macros.cfg]
[mcu]
@@ -183,6 +185,9 @@ runout_gcode: M117 Filament runout # Optional
insert_gcode: M117 Filament insert # Optional
switch_pin: PA0 # the z-endstop pin
# Support for M117 gcode (message display)
[display_status]
# Support for gcode arc (G2/G3) commands.
[gcode_arcs]
#resolution: 1.0