KREMEN Реклама
KREMEN Реклама

Klipper и LV8729

PavelB
Идет загрузка
Загрузка
04.06.2026
48
2
Вопросы и ответы

Доброго времени суток всем. Переезжаю с марлина на Klipper, все бы ничего но есть вопрос: можно ли подружить Klipper и LV8729? Если да, то как это сделать? В моем случае движки просто пищат и не вращаются, если покрутить за вал, то чувствуется небольшое сопротивление. Если вместо них поставить TMC2130, передвинуть перемычки и поправить прошивку - все работает. Материнская плата SKR 1.3 pro от большого дерева. Ниже привел конфигурационной файл для LV8729, как мне кажется. Почему не докупить еще 2130? Лень ехать или ждать, если подружить не выйдет, тогда придется...

[include mainsail.cfg]

[include mainsail.cfg]

# This file contains common pin mappings for the BigTreeTech SKR PRO.

# To use this config, the firmware should be compiled for the

# STM32F407 with a "32KiB bootloader".

# The "make flash" command does not work on the SKR PRO. Instead,

# after running "make", copy the generated "out/klipper.bin" file to a

# file named "firmware.bin" on an SD card and then restart the SKR PRO

# with that SD card.

# See docs/Config_Reference.md for a description of parameters.

[stepper_x]

step_pin: PE9

dir_pin: PF1

enable_pin: !PF2

microsteps: 128 #256 #16

rotation_distance: 39.83 #39.68 -20.07 / 39,65 20,14 /39,72 20,08 /39,76 20,07 /39,8 20,07 /39,83 20,14

endstop_pin: PB10

position_endstop: 0

position_max: 240

homing_speed: 40

[stepper_y]

step_pin: PE11

dir_pin: !PE8

enable_pin: !PD7

microsteps: 128 #16

rotation_distance: 40.37 # 40,33 20.09 / 40,35 20,9 /40,4 19,9

endstop_pin: PE12

position_endstop: 0

position_max: 300

homing_speed: 40

[stepper_z]

step_pin: PE13

dir_pin: !PC2

enable_pin: !PC0

microsteps: 16

rotation_distance: 19.9 #20.885 - 19.1 /21,81 18,26 / 21,21 18,8 /20,0 19,8 /19,8 20,07 19,83 20,2

endstop_pin: PG8

position_endstop: 0.5

position_max: 400

[extruder]

step_pin: PE14

dir_pin: !PA0

enable_pin: !PC3

microsteps: 16

rotation_distance: 8.1 # 33.500 # параметр в прошивке Klipper, который указывает расстояние, на которое перемещается ось за один полный оборот шагового двигателя. За одно полное вращение шаговика принимается оборот на 360 градусов. 

nozzle_diameter: 0.400

filament_diameter: 1.750

heater_pin: PB1 # Heat0

sensor_pin: PF4 # T1 Header

sensor_type: Generic 3950

control: pid

pid_Kp: 28.192

pid_Ki: 1.342

pid_Kd: 148.010

min_temp: 0

max_temp: 275

#[extruder1]

#step_pin: PD15

#dir_pin: PE7

#enable_pin: !PA3

#heater_pin: PD14 # Heat1

#sensor_pin: PF5 # T2

#...

#[extruder2]

#step_pin: PD13

#dir_pin: PG9

#enable_pin: !PF0

#heater_pin: PB0 # Heat2

#sensor_pin: PF6 # T3

#...

[heater_bed]

heater_pin: PD12

sensor_pin: PF3 # T0

sensor_type: Generic 3950 

control: pid # watermark

pid_Kp: 65.382

pid_Ki: 1.011

pid_Kd: 1056.735

min_temp: 0

min_temp: 0

max_temp: 120

[fan]

pin: PC8

#[heater_fan fan1]

#pin: PE5

#[heater_fan fan2]

#pin: PE6

#[tempeprature_sensor orange_pi]

#sensor_type: tempeprature_host

#min_temp: 10

#max_temp: 100

#[temperature_sensor mcu_temp]

