-
Notifications
You must be signed in to change notification settings - Fork 11
/
printer.cfg
487 lines (446 loc) · 12.3 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
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
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
# Include other config files
[include uart.cfg]
[include macros.cfg]
[include menu.cfg]
[include lcd_tweaks.cfg]
[include bedfans.cfg]
[include klicky.cfg]
[include z_calibration.cfg]
## one or the other
#[include framecomp.cfg]
[include framethermistor.cfg]
##
# Obtain MCU paths by "ls -l /dev/serial/by-id/".
# Some Arduinos clones (CH340) may require using "ls -l /dev/serial/by-path/"
[mcu]
serial: /dev/serial/by-id/usb-Klipper_lpc1768_2180000E011C3DAF27C6875CC62000F5-if00
[mcu z]
serial: /dev/serial/by-id/usb-Klipper_lpc1768_2260000E011C3DAF20C6875CC02000F5-if00
[mcu aux]
serial: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_95735343633351314032-if00
pin_map: arduino
restart_method: arduino
###### RESONANCE TESTING #######
[mcu rpi]
serial: /tmp/klipper_host_mcu
[adxl345]
cs_pin: rpi:None
axes_map: x,z,y
[resonance_tester]
accel_chip: adxl345
probe_points:
175,175,10
################################
[printer]
kinematics: corexy
max_velocity: 450
max_accel: 10000
max_accel_to_decel: 10000
# A pseudo acceleration (in mm/s^2) controlling how fast the
# toolhead may go from acceleration to deceleration. It is used to
# reduce the top speed of short zig-zag moves (and thus reduce
# printer vibration from these moves). The default is half of
# max_accel.
max_z_velocity: 30
max_z_accel: 350
square_corner_velocity: 8
[input_shaper]
shaper_freq_x: 59.4
shaper_freq_y: 38.4
shaper_type: mzv
# Available shapers are zv, mzv, zvd, ei, 2hump_ei, and 3hump_ei.
# The default is mzv input shaper.
#shaper_type_x:
#shaper_type_y:
#damping_ratio_x: 0.1
#damping_ratio_y: 0.1
# Damping ratios of vibrations of X and Y axes used by input shapers to
# improve vibration suppression. Should not be changed without some proper
# measurements, e.g. with an accelerometer.
# Default value is 0.1 which is a good all-round value for most printers.
[pause_resume]
####Fluidd config###
[display_status]
[virtual_sdcard]
path: ~/.octoprint/uploads
#path: ~/gcode_files
####################
[board_pins]
mcu: z
aliases:
# EXP1 header
EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=<GND>,
EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, EXP1_10=<5V>,
# EXP2 header
EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=<GND>,
EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=<RST>, EXP2_10=<NC>
# Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0"
[idle_timeout]
gcode:
G91 ; relative positioning
G1 Z5 F18000.0 ; move up 5mm
G90 ; absolute positioning
G1 X{printer.toolhead.axis_maximum.x} Y{printer.toolhead.axis_maximum.y} F18000.0 ; park nozzle at rear
OFF ; turn everything off
# 2 hrs
timeout: 7200
[stepper_x]
# connected to X on mcu_xye (B Motor)
step_pin: P2.2
dir_pin: !P2.6
enable_pin: !P2.1
microsteps: 8
rotation_distance: 40
full_steps_per_rotation:400
endstop_pin: P1.28
position_min: 0
position_endstop: 350
position_max: 350
homing_speed: 80
second_homing_speed: 25
homing_retract_dist: 5
homing_positive_dir: true
[stepper_y]
# connected to Y on mcu_xye (A Motor)
step_pin: P0.19
dir_pin: !P0.20
enable_pin: !P2.8
microsteps: 8
rotation_distance: 40
full_steps_per_rotation:400
endstop_pin: P1.26
position_min: 0
position_endstop: 356.5
position_max: 356.5
homing_speed: 60
second_homing_speed: 25
homing_retract_dist: 5
homing_positive_dir: true
# Z0 Stepper - Front Left
[stepper_z]
step_pin: z:P2.2
dir_pin: !z:P2.6
enable_pin: !z:P2.1
microsteps: 16
rotation_distance: 40
gear_ratio: 80:16
## Nozzle endstop
endstop_pin: z:P1.25
#position_endstop = 0.215
# Klicky
#endstop_pin: probe:z_virtual_endstop
# Z_MIN on mcu_z
position_max: 290
position_min: -10
# Set to -5 to allow room for squaring gantry with quad_gantry_level
homing_speed: 15
second_homing_speed: 4.0
#homing_retract_dist: 1.0
homing_retract_dist: 0.35
homing_positive_dir: false
# Z1 Stepper - Rear Left
[stepper_z1]
step_pin: z:P0.19
dir_pin: z:P0.20
enable_pin: !z:P2.8
microsteps: 16
rotation_distance: 40
gear_ratio: 80:16
# Z2 Stepper - Rear Right
[stepper_z2]
step_pin: z:P0.22
dir_pin: !z:P2.11
enable_pin: !z:P0.21
microsteps: 16
rotation_distance: 40
gear_ratio: 80:16
# Z3 Stepper - Front Right
[stepper_z3]
step_pin: z:P2.13
dir_pin: z:P0.11
enable_pin: !z:P2.12
microsteps: 16
rotation_distance: 40
gear_ratio: 80:16
[extruder]
step_pin: P2.13
enable_pin: !P2.12
nozzle_diameter: 0.8
filament_diameter: 1.750
max_extrude_only_distance: 200
#max_extrude_cross_section:
#max_extrude_only_velocity:
#max_extrude_only_accel:
heater_pin: P2.7
max_power: 1.0
sensor_type: ATC Semitec 104GT-2
sensor_pin: P0.24
#smooth_time: 2.0
min_extrude_temp: 0
min_temp: 0
max_temp: 270
pressure_advance: 0
# Use _TEMPADJUSTPA macro!!
pressure_advance_smooth_time: 0.04
microsteps: 16
full_steps_per_rotation: 200
#FORMULA: step_distance = <previous_steps_per_mm> * (<actual_extrude_distance> / <requested_extrude_distance>)
#FORMULA: rotation_distance = <previous_rotation_distance> * (<actual_extrude_distance> / <requested_extrude_distance>)
dir_pin: !P0.11
#Afterburner
gear_ratio: 50:17
rotation_distance: 22.477525164
#Galileo
#gear_ratio: 7.5:1
#rotation_distance: 34.72071443
[firmware_retraction]
retract_length: 1
retract_speed: 30
unretract_extra_length: 0
unretract_speed: 30
[probe]
## Inductive
#pin: z:P1.24
#x_offset: 0.0
#y_offset: 23.0
#z_offset: 0.0
# Klicky
pin: z:P1.26
x_offset: 0
y_offset: 19.75
z_offset: 7.28 # higher = more squish
speed: 4
lift_speed: 10
samples: 3
sample_retract_dist: 0.5
samples_result: median
# Either "median" or "average". The default is average.
samples_tolerance: 0.05
# The default is 0.100mm.
samples_tolerance_retries: 1
[fan]
# Print Cooling Fan
pin: P2.3
#kick_start_time: 1
off_below: 0.05
cycle_time: 0.05
[heater_fan hotend_fan]
pin: P2.4
#kick_start_time:
heater: extruder
heater_temp: 80
fan_speed: 1
#cycle_time: 0.1
[controller_fan controller_fan]
pin: z:P2.4
#max_power:
#shutdown_speed:
cycle_time: 0.01
#hardware_pwm:
kick_start_time: 1
fan_speed: 1
idle_timeout: 0
#idle_speed:
# The fan speed (expressed as a value from 0.0 to 1.0) that the fan
# will be set to when a heater or stepper driver was active and before
# the idle_timeout is reached. The default is fan_speed.
#heater:
# Name of the config section defining the heater that this fan is
# associated with. If a comma separated list of heater names is
# provided here, then the fan will be enabled when any of the given
# heaters are enabled. The default is "extruder".
[heater_bed]
heater_pin: z:P2.3
sensor_type: NTC 100K MGB18-104F39050L32
sensor_pin: z:P0.23
#smooth_time: 1.0
max_power: 0.65
control: pid
pwm_cycle_time: 0.017
#max_delta: 1
# WATERMARK: On 'watermark' controlled heaters this is the number of degrees in
# Celsius above the target temperature before disabling the heater
# as well as the number of degrees below the target before
# re-enabling the heater. The default is 2 degrees Celsius.
pid_kp = 42.877
pid_ki = 1.232
pid_kd = 373.033
min_temp: 0
max_temp: 120
[verify_heater heater_bed]
max_error: 120
# The maximum "cumulative temperature error" before raising an
# error. Smaller values result in stricter checking and larger
# values allow for more time before an error is reported.
# Specifically, the temperature is inspected once a second and if it
# is close to the target temperature then an internal "error
# counter" is reset; otherwise, if the temperature is below the
# target range then the counter is increased by the amount the
# reported temperature differs from that range. Should the counter
# exceed this "max_error" then an error is raised. The default is
# 120.
check_gain_time: 90
# This controls heater verification during initial heating. Smaller
# values result in stricter checking and larger values allow for
# more time before an error is reported. Specifically, during
# initial heating, as long as the heater increases in temperature
# within this time frame (specified in seconds) then the internal
# "error counter" is reset. The default is 20 seconds for extruders
# and 60 seconds for heater_bed.
hysteresis: 5
# The maximum temperature difference (in Celsius) to a target
# temperature that is considered in range of the target. This
# controls the max_error range check. It is rare to customize this
# value. The default is 5.
heating_gain: 2
# The minimum temperature (in Celsius) that the heater must increase
# by during the check_gain_time check. It is rare to customize this
# value. The default is 2.
[verify_heater extruder]
max_error: 120
check_gain_time: 20
hysteresis: 5
heating_gain: 2
#[thermistor 100k3950_airtemp]
#temperature1: 20
#resistance1: 125245
#temperature2: 50
#resistance2: 35900
#temperature3: 80
#resistance3: 12933
[temperature_sensor chamber]
sensor_type: 100k3950_airtemp
sensor_pin: P0.23
#min_temp:
#max_temp:
gcode_id: C
[temperature_sensor raspberry_pi]
sensor_type: temperature_host
min_temp: 0
max_temp: 100
[fan_generic Exhaust]
pin: z:P2.7
cycle_time: 0.05
[quad_gantry_level]
gantry_corners:
-57,-1
407,423
points:
60,40
60,270
290,270
290,40
speed: 450
horizontal_move_z: 12
retries: 5
retry_tolerance: 0.0075
max_adjust: 10
[display]
lcd_type: uc1701
cs_pin: z:EXP1_3
a0_pin: z:EXP1_4
rst_pin: z:EXP1_5
contrast: 63
encoder_pins: ^z:EXP2_5, ^z:EXP2_3
click_pin: ^!z:EXP1_2
display_group: __voron_display
menu_timeout: 60
[output_pin beeper]
pin: z:EXP1_1
pwm: True
#static_value:
value: 0
shutdown_value: 0
cycle_time: 0.0005
#hardware_pwm: False
#scale:
[output_pin caselight]
pin: aux:ar8
pwm: True
#static_value:
value: 0.4
shutdown_value: 0
cycle_time: 0.01
#hardware_pwm: False
#scale:
[neopixel lcd]
pin: z:EXP1_6
chain_count: 3
#color_order_GRB: False
color_order: RGB
initial_RED: 0.4
initial_GREEN: 0.4
initial_BLUE: 0.4
##FOLLOW THE FORUMULA FOR relative_reference_index, for example:
##[(7x7)-1] / 2 = 24
##[(5x5)-1] / 2 = 12
[bed_mesh]
mesh_min: 25,25
mesh_max: 325,325
horizontal_move_z: 8
speed: 450
probe_count: 5,5
relative_reference_index: 12
algorithm: bicubic
fade_start: 0.10
fade_end: 8
#fade_target: 0
# 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.
#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.
split_delta_z: 0.01
# The amount of Z difference (in mm) along a move that will
# trigger a split. Default is .025.
#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: 0.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.
[filament_motion_sensor filament_sensor]
detection_length: 14.5
extruder: extruder
switch_pin: P1.24
pause_on_runout: True
#insert_gcode:
runout_gcode:
M600
BEEP I=12
#event_delay:
# The minimum amount of time in seconds to delay between events.
# Events triggered during this time period will be silently
# ignored. The default is 3 seconds.
#pause_delay: 0.5
# The amount of time to delay, in seconds, between the pause command
# dispatch and execution of the runout_gcode. It may be useful to
# increase this delay if OctoPrint exhibits strange pause behavior.
# Default is 0.5 seconds.
# Sensor Types
# "EPCOS 100K B57560G104F"
# "ATC Semitec 104GT-2"
# "NTC 100K beta 3950"
# "Honeywell 100K 135-104LAG-J01"
# "NTC 100K MGB18-104F39050L32" (Keenovo Heater Pad)
# "AD595"
# "PT100 INA826"
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 25.814
#*# pid_ki = 1.304
#*# pid_kd = 127.780
#*#
#*# [stepper_z]
#*# position_endstop = 0.250