-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprinter.cfg
More file actions
396 lines (337 loc) · 8.77 KB
/
printer.cfg
File metadata and controls
396 lines (337 loc) · 8.77 KB
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
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
[include moonraker_obico_macros.cfg]
#####################################################################
# Control board/printer specifics
#####################################################################
[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_380046000550415339373620-if00
#/dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.1:1.0
baud: 250000
restart_method: command
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 4400
max_z_velocity: 30
max_z_accel: 300
square_corner_velocity: 12
[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>
#[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
[mcu host]
serial: /tmp/klipper_host_mcu
#####################################################################
# Included config-files
#####################################################################
[include macros.cfg]
[include KlackEnder.cfg]
[include bedfans.cfg]
[include config_backup.cfg]
#[include Addons/NeverMore.cfg]
[include stealthburner_led_effects_barf.cfg]
[include extra.cfg]
[include klicky/klack-probe.cfg]
[include Addons/Adaptive_Mesh.cfg]
#[include Addons/Adaptive_Purge.cfg]
[include Addons/AutoPowerOff.cfg]
[include air_filter_timer.cfg]
[include KAM-settings.cfg]
#[include Addons/tool1.cfg]
#[include Addons/swap_tools.cfg]
#[include Addons/adxl.cfg]
#####################################################################
# Extras
#####################################################################
[respond]
[exclude_object]
[pause_resume]
[display_status]
[virtual_sdcard]
path: ~/printer_data/gcodes
[filament_switch_sensor filament_sensor]
switch_pin: PC15
pause_on_runout: True
insert_gcode:
M117 Insert Detected
runout_gcode:
M117 Runout Detected
[save_variables]
filename: ~/printer_data/config/saved_variables.cfg
[gcode_arcs]
resolution: 1.0
# An arc will be split into segments. Each segment's length will
# equal the resolution in mm set above. Lower values will produce a
# finer arc, but also more work for your machine. Arcs smaller than
# the configured value will become straight lines. The default is
# 1mm.
#####################################################################
# X/Y Stepper Settings
#####################################################################
[stepper_x]
step_pin: PB13
dir_pin: !PB12
enable_pin: !PB14
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC0
position_endstop: -15
position_min: -15
position_max: 235
homing_speed: 80
homing_retract_dist: 4
homing_retract_speed: 50
second_homing_speed: 25
[tmc2209 stepper_x]
uart_pin: PC11
tx_pin: PC10
uart_address: 0
run_current: 0.580
stealthchop_threshold: 999999
sense_resistor:0.110
[stepper_y]
step_pin: PB10
dir_pin: !PB2
enable_pin: !PB11
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC1
position_endstop: -5
position_min: -5
position_max: 235
homing_speed: 80
homing_retract_dist: 4
homing_retract_speed: 50
second_homing_speed: 25
[tmc2209 stepper_y]
uart_pin: PC11
tx_pin: PC10
uart_address: 2
run_current: 0.580
stealthchop_threshold: 999999
sense_resistor: 0.110
#####################################################################
# Z Stepper Settings
#####################################################################
[stepper_z]
step_pin: PB0
dir_pin: !PC5
enable_pin: !PB1
rotation_distance: 40
gear_ratio: 80:16
microsteps: 16
full_steps_per_rotation: 200
endstop_pin: probe:z_virtual_endstop
position_min: -10
position_max: 240
homing_speed: 25
homing_retract_dist: 4
[tmc2209 stepper_z]
uart_pin: PC11
tx_pin: PC10
uart_address: 1
run_current: 0.580
stealthchop_threshold: 50
sense_resistor: 0.110
[probe]
#z_offset: 0 #Measure per your specific setup
#####################################################################
# Extruder
#####################################################################
[extruder]
step_pin: PB3
dir_pin: !PB4
enable_pin: !PD1
microsteps: 16
rotation_distance: 22.296
gear_ratio: 50:10
full_steps_per_rotation: 200
nozzle_diameter: 0.400
#control: mpc
heater_power: 26
cooling_fan: fan
filament_diameter: 1.75
filament_density: 1.20
filament_heat_Capacity: 1.80
max_extrude_only_distance: 690
max_extrude_cross_section: 5
min_extrude_temp: 30
heater_pin: PC8
sensor_type: ATC Semitec 104NT-4-R025H42G
sensor_pin: PA0
# pid_kp = 33.969
# pid_ki = 3.838
# pid_kd = 75.156
min_temp: 0
max_temp: 300
pressure_advance: 0.03
[tmc2209 extruder]
uart_pin: PC11
tx_pin: PC10
uart_address: 3
run_current: 0.5
stealthchop_threshold: 999999
sense_resistor:0.110
#####################################################################
# Bed Heater
#####################################################################
[heater_bed]
heater_pin: PC9
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC4
#control: pid
#pid_Kp: 54.027
#pid_Ki: 0.770
#pid_Kd: 948.182
min_temp: 0
max_temp: 130
#####################################################################
# Fan Control
#####################################################################
[heater_fan MCU_fan]
pin: PC7
heater: heater_bed, extruder
[heater_fan Hotend_Fan]
pin: PB15
max_power: 1.0
kick_start_time: 0.5
heater: extruder
heater_temp: 50.0
[fan]
pin: PC6
#chamber recirculation
#[output_pin Chamber_fan]
#pin: !PA2
#Exhaust fan
[output_pin Exhaust_fan]
pin: !PA3
#####################################################################
# input shaper
#####################################################################
[input_shaper]
shaper_type_x = 3hump_ei
shaper_freq_x = 78.8
shaper_type_y = ei
shaper_freq_y = 51.2
#####################################################################
# Homing and Gantry Adjustment Routines
#####################################################################
#[homing_override]
#axes: z
#set_position_z:0 # Make printer think Z axis is at zero, so we can force a move upwards away from build plate
#gcode:
# G90
# STATUS_HOMING
# G1 Z10 F3000 ; move up to prevent accidentally scratching build plate
# {% if "x" not in (printer.toolhead.homed_axes | lower) %}
# G28 X
# {% endif %}
# {% if "y" not in (printer.toolhead.homed_axes | lower) %}
# G28 Y
# {% endif %}
# PROBE_OUT
# G1 X91.4 Y78.7 F2000
# G28 Z
# PROBE_IN
# STATUS_READY
############ BED LEVELING ##############
[bed_screws]
screw1: 30,30
screw1_name: Front left screw
screw2: 200,30
screw2_name: Front right screw
screw3: 200,200
screw3_name: Rear right screw
screw4: 30,200
screw4_name: Rear left screw
[screws_tilt_adjust]
screw1: 7,165
screw1_name: rear left screw
screw2: 7,-5
screw2_name: front left screw
screw3: 177,-5
screw3_name: front right screw
screw4: 177,165
screw4_name: rear right screw
horizontal_move_z: 10
speed: 50
screw_thread: CW-M4
#####################################################################
# Temperature Sensors
#####################################################################
[temperature_sensor SKR_Mini_E3]
sensor_type: temperature_mcu
min_temp: 0
max_temp: 73
#[temperature_sensor raspberry_pi]
#sensor_type: temperature_host
#min_temp: 10
#max_temp: 100
[temperature_fan Electronics]
pin: host:gpio4
max_power: 1.0
shutdown_speed: 0.0
control: pid
#max_delta: 1.5
sensor_type: temperature_host
min_speed: 0
max_speed: 1.0
pid_kp: 1.0
pid_ki: 0.5
pid_kd: 2.0
pid_deriv_time:2.0
min_temp: 0
max_temp: 100
target_temp: 50
#[temperature_sensor CHAMBER]
#sensor_type: ATC Semitec 104GT-2 #Generic 3950 #EPCOS 100K B57560G104F
#sensor_pin: PA7 #PA5
#pullup_resistor: 10000
#####################################################################
# Screen modifications
#####################################################################
#[menu __main __octoprint]
#type: disabled
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 38.407
#*# pid_ki = 14.225
#*# pid_kd = 25.925
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.062500, -0.047500, -0.075000
#*# -0.091250, -0.056250, -0.078750
#*# -0.086250, -0.087500, -0.067500
#*# -0.093750, -0.061250, -0.057500
#*# tension = 0.2
#*# min_x = 81.84
#*# algo = lagrange
#*# y_count = 4
#*# mesh_y_pps = 2
#*# min_y = 80.59
#*# x_count = 3
#*# max_y = 154.39
#*# mesh_x_pps = 2
#*# max_x = 153.15
#*#
#*# [probe]
#*# z_offset = 4.529
#*#
#*# [extruder]
#*# control = mpc
#*# block_heat_capacity = 5.60084
#*# sensor_responsiveness = 0.0208088
#*# ambient_transfer = 0.0487934
#*# fan_ambient_transfer = 0.0487934, 0.0484043, 0.0587386, 0.0643972, 0.0630871, 0.0697962, 0.0697572, 0.0757433, 0.0758072, 0.0764028, 0.0817971