/
printer.cfg
298 lines (256 loc) · 5.73 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
# 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.
###############################
# stepper config
###############################
[stepper_x]
step_pin: PB13
dir_pin: !PB12
enable_pin: !PB14
microsteps: 16
rotation_distance: 40
endstop_pin: tmc2209_stepper_x:virtual_endstop
position_endstop: 0
homing_speed: 70
position_max: 220
homing_retract_dist: 0
[stepper_y]
step_pin: PB10
dir_pin: !PB2
enable_pin: !PB11
microsteps: 16
rotation_distance: 40
endstop_pin: tmc2209_stepper_y:virtual_endstop
homing_speed: 70
position_min: 0
position_max: 225
position_endstop: 225
homing_retract_dist: 0
[stepper_z]
step_pin: PB0
dir_pin: !PC5
enable_pin: !PB1
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
position_max: 225
[extruder]
step_pin: PB3
dir_pin: !PB4
enable_pin: !PD1
microsteps: 16
rotation_distance: 4.5714
nozzle_diameter: 0.400
filament_diameter: 1.750
pressure_advance:0.0565
heater_pin: PC8
sensor_type: Generic 3950
sensor_pin: PA0
#control: pid
#pid_Kp: 21.527
#pid_Ki: 1.063
#pid_Kd: 108.982
min_temp: 0
max_temp: 280
###############################
# tmc 2209 config
###############################
[tmc2209 stepper_x]
uart_pin: PC11
tx_pin: PC10
diag_pin: ^PC0
uart_address: 0
run_current: 0.750
hold_current: 0.350
stealthchop_threshold: 0
driver_SGTHRS: 120
[tmc2209 stepper_y]
uart_pin: PC11
tx_pin: PC10
diag_pin: ^PC1
uart_address: 2
run_current: 0.750
hold_current: 0.350
stealthchop_threshold: 0
driver_SGTHRS: 60
[tmc2209 stepper_z]
uart_pin: PC11
tx_pin: PC10
uart_address: 1
run_current: 0.750
hold_current: 0.350
stealthchop_threshold: 0
[tmc2209 extruder]
uart_pin: PC11
tx_pin: PC10
uart_address: 3
run_current: 0.3
hold_current: 0.1
stealthchop_threshold: 0
###############################
# bed config
###############################
[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
[bed_mesh]
speed: 200
horizontal_move_z: 5
mesh_min: 10, -8.5
mesh_max: 220, 171.5
probe_count: 7,7
algorithm: bicubic
fade_start: 1
fade_end: 10
fade_target: 0
[screws_tilt_adjust]
screw1: 10,30
screw1_name: front left screw
screw2: 215, 30
screw2_name: front right screw
screw3: 215,210
screw3_name: rear right screw
screw4: 10,210
screw4_name: rear left screw
horizontal_move_z: 10
speed: 50
screw_thread: CW-M3
###############################
# bltouch config
###############################
[bltouch]
sensor_pin: ^PC14
control_pin: PA1
x_offset: 0
y_offset: -38.5
#z_offset = 2.830
[safe_z_home]
home_xy_position: 110,105
speed: 50
z_hop: 10
z_hop_speed: 5
###############################
# fan config
###############################
[heater_fan nozzle_cooling_fan]
pin: PC7
#[heater_fan controller_fan]
#pin: PB15
[controller_fan mainboard_fan]
pin: PB15
heater: extruder,heater_bed
idle_timeout: 60
[fan]
pin: PC6
kick_start_time: 0.5
[mcu]
serial: /dev/ttyAMA0
restart_method: command
[printer]
kinematics: corexy
max_velocity: 250
max_accel: 7500
max_z_velocity: 10
max_z_accel: 25
###############################
# input shaper
###############################
[input_shaper]
shaper_freq_x: 97.4
shaper_type_x: mzv
shaper_freq_y: 23.0
shaper_type_y: mzv
[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>
# See the sample-lcd.cfg file for definitions of common LCD displays.
[temperature_sensor raspberry_pi]
sensor_type: temperature_host
min_temp: 10
max_temp: 100
[temperature_sensor cpu_temp]
sensor_type: temperature_mcu
gcode_id:C
[neopixel neo]
pin: PA8
chain_count: 8
color_order: GRB
#initial_RED: 0.5
#initial_GREEN: 0.5
#initial_BLUE: 0.5
###############################
# webview config
###############################
[virtual_sdcard]
path: ~/gcode_files
[display_status]
[pause_resume]
###############################
# resonance compensation config
###############################
[mcu rpi]
serial: /tmp/klipper_host_mcu
[adxl345]
cs_pin: rpi:None
[resonance_tester]
accel_chip: adxl345
probe_points:
110,105,20
###############################
# include macros
###############################
[include macros.cfg]
[include timelapse.cfg]
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 21.816
#*# pid_ki = 0.976
#*# pid_kd = 121.897
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 70.215
#*# pid_ki = 1.040
#*# pid_kd = 1184.878
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.140000, 0.022500, -0.005000, 0.012500, 0.010000, 0.052500, 0.162500
#*# 0.030000, -0.025000, -0.025000, -0.007500, 0.005000, 0.082500, 0.137500
#*# 0.015000, -0.012500, -0.012500, -0.005000, 0.062500, 0.050000, 0.102500
#*# 0.025000, 0.035000, 0.027500, 0.015000, 0.035000, 0.102500, 0.132500
#*# 0.097500, 0.072500, 0.087500, 0.062500, 0.120000, 0.110000, 0.107500
#*# 0.107500, 0.120000, 0.122500, 0.170000, 0.170000, 0.152500, 0.117500
#*# 0.150000, 0.170000, 0.162500, 0.190000, 0.195000, 0.157500, 0.135000
#*# tension = 0.2
#*# min_x = 10.0
#*# algo = bicubic
#*# y_count = 7
#*# mesh_y_pps = 2
#*# min_y = -8.5
#*# x_count = 7
#*# max_y = 171.5
#*# mesh_x_pps = 2
#*# max_x = 220.0
#*#
#*# [bltouch]
#*# z_offset = 2.870