Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [mcu rpi]
- serial: /tmp/klipper_host_mcu
- [adxl345]
- cs_pin: rpi:None
- [resonance_tester]
- accel_chip: adxl345
- probe_points:
- 100,100,20 # an example
- # 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.
- [stepper_x]
- step_pin: P2.2
- dir_pin: !P2.6
- enable_pin: !P2.1
- microsteps: 16
- rotation_distance: 40
- endstop_pin: P1.29 # P1.28 for X-max
- position_endstop: 0
- position_max: 235
- homing_speed: 100
- [stepper_y]
- step_pin: P0.19
- dir_pin: !P0.20
- enable_pin: !P2.8
- microsteps: 16
- rotation_distance: 40
- endstop_pin: P1.27 # P1.26 for Y-max
- position_endstop: 0
- position_max: 235
- homing_speed: 100
- [stepper_z]
- step_pin: P0.22
- dir_pin: P2.11
- enable_pin: !P0.21
- microsteps: 16
- rotation_distance: 8
- endstop_pin: P1.25 # P1.24 for Z-max
- position_min: -5
- position_max: 250
- endstop_pin: probe:z_virtual_endstop
- [extruder]
- max_extrude_cross_section: 50
- max_extrude_only_distance: 100.0
- step_pin: P2.13
- dir_pin: !P0.11
- enable_pin: !P2.12
- microsteps: 16
- rotation_distance: 21.775
- 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: 22.2
- #pid_Ki: 1.08
- #pid_Kd: 114
- min_temp: 0
- max_temp: 300
- #[extruder1]
- #step_pin: P0.1
- #dir_pin: P0.0
- #enable_pin: !P0.10
- #heater_pin: P2.4
- #sensor_pin: P0.25
- #...
- [heater_fan e0_fan]
- pin: P2.4
- heater: extruder
- heater_temp: 50.0
- fan_speed: 1.0
- [heater_bed]
- heater_pin: P2.5
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: P0.23
- control: pid
- pid_Kp: 74.845
- pid_Ki: 1.801
- pid_Kd: 777.457
- min_temp: 0
- max_temp: 130
- [fan]
- pin: P2.3
- [mcu]
- serial: /dev/serial/by-id/usb-Klipper_lpc1768_0C70000229811DAFFB9DF359C32000F5-if00
- [printer]
- kinematics: cartesian
- max_velocity: 150
- max_accel: 1000
- max_z_velocity: 15
- max_z_accel: 100
- square_corner_velocity: 2.5
- [input_shaper]
- shaper_freq_x: 45.6
- shaper_type_x: ei
- shaper_freq_y: 27.0
- shaper_type_y: ei
- ########################################
- # TMC2208 configuration
- ########################################
- # For TMC2208 UART
- # 1) Remove all of the jumpers below the stepper drivers
- # 2) Place jumpers on the red pin headers labeled XUART (XUART, YUART etc.)
- [tmc2208 stepper_x]
- uart_pin: P1.17
- run_current: 0.750
- hold_current: 0.500
- stealthchop_threshold: 250
- [tmc2208 stepper_y]
- uart_pin: P1.15
- run_current: 0.750
- hold_current: 0.500
- stealthchop_threshold: 250
- [tmc2208 stepper_z]
- uart_pin: P1.10
- run_current: 0.750
- hold_current: 0.450
- stealthchop_threshold: 30
- [tmc2208 extruder]
- uart_pin: P1.8
- run_current: 0.800
- hold_current: 0.500
- #stealthchop_threshold: 5
- ########################################
- # EXP1 / EXP2 (display) pins
- ########################################
- [board_pins]
- aliases:
- # EXP1 header
- EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=<GND>,
- EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, EXP1_10=<5V>,
- # EXP2 header
- EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=<GND>,
- EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=<RST>, EXP2_10=<NC>
- # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0"
- # See the sample-lcd.cfg file for definitions of common LCD displays.
- [display]
- lcd_type: st7920
- cs_pin: EXP1_7
- sclk_pin: EXP1_6
- sid_pin: EXP1_8
- encoder_pins: ^EXP1_5, ^EXP1_3
- click_pin: ^!EXP1_2
- [output_pin beeper]
- pin: EXP1_1
- [virtual_sdcard]
- path: ~/gcode_files
- [display_status]
- [pause_resume]
- [gcode_macro PAUSE]
- rename_existing: BASE_PAUSE
- default_parameter_X: 230 # edit to your preferred park position
- default_parameter_Y: 230 # 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
- # BLTouch V3.1 (original) running in open drain mode
- # SKR 1.3 reference: https://github.com/bigtreetech/BIGTREETECH-SKR-V1.3/blob/master/hardware/SKR-V1.3-PIN.pdf
- # BLTouch 3.0 reference: https://docs.wixstatic.com/ugd/f5a1c8_26f2661f0a4542eaacc1586eba8842e7.pdf
- # According to this, when the USB is facing towards you, servo pins should be (left to right) colored red (power)-brown (ground)-orange (control pin)
- # and the Zmin plug should be (top to bottom) power pin (leave empty), black wire (ground), white wire (sensor pin).
- [bltouch]
- sensor_pin: ^P1.25 # Pull-up (^ symbol) needed in open drain mode
- control_pin: P2.0
- # Some BLTouch V3 and many clones apparently require this, though mine didnt:
- #pin_up_touch_mode_reports_triggered: False
- x_offset: -48
- y_offset: -10
- #z_offset: 2.85
- speed: 10
- samples: 2
- # Z-safe homing that (1) moves the probe up 15mm (2) home XY (3) move to center of bed (4) home Z
- # Edit the X166 Y120 for your own center of bed
- [homing_override]
- axes: z
- gcode:
- G90
- G1 Z15
- G28 X Y
- G1 X166 Y120 F6000
- G28 Z
- set_position_z: 0.0
- # This adds a bed mesh calibrate GCode
- [bed_mesh]
- speed: 250
- horizontal_move_z: 10
- mesh_min: 15,15
- mesh_max: 180,210
- probe_count: 3,3
- # Custom G29 that does (1) home all (2) get bed mesh (3) move nozzle to corner so it doesnt ooze on the bed while heating up.
- [gcode_macro G29]
- gcode:
- G28
- BED_MESH_CALIBRATE
- G0 X10 Y10 Z10 F6000
- # This adds a screw tilt adjust command that probes certain points on the bed and recommends new bed screw positions (turn clockwise this much etc)
- [screws_tilt_adjust]
- screw1: 50,50
- screw1_name: Front left screw
- screw2: 50,215
- screw2_name: Rear left screw
- screw3: 215,50
- screw3_name: Front right screw
- screw4: 215,215
- screw4_name: Rear right screw
- horizontal_move_z: 10
- speed: 250
- screw_thread: CW-M3
- [gcode_macro M108]
- gcode:
- TURN_OFF_HEATERS
- [gcode_macro m900]
- default_parameter_K: 0
- gcode:
- SET_PRESSURE_ADVANCE ADVANCE={K}
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*# [extruder]
- #*# control = pid
- #*# pid_kp = 24.021
- #*# pid_ki = 1.195
- #*# pid_kd = 120.703
- #*#
- #*# [bed_mesh default]
- #*# version = 1
- #*# points =
- #*# -0.170000, -0.108750, 0.016250
- #*# -0.050000, -0.030000, 0.017500
- #*# 0.015000, 0.040000, 0.101250
- #*# tension = 0.2
- #*# min_x = 15.0
- #*# algo = lagrange
- #*# y_count = 3
- #*# mesh_y_pps = 2
- #*# min_y = 15.0
- #*# x_count = 3
- #*# max_y = 210.0
- #*# mesh_x_pps = 2
- #*# max_x = 180.0
- #*#
- #*# [bltouch]
- #*# z_offset = 3.13
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement