• 注册
  • 查看作者
  • SKR V1.4Turbo Voron V1.8 配置文件klipper

    简介:

    • 双Z配置,可用于blv等常见双z,corexy结构机型,都是一样的。
    • 只配置了挤出功能,所以需要手动调平,可以快速开始打印,其他的慢慢玩
    • xyz正常位置,第二个z放在E1电机位置,挤出机位置不变
    • 使用了无位置传感器归零,所以不需要接xy位置的限位开关
    • Fan0用于e3d v6散热
    • TB为热床
    • TH0为e3d v6
    • USB连接树莓派,刷程序的时候需要选择使用smoothie 的bootloader
    • 其它想不到什么需要说的,大伙可以回复跟新
     Code
    # This file contains common pin mappings for the BIGTREETECH SKR V1.4
    # board. To use this config, the firmware should be compiled for the
    # LPC1768 or LPC1769(Turbo).
    
    # See docs/Config_Reference.md for a description of parameters.
    
    #fysetc cheetah V2
    [mcu]
    # serial = /dev/serial/by-id/usb-Klipper_lpc1769_LPC1769-1-if00
    serial = /dev/serial/by-id/usb-Klipper_lpc1769_xqz15-if00
    
    #skr mini
    #[mcu E0]
    #serial = /dev/serial/by-id/usb-Klipper_stm32f103xe_xiaoqianzi103-if00
    
    [stepper_x]
    step_pin: P2.2
    dir_pin: P2.6
    enable_pin: !P2.1
    microsteps: 32
    rotation_distance: 40
    full_steps_per_rotation: 200
    # endstop_pin: PB14
    endstop_pin: tmc2209_stepper_x: virtual_endstop
    position_endstop: 0
    position_max: 220
    homing_speed: 50
    
    [tmc2209 stepper_x]
    uart_pin: P1.10
    run_current: 1.200
    hold_current: 0.500
    stealthchop_threshold: 0
    interpolate: True
    driver_sgthrs: 45
    diag_pin: P1.29
    
    [stepper_y]
    step_pin: P0.19
    dir_pin: P0.20
    enable_pin: !P2.8
    microsteps: 32
    rotation_distance: 40
    full_steps_per_rotation: 200
    # endstop_pin: PB13
    endstop_pin: tmc2209_stepper_y: virtual_endstop
    position_endstop: 0
    position_max: 220
    homing_speed: 50
    
    [tmc2209 stepper_y]
    uart_pin: P1.9
    run_current: 1.200
    hold_current: 0.500
    stealthchop_threshold: 0
    interpolate: True
    driver_sgthrs: 45
    diag_pin: P1.28
    
    [stepper_z]
    step_pin: P0.22
    dir_pin: P2.11
    enable_pin: !P0.21
    microsteps: 32
    rotation_distance: 8
    full_steps_per_rotation: 200
    endstop_pin: ^P1.27
    #endstop_pin: !PA0
    position_endstop: 0
    position_max: 220
    homing_speed: 15
    
    [tmc2209 stepper_z]
    uart_pin: P1.8
    #tx_pin: PA2
    #uart_address: 1
    run_current: 0.800
    hold_current: 0.600
    stealthchop_threshold: 0
    
    [stepper_z1]
    step_pin: P1.15
    dir_pin: P1.14
    enable_pin: !P1.16
    microsteps: 32
    rotation_distance: 8
    #endstop_pin: !P0.18
    #position_endstop: 0.0
    #position_max: 300
    
    [tmc2209 stepper_z1]
    uart_pin: P1.1
    run_current: 0.80
    hold_current: 0.60
    stealthchop_threshold: 0
    
    [extruder]
    step_pin: P2.13
    dir_pin: !P0.11
    enable_pin: !P2.12
    microsteps: 16
    rotation_distance: 33.500
    nozzle_diameter: 0.400
    filament_diameter: 1.750
    heater_pin: P2.7
    sensor_type: EPCOS 100K B57560G104F
    sensor_pin: P0.24
    control: pid
    pid_Kp: 21.527
    pid_Ki: 1.063
    pid_Kd: 108.982
    min_temp: 0
    max_temp: 250
    
    [tmc2209 extruder]
    uart_pin: P1.4
    run_current: 0.650
    hold_current: 0.500
    stealthchop_threshold: 5
    
    [heater_bed]
    heater_pin: P2.5
    sensor_type: ATC Semitec 104GT-2
    sensor_pin: P0.25
    control: pid
    pid_Kp: 54.027
    pid_Ki: 0.770
    pid_Kd: 948.182
    min_temp: 0
    max_temp: 130
    
    [heater_fan nozzle_cooling_fan]
    pin: P2.3
    heater: extruder
    heater_temp: 38.0
    fan_speed: 1.0
    
    [printer]
    kinematics: corexy
    max_velocity: 300
    max_accel: 10000
    max_z_velocity: 50
    max_z_accel: 1000
    
    #[temperature_sensor mcu_temp]
    #sensor_type: temperature_mcu
    #min_temp: 0
    #max_temp: 100
    
    #[temperature_sensor raspberry_pi]
    #sensor_type: temperature_host
    #min_temp: 10
    #max_temp: 100
    
    [virtual_sdcard]
    path: ~/gcode_files
    
    [display_status]
    
    [pause_resume]
    
    [gcode_macro PAUSE]
    rename_existing: BASE_PAUSE
    default_parameter_X: 260    # edit to your preferred park position
    default_parameter_Y: 260    # edit to your preferred park position
    default_parameter_Z: 10     # edit to your preferred park position
    default_parameter_E: 1      # edit to your preferred retract length
    gcode:
        SAVE_GCODE_STATE NAME=PAUSE_state
        BASE_PAUSE
        G91
        G1 E-{E} F2100
        G1 Z{Z}
        G90
        G1 X{X} Y{Y} F6000
    
    [gcode_macro RESUME]
    rename_existing: BASE_RESUME
    default_parameter_E: 1      # edit to your preferred retract length
    gcode:
        G91
        G1 E{E} F2100
        G90
        RESTORE_GCODE_STATE NAME=PAUSE_state MOVE=1
        BASE_RESUME
    
    [gcode_macro CANCEL_PRINT]
    rename_existing: BASE_CANCEL_PRINT
    gcode:
        TURN_OFF_HEATERS
        CLEAR_PAUSE
        SDCARD_RESET_FILE
        BASE_CANCEL_PRINT
    
    [gcode_macro PRINT_START]
    #   Use PRINT_START for the slicer starting script - PLEASE CUSTOMISE THE SCRIPT
    gcode:
        G28
    
    [gcode_macro PRINT_END]
    #   Use PRINT_START for the slicer starting script - PLEASE CUSTOMISE THE SCRIPT
    gcode:
        G28 x, y 
    
    #[adxl345]
    #cs_pin: rpi:None
    
    #[resonance_tester]
    #accel_chip: adxl345
    #probe_points: 100,100,20
    
    [printer]
    max_accel: 10000
    max_accel_to_decel: 10000
    
    ########################################
    # TMC2208 configuration
    ########################################
    
    #[tmc2208 stepper_x]
    #uart_pin: P1.10
    #run_current: 0.800
    #hold_current: 0.500
    #stealthchop_threshold: 250
    #
    #[tmc2208 stepper_y]
    #uart_pin: P1.9
    #run_current: 0.800
    #hold_current: 0.500
    #stealthchop_threshold: 250
    #
    #[tmc2208 stepper_z]
    #uart_pin: P1.8
    #run_current: 0.650
    #hold_current: 0.450
    #stealthchop_threshold: 30
    #
    #[tmc2208 extruder]
    #uart_pin: P1.4
    #run_current: 0.800
    #hold_current: 0.500
    #stealthchop_threshold: 5
    #
    #[tmc2208 extruder1]
    #uart_pin: P1.1
    #run_current: 0.800
    #hold_current: 0.500
    #stealthchop_threshold: 5
    
    ########################################
    # TMC2130 configuration
    ########################################
    
    #[tmc2130 stepper_x]
    #cs_pin: P1.10
    #spi_software_miso_pin: P0.5
    #spi_software_mosi_pin: P1.17
    #spi_software_sclk_pin: P0.4
    #run_current: 0.800
    #hold_current: 0.500
    #stealthchop_threshold: 250
    #diag1_pin: P1.29
    
    #[tmc2130 stepper_y]
    #cs_pin: P1.9
    #spi_software_miso_pin: P0.5
    #spi_software_mosi_pin: P1.17
    #spi_software_sclk_pin: P0.4
    #run_current: 0.800
    #hold_current: 0.500
    #stealthchop_threshold: 250
    #diag1_pin: P1.28
    
    #[tmc2130 stepper_z]
    #cs_pin: P1.8
    #spi_software_miso_pin: P0.5
    #spi_software_mosi_pin: P1.17
    #spi_software_sclk_pin: P0.4
    #run_current: 0.650
    #hold_current: 0.450
    #stealthchop_threshold: 30
    #diag1_pin: P1.27
    
    #[tmc2130 extruder]
    #cs_pin: P1.4
    #spi_software_miso_pin: P0.5
    #spi_software_mosi_pin: P1.17
    #spi_software_sclk_pin: P0.4
    #run_current: 0.800
    #hold_current: 0.500
    #stealthchop_threshold: 5
    #diag1_pin: P1.26
    
    #[tmc2130 extruder1]
    #cs_pin: P1.1
    #spi_software_miso_pin: P0.5
    #spi_software_mosi_pin: P1.17
    #spi_software_sclk_pin: P0.4
    #run_current: 0.800
    #hold_current: 0.500
    #stealthchop_threshold: 5
    #diag1_pin: P1.25
    
    ########################################
    # EXP1 / EXP2 (display) pins
    ########################################
    
    # See the sample-lcd.cfg file for definitions of common LCD displays.
    
    #*# <---------------------- SAVE_CONFIG ---------------------->
    #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
    #*#
    #*# [input_shaper]
    #*# shaper_type_x = zv
    #*# shaper_freq_x = 102.4
    #*# shaper_type_y = 2hump_ei
    #*# shaper_freq_y = 74.0
    
    
  • 0
  • 1
  • 0
  • 459
  • 请登录之后再进行评论

    登录
    单栏布局 侧栏位置: