-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathkingroon-kp3s-stock-board-klipper-printer.cfg
200 lines (174 loc) · 4.07 KB
/
kingroon-kp3s-stock-board-klipper-printer.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
# This file contains common pin mappings for MKS Robin Nano (v1.2.004)
# boards. To use this config, the firmware should be compiled for the
# STM32F103. When running "make menuconfig", enable "extra low-level
# configuration setup", select the 28KiB bootloader, disable "USB for
# communication", and select USART3 for the "Serial Port".
# Note that the "make flash" command does not work with MKS Robin
# boards. After running "make", run the following command:
# ./scripts/update_mks_robin.py out/klipper.bin out/Robin_nano.bin
# Copy the file out/Robin_nano.bin to an SD card and then restart the
# printer with that SD card.
# See the example.cfg file for a description of available parameters.
[virtual_sdcard]
path: ~/gcode_files
[include fluidd.cfg]
[stepper_x]
step_pin: PE3
dir_pin: PE2
enable_pin: !PE4
rotation_distance: 40
microsteps: 32
endstop_pin: ^!PA15
position_endstop: -11
position_min: -12
position_max: 175
homing_speed: 50
[stepper_y]
step_pin: PE0
dir_pin: PB9
enable_pin: !PE1
rotation_distance: 40
full_steps_per_rotation: 200
microsteps: 32
endstop_pin: ^!PA12
position_endstop: -2
position_min: -2
position_max: 175
homing_speed: 50
[stepper_z]
step_pin: PB5
dir_pin: !PB4
enable_pin: !PB8
rotation_distance: 8
full_steps_per_rotation: 200
microsteps: 32
endstop_pin: !PA11
#endstop_pin: probe:z_virtual_endstop #defines the Z endstop as the BLtouch
position_endstop: 0.2
position_min: -5 #lets us go lower to adjust the Z offset
position_max: 180
homing_speed: 10
homing_retract_dist: 3.0
# [probe]
# pin: ^!PA11
# x_offset: -40
# y_offset: 0
# z_offset: 0
# speed: 20
# [bed_mesh]
# speed: 150
# horizontal_move_z: 5
# mesh_min: 30,30
# mesh_max: 170,175
# probe_count: 3,3 #performs a 3x3 bed leveling test
[extruder]
step_pin: PD6
dir_pin: !PD3
enable_pin: !PB3
rotation_distance: 16
full_steps_per_rotation: 200
microsteps: 32
max_extrude_only_distance: 150.0
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PC3
sensor_type: ATC Semitec 104GT-2
sensor_pin: PC1
#control: pid
#pid_Kp: 14.669
#pid_Ki: 0.572
#pid_Kd: 94.068
min_temp: 0
max_temp: 250
# pressure_advance: 0.08
# [input_shaper]
# shaper_freq_x: 33.5
# shaper_freq_y: 42.1
# shaper_type: mzv
[heater_fan my_nozzle_fan]
pin: PB0
heater: extruder
heater_temp: 50.0
fan_speed: 1.0
[heater_bed]
heater_pin: PA0
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC0
#control: pid
#pid_Kp: 325.10
#pid_Ki: 63.35
#pid_Kd: 417.10
min_temp: 0
max_temp: 130
[fan]
pin: PB1
[mcu]
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
restart_method: command
[printer]
kinematics: cartesian
max_velocity: 250
max_accel: 3000
max_accel_to_decel: 3000
max_z_velocity: 25
max_z_accel: 100
[static_digital_output display_reset]
pins: !PC6, !PD13
[pause_resume]
recover_velocity: 50
[gcode_arcs]
resolution: 0.1
[display_status]
[pause_resume]
[mcu rpi]
serial: /tmp/klipper_host_mcu
[adxl345]
cs_pin: rpi:None
[resonance_tester]
accel_chip: adxl345
probe_points:
85, 85, 20 # an example
# [gcode_macro PAUSE]
# rename_existing: BASE_PAUSE
# default_parameter_X: 5 #edit to your park position
# default_parameter_Y: 5 #edit to your park position
# default_parameter_Z: 10 #edit to your park position
# default_parameter_E: 0.5 #edit to your 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: 0.5 #edit to your 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
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 59.084
#*# pid_ki = 0.995
#*# pid_kd = 877.394
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 18.037
#*# pid_ki = 0.807
#*# pid_kd = 100.783