-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathender-3-pro-2018-bigtreetech-skr-mini-e3-v3.0-sprite-extruder-pro.cfg
318 lines (279 loc) · 6.68 KB
/
ender-3-pro-2018-bigtreetech-skr-mini-e3-v3.0-sprite-extruder-pro.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
# Ender 3 Pro (2018)
# BIGTREETECH SKR mini E3 v3.0
# Creality Sprite Extruder Pro
# Antclabs BL Touch (Genuine)
# Raspberry Pi (Mainsail OS)
# ALPHA V0.1 06/18/2023
# Made by CEADD - ceadd.ca
# Special thanks to bigtreetech, jamesh1978 and nopp
# 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.
[include mainsail.cfg]
#USB connection (dont forget to update)
[mcu]
serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 5000
max_z_velocity: 5
max_z_accel: 100
#Ender 3 Pro 2018 Bed Screw Position
[bed_screws]
screw1: 27,10
screw2: 196,10
screw3: 196,180
screw4: 27,180
#BIGTREETECH SKR mini E3 v3.0 (Dont Touch)
[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>
#x axis side to side (hotend stepper)
[stepper_x]
step_pin: PB13
dir_pin: !PB12
enable_pin: !PB14
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC0
position_endstop: 0
position_max: 235
position_min: 0
homing_speed: 50
[tmc2209 stepper_x]
uart_pin: PC11
tx_pin: PC10
uart_address: 0
run_current: 0.580
stealthchop_threshold: 999999
# y axis front to back (bed stepper)
[stepper_y]
step_pin: PB10
dir_pin: !PB2
enable_pin: !PB11
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC1
position_endstop: 0
position_max: 235
homing_speed: 50
[tmc2209 stepper_y]
uart_pin: PC11
tx_pin: PC10
uart_address: 2
run_current: 0.580
stealthchop_threshold: 999999
#z axis up and down (print height stepper)
[stepper_z]
step_pin: PB0
dir_pin: PC5
endstop_pin: probe:z_virtual_endstop
microsteps: 16
rotation_distance: 8
endstop_pin: ^PC2
position_max: 250
[tmc2209 stepper_z]
uart_pin: PC11
tx_pin: PC10
uart_address: 1
run_current: 0.580
stealthchop_threshold: 999999
#creality sprite extruder pro
[extruder]
step_pin: PB3
dir_pin: !PB4
enable_pin: !PD1
microsteps: 16
gear_ratio: 42:12
rotation_distance: 26.359
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PC8
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA0
control: pid
pid_Kp: 18.53
pid_Ki: 1.88
pid_Kd: 45.57
min_temp: 0
max_temp: 280
pressure_advance: 0.05
[tmc2209 extruder]
uart_pin: PC11
tx_pin: PC10
uart_address: 3
run_current: 0.650
stealthchop_threshold: 999999
#Ender 3 Pro 2018 Heated Bed
[heater_bed]
heater_pin: PC9
sensor_type: ATC Semitec 104GT-2
sensor_pin: PC4
control: pid
pid_Kp: 104.02
pid_Ki: 19.12
pid_Kd: 377.24
min_temp: 0
max_temp: 130
[heater_fan heatbreak_cooling_fan]
pin: PC7
[heater_fan controller_fan]
pin: PB15
#NOT USED, HERE FOR REFRENCE#
[heater_fan my_nozzle_fan]
#pin:
#max_power:
#shutdown_speed:
#cycle_time:
#hardware_pwm:
#kick_start_time:
#off_below:
#tachometer_pin:
#tachometer_ppr:
#tachometer_poll_interval:
#enable_pin:
#heater: extruder
#heater_temp: 50.0
#fan_speed: 1.0
[fan]
pin: PC6
#max_power: 1.0
#shutdown_speed: 0
#cycle_time: 0.010
#hardware_pwm: False
#kick_start_time: 0.100
#off_below: 0.0
#tachometer_pin:
#tachometer_ppr: 2
#tachometer_poll_interval: 0.0015
#enable_pin:
[safe_z_home]
home_xy_position: 100, 100 # Change coordinates to the center of your print bed
#speed: 50.0
#z_hop: 10
#z_hop_speed: 5
#move_to_previous: False
#Bed Mesh Refrences#
rectangular bed, probe_count = 3, 3:
x---x---x (max_point)
|
x---x---x
|
(min_point) x---x---x
round bed, round_probe_count = 5, bed_radius = r:
x (0, r) end
/
x---x---x
\
(-r, 0) x---x---x---x---x (r, 0)
\
x---x---x
/
x (0, -r) start
[bed_mesh]
speed: 120
horizontal_move_z: 5
mesh_min: 35, 6
mesh_max: 240, 198
probe_count: 3, 3
[pause_resume]
#recover_velocity: 50.
[bltouch]
sensor_pin: ^P1.24
control_pin: P1.26
#pin_move_time: 0.680
#stow_on_each_sample: True
#probe_with_touch_mode: False
#pin_up_reports_not_triggered: True
#pin_up_touch_mode_reports_triggered: True
#set_output_mode:
x_offset: -46.4
y_offset: -0
z_offset: -3.09
#speed:
#lift_speed:
#samples:
#sample_retract_dist:
#samples_result:
#samples_tolerance:
#samples_tolerance_retries:
[input_shaper]
#shaper_freq_x: 0
#shaper_freq_y: 0
#shaper_type: mzv
#shaper_type_x:
#shaper_type_y:
#damping_ratio_x: 0.1
#damping_ratio_y: 0.1
[gcode_macro PRINT_START]
gcode:
{% set BED_TEMP = params.BED_TEMP|default(0)|float %}
{% set EXTRUDER_TEMP = params.EXTRUDER_TEMP|default(0)|float %}
M117 Homing...
G28 Y0 X0 Z0
#BED_MESH_PROFILE LOAD=default
G91 ; relative movements
G1 Z10 F5000 ; lift nozzle
G90 ; back to absolute
G0 X10 Y10 F6000
M117 Heating...
M140 S{BED_TEMP} ; set bed final temp
M104 S{EXTRUDER_TEMP} ; set extruder final temp
M190 S{BED_TEMP} ; wait for bed final temp
M109 S{EXTRUDER_TEMP} ; wait for extruder final temp
M117 Home Z with hot bed
G28 Z0
BED_MESH_CALIBRATE
PURGE
PRIME_LINE
G90
G1 Z5.0 F6000
G92 E0 ;zero the extruded length again
G1 F9000
M117 Printing
[gcode_macro PURGE]
gcode:
SAVE_GCODE_STATE NAME=BEFORE_PURGE
M117 Purging
G0 X0 Y0 F5000
G91
G1 E9 F1000
G90
RESTORE_GCODE_STATE NAME=BEFORE_PURGE
[gcode_macro PRIME_LINE]
gcode:
SAVE_GCODE_STATE NAME=BEFORE_PRIME
M117 Prime Line
G92 E0
G1 Z2.0 F3000 ; Set nozzle height
G1 X3 Y0 Z0.28 F5000.0
G1 X3 Y180.0 Z0.28 F1500.0 E15
G1 X3 Y180.0 Z0.28 F5000.0
G1 X3 Y0 Z0.28 F1500.0 E30
G1 Z2.0 F3000
G1 X5 Y20 Z0.3 F5000.0
G92 E0.0 ; reset extrusion distance
G1 Z1 F5000 ; Lift Z
RESTORE_GCODE_STATE NAME=BEFORE_PRIME
[gcode_macro PRINT_END]
gcode:
M400 ; wait for buffer to clear
G92 E0 ; zero the extruder
G1 E-1.0 F3600 ; retract filament
G91 ; relative positioning
G0 Z1.00 X20.0 Y20.0 F2000 ; move nozzle to remove stringing
TURN_OFF_HEATERS
M107 ; turn off fan
G1 Z5 F3000 ; move nozzle up 5mm
G90 ; absolute positioning
G0 X0 Y220 F3600 ; park nozzle at rear
M84
BED_MESH_CLEAR
M117 Finished! ; display message
# See the sample-lcd.cfg file for definitions of common LCD displays.