-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprinter.cfg
251 lines (219 loc) · 5.07 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
# This file contains common pin mappings for the BIGTREETECH SKR mini
# E3 v2.0. To use this config, the firmware should be compiled for the
# STM32F103 with a "28KiB bootloader" and USB communication. Also,
# select "Enable extra low-level configuration options" and configure
# "GPIO pins to set at micro-controller startup" to "!PA14".
# 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.
[save_variables]
filename: ~/klipper_config/variables.cfg
[stepper_x]
step_pin: PB13
dir_pin: !PB12
enable_pin: !PB14
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC0
position_endstop: 0
position_max: 251
homing_speed: 60
[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: -18
position_min: -18
position_max: 231
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: probe:z_virtual_endstop
position_min: -5
position_max: 250
[tmc2209 stepper_z]
uart_pin: PC11
tx_pin: PC10
uart_address: 1
run_current: 0.580
stealthchop_threshold: 999999
[extruder]
step_pin: PB3
dir_pin: !PB4
enable_pin: !PD2
microsteps: 16
rotation_distance: 7.711
nozzle_diameter: 0.600
filament_diameter: 1.750
heater_pin: PC8
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA0
min_temp: 0
max_temp: 260
max_extrude_only_distance: 300
pressure_advance = 0.17
[tmc2209 extruder]
uart_pin: PC11
tx_pin: PC10
uart_address: 3
run_current: 0.650
stealthchop_threshold: 999999
[heater_bed]
heater_pin: PC9
sensor_type: ATC Semitec 104GT-2
sensor_pin: PC3
#control: pid
#pid_Kp: 54.027
#pid_Ki: 0.770
#pid_Kd: 948.182
min_temp: 0
max_temp: 130
[heater_fan mainboard_fan]
pin: PC7
heater_temp: 150.0
fan_speed: 0.5
heater: extruder
[fan]
pin: PC6
[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_31FFD5054248313017690757-if00
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3500
max_z_velocity: 5
max_z_accel: 100
[static_digital_output usb_pullup_enable]
pins: !PA14
[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=PB15, EXP1_10=<5V>
[virtual_sdcard]
path: ~/gcode_files
[display_status]
[pause_resume]
#imports macros file
[include macros.cfg]
[bltouch]
sensor_pin: ^PC14
control_pin: PA1
x_offset: -55
y_offset: -13
stow_on_each_sample: false
samples: 3
speed: 5
sample_retract_dist: 2
[safe_z_home]
home_xy_position: 172.5,130.5 # Change coordinates to the center of your print bed
z_hop: 10
z_hop_speed: 10 # Move up 10mm z_hop_speed: 5
[bed_mesh]
speed: 170
horizontal_move_z: 5
mesh_min: 15, 15
mesh_max: 195, 205
probe_count: 5,5
algorithm: lagrange
fade_start: 1
fade_end: 10
fade_target: 0
[screws_tilt_adjust]
screw1: 87, 44
screw1_name: front left screw
screw2: 250, 44
screw2_name: front right screw
screw3: 250, 216
screw3_name: rear right screw
screw4: 87, 216
screw4_name: rear left screw
screw_thread: CW-M4
[bed_screws]
screw1: 32, 31
screw2: 195, 31
screw3: 195, 203
screw4: 32, 203
[filament_switch_sensor RunoutSensor]
pause_on_runout: True
runout_gcode: PAUSE
insert_gcode: RESUME
switch_pin: PC15
[idle_timeout]
gcode:
TURN_OFF_HEATERS
M84
timeout: 600
[firmware_retraction]
retract_length: 4
# The length of filament (in mm) to retract when G10 is activated,
# and to unretract when G11 is activated (but see
# unretract_extra_length below). The default is 0 mm.
retract_speed: 30
# The speed of retraction, in mm/s. The default is 20 mm/s.
#unretract_extra_length: 0
# The length (in mm) of *additional* filament to add when
# unretracting.
unretract_speed: 30
# The speed of unretraction, in mm/s. The default is 10 mm/s.
[input_shaper]
shaper_freq_x: 41.5
shaper_freq_y: 47.8
shaper_type: mzv
[include timelapse.cfg]
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 24.825
#*# pid_ki = 1.293
#*# pid_kd = 119.161
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 71.357
#*# pid_ki = 1.681
#*# pid_kd = 757.279
#*#
#*# [bltouch]
#*# z_offset = 1.744
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.035000, -0.116250, -0.203750, -0.303750, -0.076250
#*# 0.080000, -0.032500, -0.023750, -0.328750, -0.308750
#*# 0.022500, -0.082500, -0.050000, -0.342500, -0.282500
#*# -0.050000, -0.206250, -0.307500, -0.433750, -0.393750
#*# tension = 0.2
#*# min_x = 26.2
#*# algo = lagrange
#*# y_count = 4
#*# mesh_y_pps = 2
#*# min_y = 48.41
#*# x_count = 5
#*# max_y = 182.57
#*# mesh_x_pps = 2
#*# max_x = 194.96