Skip to content

Instantly share code, notes, and snippets.

@pulsar256
Created May 21, 2020 23:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pulsar256/230b5a5e96139629dcd7e879b1022a28 to your computer and use it in GitHub Desktop.
Save pulsar256/230b5a5e96139629dcd7e879b1022a28 to your computer and use it in GitHub Desktop.
[stepper_x]
step_pin: P2.2
dir_pin: !P2.6
enable_pin: !P2.1
step_distance: .0125
endstop_pin: !P1.29 # P1.28 for X-max
position_endstop: 0
position_max: 320
homing_speed: 50
[stepper_y]
step_pin: P0.19
dir_pin: !P0.20
enable_pin: !P2.8
step_distance: .0125
endstop_pin: !P1.27 # P1.26 for Y-max
position_endstop: 0
position_max: 300
homing_speed: 50
# right stepper
[stepper_z]
step_pin: P0.22
dir_pin: P2.11
enable_pin: !P0.21
step_distance: .0025
endstop_pin: ^P1.24 # P1.24 for Z-max
position_endstop: 0.5
position_max: 400
# left stepper
[stepper_z1]
step_pin: P0.1
dir_pin: P0.0
enable_pin: !P0.10
step_distance: .0025
endstop_pin: ^P1.25
position_endstop: 0.5
position_max: 400
[extruder]
step_pin: P2.13
dir_pin: !P0.11
enable_pin: !P2.12
step_distance: 0.00224914305
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: 260
[heater_bed]
heater_pin: P2.5
sensor_type: EPCOS 100K B57560G104F
sensor_pin: P0.23
#control: watermark
min_temp: 0
max_temp: 130
[fan]
pin: P2.3
[mcu]
#serial: /dev/serial/by-id/usb-Klipper_lpc1768_1350001106083DAFABA4715CC62000F5-if00
serial: /dev/ttyS0
restart_method: command
[printer]
kinematics: cartesian
max_velocity: 200
max_accel: 2000
max_z_velocity: 25
max_z_accel: 100
[tmc2208 stepper_x]
uart_pin: P1.17
microsteps: 16
run_current: 0.700
hold_current: 0.500
stealthchop_threshold: 250
[tmc2208 stepper_y]
uart_pin: P1.15
microsteps: 16
run_current: 0.500
hold_current: 0.300
stealthchop_threshold: 250
[tmc2208 stepper_z]
uart_pin: P1.10
microsteps: 16
run_current: 0.500
hold_current: 0.450
stealthchop_threshold: 30
[tmc2208 stepper_z1]
uart_pin: P1.1
microsteps: 16
run_current: 0.500
hold_current: 0.450
stealthchop_threshold: 30
[tmc2208 extruder]
uart_pin: P1.8
microsteps: 16
run_current: 0.420
hold_current: 0.250
stealthchop_threshold: 5
[static_digital_output enable_hotend_fan]
pins: P2.4
[bed_mesh]
speed: 120
horizontal_move_z: 1
mesh_min: 10,10
mesh_max: 290, 290
probe_count: 3,3
h_pps: 2,2
algorithm: bicubic
bicubic_tension: 0.2
fade_start: 1
fade_end: 10
fade_target: 0
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 48.072
#*# pid_ki = 0.608
#*# pid_kd = 950.021
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 19.337
#*# pid_ki = 0.962
#*# pid_kd = 97.170
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment