This repository was archived by the owner on Dec 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcr6se.cfg
More file actions
244 lines (211 loc) · 4.5 KB
/
cr6se.cfg
File metadata and controls
244 lines (211 loc) · 4.5 KB
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
# This file contains pin mappings for the BTT-SKR Mainboard on the 2021 Creality CR6-SE.
# To use this config, during "make menuconfig" select the
# STM32F103 with a "28KiB bootloader" and with "Use USB for
# communication" enabled. Also ensure "!PA14" is in the initial pins.
# Flash this firmware by copying "out/klipper.bin" to a SD card and
# turning on the printer with the card inserted. The firmware
# filename must be named "firmware.bin".
# See docs/Config_Reference.md for a description of parameters.
# Unaccounted for pins: PA2 PA3 PA11 PA12 PC4
[stepper_x]
step_pin: PB13
dir_pin: !PB12
enable_pin: !PB14
rotation_distance: 40
microsteps: 16
endstop_pin: PC0
position_min: -5
position_endstop: -5
position_max: 235
homing_speed: 50
[stepper_y]
step_pin: PB10
dir_pin: PB2
enable_pin: !PB11
rotation_distance: 40
microsteps: 16
endstop_pin: PC1
position_min: -2
position_endstop: -2
position_max: 235
homing_speed: 50
[stepper_z]
step_pin: PB0
dir_pin: !PC5
enable_pin: !PB1
rotation_distance: 8
microsteps: 16
endstop_pin: probe:z_virtual_endstop
position_min: -1.5
position_max: 250
homing_speed: 4
second_homing_speed: 1
homing_retract_dist: 2.0
[extruder]
max_extrude_only_distance: 1000.0
step_pin: PB3
dir_pin: !PB4
enable_pin: !PD2
#rotation_distance: 30.4768
rotation_distance: 34.4086
microsteps: 16
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PC8
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA0
control: pid
pid_Kp: 25.551
pid_Ki: 1.521
pid_Kd: 107.313
min_temp: 0
#min_temp: -90
max_temp: 275
#pressure_advance: 0.22
[tmc2209 stepper_x]
uart_pin: PC11
tx_pin: PC10
diag_pin: ^PC0
uart_address: 0
run_current: 0.580
hold_current: 0.500
stealthchop_threshold: 99999
[tmc2209 stepper_y]
uart_pin: PC11
tx_pin: PC10
diag_pin: ^PC1
uart_address: 1
run_current: 0.580
hold_current: 0.500
stealthchop_threshold: 99999
[tmc2209 stepper_z]
uart_pin: PC11
tx_pin: PC10
diag_pin: ^PC2
uart_address: 2
run_current: 0.580
hold_current: 0.500
stealthchop_threshold: 99999
[tmc2209 extruder]
uart_pin: PC11
tx_pin: PC10
diag_pin: ^PC15
uart_address: 3
run_current: 0.800
hold_current: 0.500
stealthchop_threshold: 99999
[heater_bed]
heater_pin: PC9
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC3
control: pid
pid_Kp: 54.165
pid_Ki: 0.696
pid_Kd: 1054.186
min_temp: 0
max_temp: 120
[fan]
pin: PC6
hardware_pwm: True
kick_start_time: 0.5
[controller_fan mainboard_fan]
pin: PC7
hardware_pwm: True
[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_30FFD5054254353919561557-if00
restart_method: command
[bed_mesh]
speed: 50
horizontal_move_z: 5
mesh_min: 0,0
mesh_max: 235,235
probe_count: 5,5
[safe_z_home]
home_xy_position: 118,118
[force_move]
enable_force_move: True
[display]
lcd_type: emulated_st7920
en_pin: PB8
spi_software_sclk_pin: PB9
spi_software_mosi_pin: PB15
spi_software_miso_pin: PC13
# spi_software_miso_pin: UNUSED PIN (PS-ON)
encoder_pins: ^PA9, ^PA10
click_pin: ^!PA15
[neopixel ledring]
pin: PA8
chain_count: 12
[output_pin beeper]
pin: PB5
pwm: True
value: 0
shutdown_value: 0
cycle_time: 0.0005
scale: 2000
[probe]
pin: PC14
x_offset: 0.0
y_offset: 0.0
z_offset: -0.050
speed: 1.0
samples: 5
activate_gcode:
TARE_PROBE
[filament_switch_sensor filament_sensor]
pause_on_runout: true
switch_pin: ^!PC15
[output_pin hotend_LED]
pin: PA13
value: 0
[output_pin probe_enable]
pin: !PA1
value: 1
[printer]
kinematics: cartesian
max_velocity: 250
#max_accel: 4000
max_accel: 500
max_z_velocity: 5
max_z_accel: 100
#[include adxl.cfg]
[input_shaper]
shaper_freq_x: 101.6
shaper_type_x: zv
shaper_freq_y: 40.6
shaper_type_y: mzv
[gcode_macro LEDRING_ON]
gcode:
SET_LED LED=ledring RED=0.86 GREEN=1 BLUE=0.43
[gcode_macro LEDRING_OFF]
gcode:
SET_LED LED=ledring RED=0 GREEN=0 BLUE=0
[gcode_macro TARE_PROBE]
gcode:
SET_PIN PIN=probe_enable VALUE=0
G4 P250
SET_PIN PIN=probe_enable VALUE=1
G4 P250
{action_respond_info("Probe tared")}
[include common.cfg]
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.247500, -0.021000, 0.257500, 0.543500, 0.888000
#*# -0.320000, -0.137000, 0.074500, 0.296000, 0.539000
#*# -0.285500, -0.169000, -0.001500, 0.169500, 0.321500
#*# -0.157500, -0.132000, -0.061000, 0.031000, 0.162000
#*# 0.056000, -0.048500, -0.068500, -0.049000, 0.067500
#*# tension = 0.2
#*# min_x = 0.0
#*# algo = lagrange
#*# y_count = 5
#*# mesh_y_pps = 2
#*# min_y = 0.0
#*# x_count = 5
#*# max_y = 235.0
#*# mesh_x_pps = 2
#*# max_x = 235.0