Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This file contains common pin mappings for the BIGTREETECH SKR V1.3
- # board. To use this config, the firmware should be compiled for the
- # LPC1768.
- # See docs/Config_Reference.md for a description of parameters.
- [printer]
- kinematics: corexz
- max_velocity: 500
- max_accel: 3700
- max_accel_to_decel: 3700
- max_z_velocity: 50
- max_z_accel: 1000
- square_corner_velocity: 5
- [mcu]
- serial: /dev/serial/by-id/usb-Klipper_lpc1768_1910001142941DAF83F8FC59C72000F5-if00
- [force_move]
- enable_force_move: True
- #[static_digital_output usb_pullup_enable]
- #pins: !PA14
- #####################################################################
- # X Stepper Settings
- #####################################################################
- ######
- # Motor -XM
- # Endstop - X-STOP
- ###############
- [stepper_x]
- step_pin: P2.2
- dir_pin: !P2.6
- enable_pin: !P2.1
- rotation_distance: 40
- full_steps_per_rotation: 200
- microsteps: 32
- #endstop_pin: P1.29 # P1.28 for X-max
- endstop_pin: tmc2209_stepper_x:virtual_endstop
- position_endstop: 0
- position_min: 0
- position_max: 216
- homing_speed: 30
- homing_retract_dist: 0
- homing_positive_dir: false
- [tmc2209 stepper_x]
- uart_pin: P1.17
- tx_pin: P4.29
- #uart_address: 0
- run_current: 0.9
- diag_pin: ^P1.29 # Set to MCU pin connected to TMC DIAG pin
- driver_SGTHRS: 56 # 255 is most sensitive value, 0 is least sensitive
- interpolate: False
- stealthchop_threshold: 0
- #####################################################################
- # Y Stepper Settings
- #####################################################################
- ######
- # Motor -YM
- # Endstop - Y-STOP
- ###############
- [stepper_y]
- step_pin: P0.19
- dir_pin: !P0.20
- enable_pin: !P2.8
- rotation_distance: 40
- full_steps_per_rotation: 200
- microsteps: 32
- ## Ucomment one of the following:
- ## Switch-based endstop for Y
- endstop_pin: P1.26 # P1.26 for Y-max
- ## Sensorless endstop for Y
- #endstop_pin: tmc2209_stepper_y:virtual_endstop
- #homing_retract_dist: 0 # Uncomment this line too
- position_endstop: 0
- position_min: 0
- position_max: 235
- homing_speed: 70
- homing_positive_dir: false
- [tmc2209 stepper_y]
- uart_pin: P1.15
- tx_pin: P1.16
- #uart_address: 2
- run_current: 0.85
- interpolate: False
- stealthchop_threshold: 0
- ## Uncomment if using sensorless Y homing.
- #driver_SGTHRS: 120 # tune this once it's working.
- #####################################################################
- # Z Stepper Settings
- #####################################################################
- ######
- # Motor -ZAM
- # Endstop - Z-STOP
- ###############
- [stepper_z]
- step_pin: P0.22
- dir_pin: !P2.11
- enable_pin: !P0.21
- rotation_distance: 40
- full_steps_per_rotation: 200
- microsteps: 32
- endstop_pin: probe:z_virtual_endstop
- position_max: 250
- homing_speed: 20
- position_min: -3.0
- [tmc2209 stepper_z]
- uart_pin: P1.10
- tx_pin: P1.14
- #uart_address: 1
- run_current: 0.85
- interpolate: False
- stealthchop_threshold: 0
- ###############################################################################
- # Extruder
- ###############################################################################
- [extruder]
- step_pin: P2.13
- dir_pin: !P0.11
- enable_pin: !P2.12
- microsteps: 16
- rotation_distance: 4.637
- nozzle_diameter: 0.400
- filament_diameter: 1.750
- max_extrude_only_distance:500
- max_extrude_only_velocity:120
- heater_pin: P2.7
- sensor_type: PT1000
- sensor_pin: P0.24
- #control: pid
- #pid_Kp: 21.527
- #pid_Ki: 1.063
- #pid_Kd: 108.982
- min_temp: 0
- max_temp: 250
- pressure_advance:0.04
- pressure_advance_smooth_time:0.03
- [tmc2209 extruder]
- uart_pin: P1.8
- tx_pin: P1.9
- #uart_address: 3
- interpolate:true
- run_current: 0.850
- hold_current:0.100
- stealthchop_threshold: 1
- [heater_bed]
- heater_pin: P2.5
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: P0.23
- #control: pid
- #pid_Kp: 54.027
- #pid_Ki: 0.770
- #pid_Kd: 948.182
- min_temp: 0
- max_temp: 120
- ###############################################################################
- # Probe, Bed
- ###############################################################################
- [bltouch]
- stow_on_each_sample: True
- sensor_pin: ^P1.25 # Pull-up (^ symbol) needed in open drain mode
- control_pin: P2.0
- x_offset:37.5
- y_offset:0
- speed: 10.0
- pin_move_time: 0.675
- pin_up_touch_mode_reports_triggered: True
- pin_up_reports_not_triggered: True
- lift_speed: 20 #80.0
- samples_result: median
- samples_tolerance: 0.015
- samples_tolerance_retries: 8
- stow_on_each_sample: False
- sample_retract_dist: 0.8
- #samples: 3 #Or higher if you want
- #pin_up_touch_mode_reports_triggered :false
- #probe_with_touch_mode:false
- [safe_z_home]
- home_xy_position: 89.5, 127 # Change coordinates to the center of your print bed
- speed: 300
- z_hop: 10 # Move up 10mm
- z_hop_speed: 400
- [bed_screws]
- screw1: 0, 25
- screw2: 210, 25
- screw3: 210, 220
- screw4: 0, 220
- [screws_tilt_adjust]
- screw1: 0, 25
- screw1_name: front left screw
- screw2: 180, 25
- screw2_name: front right screw
- screw3: 180, 220
- screw3_name: rear right screw
- screw4: 0, 220
- screw4_name: rear left screw
- horizontal_move_z: 10.
- speed: 300.
- screw_thread: CW-M3
- [bed_mesh]
- speed: 1000
- horizontal_move_z: 5
- mesh_min: 37.5, 5
- mesh_max: 216, 220
- probe_count: 6,6
- algorithm: bicubic
- fade_start: 1
- fade_end: 10
- fade_target: 0
- ###############################################################################
- # Displays, Menus
- ###############################################################################
- [include display.cfg]
- [include lcd_tweaks.cfg]
- [include menu_overrides.cfg]
- ###############################################################################
- # Fans
- ###############################################################################
- [heater_fan hotendfan]
- pin: P2.4
- heater_temp: 50.0
- [fan]
- pin: P2.3
- [virtual_sdcard]
- path: ~/gcode_files
- [temperature_sensor raspberry_pi]
- sensor_type: temperature_host
- min_temp: 10
- max_temp: 100
- #[temperature_sensor mcu_temp]
- #sensor_type: temperature_mcu
- #min_temp: 0
- #max_temp: 100
- [input_shaper]
- #shaper_freq_x: 77.4 # frequency for the X mark of the test model
- #shaper_type_x: mzv
- #shaper_freq_y:34.8# frequency for the Y mark of the test model
- #shaper_type_y: mzv
- #[mcu rpi]
- #serial: /tmp/klipper_host_mcu
- #[adxl345]
- #cs_pin: rpi:None
- #[resonance_tester]
- #accel_chip: adxl345
- #probe_points:
- # 115, 115, 20 # an example
- #used for DSLR Timelapses
- [firmware_retraction]
- retract_length:0.5
- retract_speed:120
- unretract_speed:120
- [include macros.cfg]
- [include shell_command.cfg]
- [include mainsail.cfg]
- [respond]
- default_type: command
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*# [extruder]
- #*# control = pid
- #*# pid_kp = 21.799
- #*# pid_ki = 2.047
- #*# pid_kd = 58.041
- #*#
- #*# [heater_bed]
- #*# control = pid
- #*# pid_kp = 74.214
- #*# pid_ki = 1.026
- #*# pid_kd = 1341.414
- #*#
- #*# [bltouch]
- #*# z_offset = 3.394
- #*#
- #*# [bed_mesh default]
- #*# version = 1
- #*# points =
- #*# 0.012500, -0.000000, -0.037500, -0.031250, -0.068750, 0.143750
- #*# 0.012500, -0.012500, -0.037500, -0.037500, -0.087500, 0.100000
- #*# 0.000000, -0.043750, -0.043750, -0.037500, -0.050000, 0.081250
- #*# -0.025000, -0.037500, -0.050000, -0.018750, -0.037500, 0.093750
- #*# -0.025000, -0.050000, -0.031250, -0.006250, -0.006250, 0.087500
- #*# 0.025000, -0.012500, 0.025000, 0.050000, 0.050000, 0.137500
- #*# x_count = 6
- #*# y_count = 6
- #*# mesh_x_pps = 2
- #*# mesh_y_pps = 2
- #*# algo = bicubic
- #*# tension = 0.2
- #*# min_x = 37.5
- #*# max_x = 216.0
- #*# min_y = 5.0
- #*# max_y = 220.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement