Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##################Creality Ender 3 S1 Klipper Config - 3DPrintBeginner###################
- ######Full guide: https://3dprintbeginner.com/how-to-install-klipper-on-ender-3-s1/######
- [stepper_x]
- step_pin: PC2
- dir_pin: PB9
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 40
- endstop_pin: !PA5
- position_endstop: -4
- position_min: -4
- position_max: 254
- homing_speed: 50
- [stepper_y]
- step_pin: PB8
- dir_pin: PB7
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 40
- endstop_pin: !PA6
- position_endstop: -2
- position_min: -2
- position_max: 235
- homing_speed: 50
- [stepper_z]
- step_pin: PB6
- dir_pin: !PB5
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 8
- endstop_pin: probe:z_virtual_endstop
- position_max: 259
- position_min: -5
- [extruder]
- max_extrude_only_distance: 100.0
- step_pin: PB4
- dir_pin: PB3
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 7.46662
- nozzle_diameter: 0.400
- filament_diameter: 1.750
- heater_pin: PA1
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PC5
- #control: pid
- #pid_Kp: 22.865
- #pid_Ki: 1.292
- #pid_Kd: 101.178
- min_temp: 0
- max_temp: 300
- pressure_advance= 0.060
- [filament_switch_sensor RunoutSensor]
- pause_on_runout: False
- runout_gcode: PAUSE
- insert_gcode: RESUME
- switch_pin: !PC15
- [heater_bed]
- heater_pin: PA7
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PC4
- #control: pid
- #pid_Kp: 69.139
- #pid_Ki: 1.273
- #pid_Kd: 938.565
- min_temp: 0
- max_temp: 110
- [heater_fan hotend_fan]
- pin: PC0
- heater: extruder
- heater_temp: 50.0
- [fan]
- pin: PA0
- [mcu]
- serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
- baud:250000
- restart_method: command
- [printer]
- kinematics: cartesian
- max_velocity: 500
- max_accel: 4800
- max_accel_to_decel: 4800
- max_z_velocity: 5
- square_corner_velocity: 5.0
- max_z_accel: 100
- [input_shaper]
- shaper_freq_x:47.6
- shaper_type_x:mzv
- shaper_freq_y:50.6
- shaper_type_y:ei
- #[include adxlmcu.cfg]
- [probe]
- pin: ^!PB1 #Probe-Stop Connection on SKR 2
- #don't forget to add the '^'
- z_offset: 2.0 #Measure per your specific setup
- #Move nozzle to center of bed. issue command G90.
- #Then G0 z0. #Place a 1mm spacer between the probe and the bed, then tighten probe into place.
- #Command hotend up 1mm using controls. Adjust the brass screw until
- #the red light is just barely lit and don't turn it any further.
- #Be sure it stays lit when you remove the screwdriver
- #and your hands.
- x_offset: -48 # negative = left of the nozzle
- y_offset: 0 # negative = in front of of the nozzle
- #Follow the instructions under Probe calibration section
- #of the Klipper documentation to set offsets correctly.
- #Ignore Calibrating probe Z offset section, we calibrated manually.
- speed: 5.0
- lift_speed: 30.0
- sample_retract_dist: 1
- samples: 2
- samples_tolerance_retries: 6
- ##[(7x7)-1] / 2 = 24
- ##[(5x5)-1] / 2 = 12
- [bed_mesh]
- speed: 300
- horizontal_move_z: 3
- mesh_min: 42,19
- mesh_max: 245,232
- probe_count: 7,7
- relative_reference_index: 24
- algorithm: bicubic
- fade_start: 1
- fade_end: 10
- #fade_target:
- # The z position in which fade should converge. When this value is set
- # to a non-zero value it must be within the range of z-values in the mesh.
- # Users that wish to converge to the z homing position should set this to 0.
- # Default is the average z value of the mesh.
- split_delta_z: 0.015
- # The amount of Z difference (in mm) along a move that will
- # trigger a split. Default is .025.
- move_check_distance: 3
- # The distance (in mm) along a move to check for split_delta_z.
- # This is also the minimum length that a move can be split. Default
- # is 5.0.
- mesh_pps: 4,4
- # A comma separated pair of integers (X,Y) defining the number of
- # points per segment to interpolate in the mesh along each axis. A
- # "segment" can be defined as the space between each probed
- # point. The user may enter a single value which will be applied
- # to both axes. Default is 2,2.
- #bicubic_tension: .2
- # When using the bicubic algorithm the tension parameter above
- # may be applied to change the amount of slope interpolated.
- # Larger numbers will increase the amount of slope, which
- # results in more curvature in the mesh. Default is .2.
- #[bltouch]
- #sensor_pin: ^PC14
- #control_pin: PC13
- #x_offset: -48
- #y_offset: 0
- #z_offset: 2.80
- #speed:10
- #samples:1
- #samples_result:average
- #probe_with_touch_mode: true
- #stow_on_each_sample: true
- [safe_z_home]
- home_xy_position: 165,116
- speed: 100
- z_hop: 10
- z_hop_speed: 5
- move_to_previous: true
- [bed_screws]
- screw1: 29, 205
- screw2: 197, 205
- screw3: 29, 33
- screw4: 202, 33
- #[bed_calibration]
- #auto_level: = 1
- #[bed_mesh]
- #speed: 120
- #mesh_min: 30, 30
- #mesh_max: 205, 205
- #algorithm: bicubic
- #probe_count: 6,6
- #fade_start: 1
- #fade_end: 10
- #fade_target: 0
- [heater_fan hotend_fan]
- fan_speed: 0.6
- [temperature_sensor Board_MCU]
- sensor_type: temperature_mcu
- min_temp: 0
- max_temp: 100
- [temperature_sensor Raspberry_Pi]
- sensor_type: temperature_host
- min_temp: 0
- max_temp: 100
- [virtual_sdcard]
- path: /home/pi/printer_data/gcodes
- [display_status]
- [pause_resume]
- [gcode_macro PAUSE]
- description: Pause the actual running print
- rename_existing: PAUSE_BASE
- # change this if you need more or less extrusion
- variable_extrude: 1.0
- gcode:
- ##### read E from pause macro #####
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- ##### set park positon for x and y #####
- # default is your max posion from your printer.cfg
- {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
- {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
- ##### calculate save lift position #####
- {% set max_z = printer.toolhead.axis_maximum.z|float %}
- {% set act_z = printer.toolhead.position.z|float %}
- {% if act_z < (max_z - 2.0) %}
- {% set z_safe = 2.0 %}
- {% else %}
- {% set z_safe = max_z - act_z %}
- {% endif %}
- ##### end of definitions #####
- PAUSE_BASE
- G91
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G1 E-{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- {% if "xyz" in printer.toolhead.homed_axes %}
- G1 Z{z_safe} F900
- G90
- G1 X{x_park} Y{y_park} F6000
- {% else %}
- {action_respond_info("Printer not homed")}
- {% endif %}
- [gcode_macro RESUME]
- description: Resume the actual running print
- rename_existing: RESUME_BASE
- gcode:
- ##### read E from pause macro #####
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- #### get VELOCITY parameter if specified ####
- {% if 'VELOCITY' in params|upper %}
- {% set get_params = ('VELOCITY=' + params.VELOCITY) %}
- {%else %}
- {% set get_params = "" %}
- {% endif %}
- ##### end of definitions #####
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G91
- G1 E{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- RESUME_BASE {get_params}
- [gcode_macro CANCEL_PRINT]
- description: Cancel the actual running print
- rename_existing: CANCEL_PRINT_BASE
- gcode:
- TURN_OFF_HEATERS
- CANCEL_PRINT_BASE
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*#
- #*# [extruder]
- #*# control = pid
- #*# pid_kp = 26.733
- #*# pid_ki = 2.122
- #*# pid_kd = 84.210
- #*#
- #*# [heater_bed]
- #*# control = pid
- #*# pid_kp = 67.178
- #*# pid_ki = 0.978
- #*# pid_kd = 1153.782
- #*#
- #*# [bed_mesh default]
- #*# version = 1
- #*# points =
- #*# 0.010000, -0.010000, -0.035000, -0.047500, -0.057500, -0.040000
- #*# -0.022500, -0.045000, -0.075000, -0.092500, -0.107500, -0.092500
- #*# -0.005000, -0.002500, -0.020000, -0.010000, -0.017500, 0.045000
- #*# 0.005000, 0.002500, -0.012500, -0.025000, -0.012500, 0.010000
- #*# 0.007500, 0.012500, 0.022500, 0.035000, 0.057500, 0.115000
- #*# -0.025000, -0.042500, -0.055000, -0.060000, -0.052500, -0.002500
- #*# x_count = 6
- #*# y_count = 6
- #*# mesh_x_pps = 2
- #*# mesh_y_pps = 2
- #*# algo = bicubic
- #*# tension = 0.2
- #*# min_x = 30.0
- #*# max_x = 205.0
- #*# min_y = 30.0
- #*# max_y = 205.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement