-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprinter.cfg
265 lines (236 loc) · 7.46 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
[include mainsail.cfg]
[include macros.cfg]
#[include adxl.cfg]
[gcode_arcs]
resolution: 1.0
# 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.
[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_1F0008000F50415833323520-if00
#====================================================================
# PRINTER LIMIT SETTINGS ## These are set higher than needed, mostly for diagnosing and testing.
#====================================================================
[printer]
kinematics: corexy
max_velocity: 600
max_accel: 50000
max_accel_to_decel: 10000
square_corner_velocity: 5
max_z_velocity: 50
max_z_accel: 2000
#====================================================================
# X STEPPER ## Fabreeko HoneyBadger 40mm Motor ## Right motor
#====================================================================
[stepper_x]
step_pin: PB13
dir_pin: PB12
enable_pin: !PB14
microsteps: 64
rotation_distance: 40
#full_steps_per_rotation: 200
endstop_pin: tmc2209_stepper_x:virtual_endstop
homing_retract_dist: 0
position_endstop: 120
position_max: 120
homing_speed: 50
[tmc2209 stepper_x]
uart_pin: PC11
tx_pin: PC10
uart_address: 0
run_current: 0.7
sense_resistor: 0.110
stealthchop_threshold: 0
interpolate: False
diag_pin: ^PC0 # Set to MCU pin connected to TMC DIAG pin
driver_SGTHRS: 120 # 255 is most sensitive value, 0 is least sensitive ## Change only if sensorless homing needs adjusting #!#
#====================================================================
# Y STEPPER ## Fabreeko HoneyBadger 40mm Motor ## Left motor
#====================================================================
[stepper_y]
step_pin: PB10
dir_pin: PB2
enable_pin: !PB11
microsteps: 64
rotation_distance: 40
#full_steps_per_rotation: 200
endstop_pin: tmc2209_stepper_y:virtual_endstop
homing_retract_dist: 0
position_endstop: 140 ## change (+/-) to make shure Y0 is at the edge of your bed #!#
position_max: 140 ## match the value in "position_endstop:" #!#
homing_speed: 50
[tmc2209 stepper_y]
uart_pin: PC11
tx_pin: PC10
uart_address: 2
run_current: 0.7
sense_resistor: 0.110
stealthchop_threshold: 0
interpolate: False
diag_pin: ^PC1
driver_SGTHRS: 140 # 255 is most sensitive value, 0 is least sensitive ## Change only if sensorless homing needs adjusting #!#
#====================================================================
# Z STEPPER ## Fabreeko HoneyBadger 40mm Motor
#====================================================================
## Please note that my Z-extrusions and rail is 300mm and im using my ABL-mod for the Sentinel toolhead.
[stepper_z]
step_pin: PB0
dir_pin: !PC5
enable_pin: !PB1
microsteps: 32
rotation_distance: 40
endstop_pin: !PC15
endstop_pin: PC2 ## Change to "PC2" if using a normal endstop #!#
position_endstop: 125 ## Uncomment if using endstop and set to lowest point where your bed hits the switch, also remove [probe] section. #!#
position_max: 125 ## Change to lowest point your bed can move #!#
position_min: -5
homing_speed: 40
#second_homing_speed: 5
homing_retract_dist: 10
homing_retract_speed: 10
#gear_ratio: 4:1 ## Comment out if you are not using geared Z #!#
[tmc2209 stepper_z]
uart_pin: PC11
tx_pin: PC10
uart_address: 1
run_current: 0.5
sense_resistor: 0.110
stealthchop_threshold: 0
interpolate: False
#====================================================================
# EXTRUDER ## Fabreeko HoneyBadger 20mm Pancake motor and Fabreeko Sherpa kit ## Change to suit your extruder-setup #!#
#====================================================================
[extruder]
step_pin: PB3
dir_pin: !PB4
enable_pin: !PD1
rotation_distance: 22.67895 # Sherpa mini
gear_ratio: 50:8 ## for sherpa mini 8t motor
microsteps: 16
full_steps_per_rotation: 200 ## 1.8deg Motor
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PC8
sensor_type: ATC Semitec 104GT-2
sensor_pin: PA0
control: pid
pid_Kp = 18.569
pid_Ki = 1.391
pid_Kd = 61.975
min_temp: 0
min_extrude_temp: 0
max_temp: 300
pressure_advance: 0.025 ## Fabreeko kit / Trianglelabs CHC
pressure_advance_smooth_time: 0.025
max_extrude_cross_section: 50
max_extrude_only_distance: 1000
[tmc2209 extruder]
uart_pin: PC11
tx_pin: PC10
uart_address: 3
run_current: 0.7
sense_resistor: 0.110
stealthchop_threshold: 0
interpolate: False
#====================================================================
# BED HEATER ## LDO 100W Voron V0 Bed with FYSETC PEI/Carbon sheet ## Change to suit your bed-setup #!#
#====================================================================
[heater_bed]
heater_pin: PC9
sensor_type: ATC Semitec 104GT-2
sensor_pin: PC4
control = pid
pid_kp = 65.846
pid_ki = 0.647
pid_kd = 1676.607
min_temp: -273.15
max_temp: 130
#====================================================================
# FANS
#====================================================================
[heater_fan hotend_fan] ## FAN1
pin: PC6
heater: extruder
heater_temp: 35.0
fan_speed: 1 #0.4
[fan] ## FAN3 (Part-cooling)
pin: PC7
[controller_fan my_controller_fan] ## FAN2
pin: PB15
kick_start_time: 0.500
idle_timeout: 30
fan_speed: 1 #0.25
stepper: stepper_x, stepper_y, stepper_z, extruder
#====================================================================
# AUTOMATIC BED LEVELING ## Only if you are using my ABL probe mod for the sentinel #!#
#====================================================================
#[probe]
#pin: !PC15
#x_offset: 0.0
#y_offset: -31.23
#z_offset: 0
#speed: 5
#samples: 1
#sample_retract_dist: 2.5
#lift_speed: 5
#samples_result: average
#[bed_mesh]
#speed: 60
#horizontal_move_z: 4
#mesh_min: 5,5
#mesh_max: 110,100
#probe_count: 3, 3
#fade_start: 2.0
#fade_end: 8.0
#mesh_pps: 2, 2
#algorithm: bicubic
#====================================================================
# MANUAL BED LEVELING
#====================================================================
[bed_screws]
screw1: 100,110
screw1_name: rear right screw
screw2: 10,110
screw2_name: rear left screw
screw3: 55,5
screw3_name: front middle screw
#====================================================================
# TEMPERATURE SENSORS
#====================================================================
[temperature_sensor MCU_temp]
sensor_type: temperature_mcu
min_temp: 0
max_temp: 100
[temperature_sensor Pi]
sensor_type: temperature_host
min_temp: 10
max_temp: 100
#====================================================================
# MISC
#====================================================================
[static_digital_output usb_pullup_enable]
pins: !PA14
[respond]
default_type: echo
default_prefix: echo:
[exclude_object]
[pause_resume]
[input_shaper]
[gcode_arcs]
resolution: 0.2
#====================================================================
# BOARD PINS
#====================================================================
[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.
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.