-
Notifications
You must be signed in to change notification settings - Fork 1
/
printer.cfg
335 lines (287 loc) · 6.35 KB
/
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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
# This file contains common pin mappings for the BIGTREETECH SKR mini
# E3 v3.0. To use this config, the firmware should be compiled for the
# STM32G0B1 with a "8KiB bootloader" and USB communication.
# The "make flash" command does not work on the SKR mini E3. Instead,
# after running "make", copy the generated "out/klipper.bin" file to a
# file named "firmware.bin" on an SD card and then restart the SKR
# mini E3 with that SD card.
# See docs/Config_Reference.md for a description of parameters.
#Configuration Files
[pause_resume]
recover_velocity: 50.0
[display_status]
[respond]
[exclude_object]
[skew_correction]
[include macros.cfg]
[include timelapse.cfg]
[include runout.cfg]
[include KAMP_Settings.cfg]
[include nozzle_wipe.cfg]
[include wled.cfg]
[include power.cfg]
[include beeper.cfg]
#[include input_shaping.cfg]
#Electronics
[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_15000F0010504B5735313920-if00
[board_pins]
aliases:
# EXP1 header
EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PD6, EXP1_10=<5V>
[mcu bttpi]
serial: /tmp/klipper_host_mcu
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 5000
max_z_velocity: 5
max_z_accel: 100
#X/Y/Z Motors
[stepper_x]
step_pin: PB13
dir_pin: !PB12
enable_pin: !PB14
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC0
position_endstop: 0
position_min: -1
position_max: 250
homing_speed: 50
[tmc2209 stepper_x]
uart_pin: PC11
tx_pin: PC10
uart_address: 0
run_current: 0.580
stealthchop_threshold: 999999
[stepper_y]
step_pin: PB10
dir_pin: !PB2
enable_pin: !PB11
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC1
position_endstop: 0
position_min: -1
position_max: 250
homing_speed: 50
[tmc2209 stepper_y]
uart_pin: PC11
tx_pin: PC10
uart_address: 2
run_current: 0.580
stealthchop_threshold: 999999
[stepper_z]
step_pin: PB0
dir_pin: PC5
enable_pin: !PB1
microsteps: 16
rotation_distance: 8
#endstop_pin: ^PC2
endstop_pin: probe:z_virtual_endstop
#position_endstop: 0.0
position_min: -5
position_max: 250
[safe_z_home]
home_xy_position: 151,115 # Nozzle coordinates
speed: 250
z_hop: 10
z_hop_speed: 5
[tmc2209 stepper_z]
uart_pin: PC11
tx_pin: PC10
uart_address: 1
run_current: 0.580
stealthchop_threshold: 999999
#Print Head
[extruder]
step_pin: PB3
dir_pin: !PB4
enable_pin: !PD1
microsteps: 16
rotation_distance: 33.500
max_extrude_only_distance: 150.0
nozzle_diameter: 0.600
filament_diameter: 1.750
heater_pin: PC8
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA0
#control: pid
#pid_Kp: 21.527
#pid_Ki: 1.063
#pid_Kd: 108.982
min_temp: 0
max_temp: 300
max_extrude_cross_section: 5
#https://ellis3dp.com/Pressure_Linear_Advance_Tool/
#PRESSURE_ADVANCE: 0.64
PRESSURE_ADVANCE: 0.48
[tmc2209 extruder]
uart_pin: PC11
tx_pin: PC10
uart_address: 3
run_current: 0.650
stealthchop_threshold: 999999
[input_shaper]
shaper_freq_x: 62.8
shaper_type_x: mzv
shaper_freq_y: 37.8
shaper_type_y: mzv
[bltouch]
sensor_pin: ^PC14
control_pin: PA1
x_offset: -45
y_offset: -3
#z_offset: 0.3
samples: 1
samples_result: median
sample_retract_dist: 5.0
samples_tolerance: 0.01
samples_tolerance_retries: 2
pin_up_reports_not_triggered: True
[firmware_retraction]
retract_length: .5
retract_speed: 25
unretract_extra_length: 1
unretract_speed: 10
#Print Bed
[heater_bed]
heater_pin: PC9
sensor_type: ATC Semitec 104GT-2
sensor_pin: PC4
#control: pid
#pid_Kp: 54.027
#pid_Ki: 0.770
#pid_Kd: 948.182
min_temp: 0
max_temp: 130
[bed_mesh]
speed: 500
mesh_min: 31,37 #need to handle head distance with bl_touch
mesh_max: 201,208 #max probe range
probe_count: 7,7
fade_start: 1
fade_end: 10
fade_target: 0
algorithm: bicubic
bicubic_tension: 0.2
[bed_screws]
screw1: 31,37
screw1_name: Front left screw
screw2: 31,208
screw2_name: Rear left screw
screw3: 201,208
screw3_name: Rear right screw
screw4: 201,37
screw4_name: Front right screw
[screws_tilt_adjust]
screw1: 75,45
screw1_name: Front left screw
screw2: 75,205
screw2_name: Rear left screw
screw3: 245,205
screw3_name: Rear right screw
screw4: 245,45
screw4_name: Front right screw
horizontal_move_z: 10
speed: 250
screw_thread: CW-M4
# FANS
#Heatbreak and Cooling Fans Switched on Mobo Pins adjusted here
[heater_fan heatbreak_cooling_fan]
pin: PC6
[fan]
pin: PB15
[temperature_fan BTT-SKRv3]
pin: PC7
sensor_type: temperature_mcu
control: pid
max_power: 1.0
kick_start_time: 0.5
shutdown_speed: 0.0
min_temp: 0
max_temp: 85
pid_kp: 1.0
pid_ki: 0.5
pid_kd: 2.0
min_speed: 0.25
max_speed: 0.75
target_temp: 40
#[temperature_fan BTT-CB1]
#pin: bttpi:gpio211
#kick_start_time: 0.8
#shutdown_speed: 0
#off_below: 0.1
#max_power: 1.0
#fan_speed: 0.6
#sensor_type: temperature_host
#control: pid
#min_temp: 0
#max_temp: 85
#max_delta: 5.0
#pid_kp: 1.0
#pid_ki: 0.5
#pid_kd: 2.0
#min_speed: 0.1
#max_speed: 0.75
#target_temp: 50
# Sensors
[temperature_sensor BTT-CB1]
sensor_type: temperature_host
min_temp: 10
max_temp: 100
#[temperature_sensor BTT-SKRv3]
#sensor_type: temperature_mcu
#min_temp: 0
#max_temp: 100
# Misc
[virtual_sdcard]
path: ~/printer_data/gcodes
on_error_gcode: CANCEL_PRINT
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 30.806
#*# pid_ki = 1.568
#*# pid_kd = 151.334
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 73.323
#*# pid_ki = 1.325
#*# pid_kd = 1014.610
#*#
#*# [bltouch]
#*# z_offset = 3.955
#*#
#*# [input_shaper]
#*#
#*# [skew_correction calilantern_skew_profile]
#*# xy_skew = 0.0006723119547765503
#*# xz_skew = -0.011710646609854955
#*# yz_skew = -0.0026508498263649906
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.065000, 0.035000, 0.020000, 0.012500, -0.005000, -0.020000, -0.020000
#*# 0.047500, 0.015000, 0.002500, -0.007500, -0.020000, -0.025000, -0.025000
#*# 0.065000, 0.027500, 0.015000, -0.005000, -0.027500, -0.042500, -0.047500
#*# 0.062500, 0.017500, -0.010000, -0.035000, -0.052500, -0.070000, -0.082500
#*# 0.065000, 0.020000, -0.012500, -0.037500, -0.060000, -0.087500, -0.100000
#*# 0.040000, 0.012500, -0.007500, -0.015000, -0.027500, -0.040000, -0.047500
#*# 0.082500, 0.050000, 0.030000, 0.020000, 0.005000, -0.002500, -0.010000
#*# x_count = 7
#*# y_count = 7
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = bicubic
#*# tension = 0.2
#*# min_x = 31.0
#*# max_x = 200.97
#*# min_y = 37.0
#*# max_y = 208.0