#sensor_type: temperature_mcu

#min_temp: 0

#max_temp: 100

[mcu]

serial: /dev/serial/by-id/usb-Klipper_stm32f407xx_21004C001251333136393438-if00

[printer]

kinematics: corexy 

max_velocity: 200

max_accel: 20000

max_z_velocity: 10

max_z_accel: 100

########################################

# TMC2208 configuration

########################################

#[tmc5160 stepper_x]

#uart_pin: PC13

#run_current: 0.800

#stealthchop_threshold: 999999

#[tmc2209 stepper_y]

#uart_pin: PE3

#run_current: 1.000

#stealthchop_threshold: 999999

#[tmc2209 stepper_z]

#uart_pin: PE1

#run_current: 0.650

#stealthchop_threshold: 999999

#[tmc2209 extruder]

#uart_pin: PD4

#run_current: 0.800

#hold_current: 0.6

#interpolate: True

#stealthchop_threshold: 999999

#[tmc2208 extruder1]

#uart_pin: PD1

#run_current: 0.800

#stealthchop_threshold: 999999

#[tmc2208 extruder2]

#uart_pin: PD6

#run_current: 0.800

#stealthchop_threshold: 999999

########################################

# TMC2130 configuration

########################################

#[tmc5160 stepper_x]

#cs_pin: PA15

#spi_bus: spi3a

#diag1_pin: PB10 # была закоментирована как и для Y и Z

#run_current: 1.00

#hold_current: 0.2

#interpolate: True

#stealthchop_threshold: 999999

#[tmc2130 stepper_y]

#cs_pin: PB8

#spi_bus: spi3a

#diag1_pin: PE12

#run_current: 0.800

##hold_current: 0.6

#interpolate: True

#stealthchop_threshold: 999999

[tmc2130 stepper_z]

cs_pin: PB9

spi_bus: spi3a

diag1_pin: PG8

run_current: 0.80

hold_current: 0.2

interpolate: True

stealthchop_threshold: 999999

[tmc2130 extruder]

cs_pin: PB3

spi_bus: spi3a

diag1_pin: PE15

run_current: 0.800

stealthchop_threshold: 999999

#[tmc2130 extruder1]

#cs_pin: PG15

#spi_bus: spi3a

##diag1_pin: PE10

#run_current: 0.800

#stealthchop_threshold: 999999

#[tmc2130 extruder2]

#cs_pin: PG12

#spi_bus: spi3a

##diag1_pin: PG5

#run_current: 0.800

#stealthchop_threshold: 999999

########################################

# EXP1 / EXP2 (display) pins

########################################

[board_pins]

aliases:

    # EXP1 header

    EXP1_1=PG4, EXP1_3=PD11, EXP1_5=PG2, EXP1_7=PG6, EXP1_9=,

    EXP1_2=PA8, EXP1_4=PD10, EXP1_6=PG3, EXP1_8=PG7, EXP1_10=,

    # EXP2 header

    EXP2_1=PB14, EXP2_3=PG10, EXP2_5=PF11, EXP2_7=PF12, EXP2_9=,

    EXP2_2=PB13, EXP2_4=PB12, EXP2_6=PB15, EXP2_8=, EXP2_10=PF13

    # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "spi2"

# See the sample-lcd.cfg file for definitions of common LCD displays.

[display]

lcd_type: hd44780

rs_pin: EXP1_4

e_pin: EXP1_3

d4_pin: EXP1_5

d5_pin: EXP1_6

d6_pin: EXP1_7

d7_pin: EXP1_8

encoder_pins: ^EXP2_3, ^EXP2_5

click_pin: ^!EXP1_2

#kill_pin: ^!EXP2_8

[output_pin beeper]

pin: EXP1_1

[virtual_sdcard]

path: /home/orangepi/printer_data/gcodes

on_error_gcode: CANCEL_PRINT

#SDCARD_PRINT_FILE FILENAME=: Load a file and start SD print.

Ответы на вопросы
Lider 3D Реклама
Lider 3D Реклама