mirror of
https://github.com/bassamanator/Sovol-SV06-firmware.git
synced 2025-11-09 05:51:15 +00:00
RP2040 adxl345 working. Input shaper values adjusted.
This commit is contained in:
@@ -3,20 +3,23 @@
|
|||||||
# https://www.klipper3d.org/Measuring_Resonances.html#adxl345
|
# https://www.klipper3d.org/Measuring_Resonances.html#adxl345
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
[mcu rp2040]
|
[mcu RP2040]
|
||||||
baud: 115200 # 250000
|
baud: 115200 # 250000
|
||||||
restart_method: command
|
restart_method: command
|
||||||
# Obtain definition by "ls -l /dev/serial/by-id/"
|
# Obtain definition by "ls -l /dev/serial/by-id/"
|
||||||
serial: /dev/serial/by-id/usb-Klipper_rp2040_E66138935F154C28-if00
|
serial: /dev/serial/by-id/usb-Klipper_rp2040_E66138935F154C28-if00
|
||||||
|
|
||||||
[adxl345]
|
[adxl345]
|
||||||
spi_software_miso_pin: rp2040:gpio8
|
axes_map: x,z,y # Installed with vertical ADXL # For Diamond in X, y, z
|
||||||
cs_pin: rp2040:gpio9
|
|
||||||
# spi_bus: spi0b
|
# RP2040
|
||||||
spi_software_sclk_pin: rp2040:gpio10
|
cs_pin: RP2040:gpio1 #RP2040:gpio1
|
||||||
spi_software_mosi_pin: rp2040:gpio11
|
spi_bus: spi0a # spi0a
|
||||||
axes_map: x,y,z
|
|
||||||
|
|
||||||
[resonance_tester]
|
[resonance_tester]
|
||||||
accel_chip: adxl345
|
accel_chip: adxl345
|
||||||
probe_points: 111.5, 111.5, 20
|
probe_points: 111.5, 111.5, 20
|
||||||
|
|
||||||
|
[gcode_macro ADX]
|
||||||
|
gcode:
|
||||||
|
ACCELEROMETER_QUERY # check ADXL345
|
||||||
|
|||||||
10
printer.cfg
10
printer.cfg
@@ -14,7 +14,7 @@
|
|||||||
[include ./cfgs/beeper.cfg]
|
[include ./cfgs/beeper.cfg]
|
||||||
|
|
||||||
# NOTE Uncomment the ONE of the following lines if you're using an adxl345
|
# NOTE Uncomment the ONE of the following lines if you're using an adxl345
|
||||||
# [include ./cfgs/adxl-rp2040.cfg]
|
[include ./cfgs/adxl-rp2040.cfg]
|
||||||
# [include ./cfgs/adxl-direct.cfg]
|
# [include ./cfgs/adxl-direct.cfg]
|
||||||
|
|
||||||
[mcu]
|
[mcu]
|
||||||
@@ -168,10 +168,10 @@ encoder_pins: ^PB14, ^PB10
|
|||||||
click_pin: ^!PB2
|
click_pin: ^!PB2
|
||||||
|
|
||||||
[input_shaper]
|
[input_shaper]
|
||||||
shaper_freq_x = 56.0
|
shaper_freq_x = 102.2
|
||||||
shaper_type_x: mzv
|
shaper_type_x: 3hump_ei # mzv
|
||||||
shaper_freq_y = 59.0
|
shaper_freq_y = 41.8 # 59.0
|
||||||
shaper_type_y: 3hump_ei
|
shaper_type_y: mzv # 3hump_ei
|
||||||
|
|
||||||
[bed_screws]
|
[bed_screws]
|
||||||
screw1: 26.5, 31
|
screw1: 26.5, 31
|
||||||
|
|||||||
Reference in New Issue
Block a user