-
Notifications
You must be signed in to change notification settings - Fork 0
/
printer-20221013_220517.cfg
245 lines (215 loc) · 5.08 KB
/
printer-20221013_220517.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
#Mainsail settings
[include mainsail.cfg]
[include macros.cfg]
[include timelapse.cfg]
#Other settings..
# This file contains pin mappings for the stock 2020 Creality Ender 3
# V2. To use this config, during "make menuconfig" select the
# STM32F103 with a "28KiB bootloader" and serial (on USART1 PA10/PA9)
# communication.
# If you prefer a direct serial connection, in "make menuconfig"
# select "Enable extra low-level configuration options" and select
# serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC
# cable used for the LCD module as follows:
# 3: Tx, 4: Rx, 9: GND, 10: VCC
# 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 end in ".bin" and must not match the last filename
# that was flashed.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PC2
dir_pin: PB9
enable_pin: !PC3
microsteps: 16
rotation_distance: 39.55967
endstop_pin: ^PA5
position_endstop: 0
position_max: 230
homing_speed: 50
[stepper_y]
step_pin: PB8
dir_pin: PB7
enable_pin: !PC3
microsteps: 16
rotation_distance: 39.89413
endstop_pin: ^PA6
position_endstop: -25
position_min: -25
position_max: 211
homing_speed: 50
[stepper_z]
step_pin: PB6
dir_pin: !PB5
enable_pin: !PC3
microsteps: 16
rotation_distance: 8
#endstop_pin: ^PA7
endstop_pin: probe:z_virtual_endstop
#position_endstop: 0.0
position_min: -3
position_max: 250
[extruder]
max_extrude_only_distance: 500
step_pin: PB4
dir_pin: PB3
enable_pin: !PC3
microsteps: 16
rotation_distance: 7.45
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PA1
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC5
#control: pid
# tuned for stock hardware with 200 degree Celsius target
#pid_Kp: 21.527
#pid_Ki: 1.063
#pid_Kd: 108.982
min_temp: 0
max_temp: 300
pressure_advance: 0.0627
[heater_bed]
heater_pin: PA2
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC4
#control: pid
# tuned for stock hardware with 50 degree Celsius target
#pid_Kp: 54.027
#pid_Ki: 0.770
#pid_Kd: 948.182
min_temp: 0
max_temp: 130
[fan]
pin: PA0
[mcu]
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
restart_method: command
[mcu host]
serial: /tmp/klipper_host_mcu
[adxl345 hotend]
cs_pin: host:None
spi_bus: spidev5.0
[adxl345 bed]
cs_pin: host:None
spi_bus: spidev6.0
[resonance_tester]
accel_chip_x: adxl345 hotend
accel_chip_y: adxl345 bed
probe_points:
100, 100, 10
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 4500
max_z_velocity: 5
max_z_accel: 100
[temperature_sensor raspberry_pi]
sensor_type: temperature_host
min_temp: 10
max_temp: 100
[temperature_sensor mcu_temp]
sensor_type: temperature_mcu
min_temp: 0
max_temp: 100
[input_shaper]
shaper_freq_x: 53
shaper_freq_y: 41.0
shaper_type_x: mzv
shaper_type_y: mzv
[bed_screws]
screw1: 56, 73
screw2: 56, 220
screw3: 224, 220
screw4: 224, 73
[bltouch]
sensor_pin: ^PB1
control_pin: PB0
x_offset: 36.2
y_offset: 1
#z_offset: 0
[safe_z_home]
home_xy_position: 75.5,107
speed: 50
z_hop: 10
z_hop_speed: 5
[screws_tilt_adjust]
screw1: 0, 24
screw1_name: front left screw
screw2: 0, 193
screw2_name: rear left screw
screw3: 148.5, 193
screw3_name: rear right screw
screw4: 148.5, 24
screw4_name: front right screw
horizontal_move_z: 10.
speed: 50.
screw_thread: CW-M3
[bed_mesh]
speed: 120
horizontal_move_z: 5
mesh_min: 40, 11
mesh_max: 214, 205
probe_count: 6, 6
algorithm: bicubic
fade_start: 1
fade_end: 10
fade_target: 0
#[output_pin caselight]
#pin: host:gpio20
#[gcode_macro TOGGLE_CASELIGHT]
#gcode:
# SET_PIN PIN=caselight VALUE={(not printer['output_pin caselight'].value)|int}
#[fan]
#pin: host:gpio20
# [stepper_z]
# position_endstop = 0.370
[firmware_retraction]
retract_length: 0.8
# 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: 50
# 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: 40
# The speed of unretraction, in mm/s. The default is 10 mm/s.
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 19.011
#*# pid_ki = 0.968
#*# pid_kd = 93.393
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 65.060
#*# pid_ki = 1.451
#*# pid_kd = 729.483
#*#
#*# [bltouch]
#*# z_offset = 2.970
#*#
#*# [bed_mesh Back]
#*# version = 1
#*# points =
#*# 0.037500, 0.040000, 0.025000, 0.017500, 0.012500, -0.005000
#*# 0.067500, 0.060000, 0.050000, 0.047500, 0.037500, 0.032500
#*# 0.052500, 0.052500, 0.045000, 0.047500, 0.052500, 0.042500
#*# 0.037500, 0.027500, 0.027500, 0.035000, 0.037500, 0.045000
#*# 0.052500, 0.035000, 0.027500, 0.030000, 0.040000, 0.042500
#*# 0.070000, 0.050000, 0.042500, 0.052500, 0.077500, 0.092500
#*# x_count = 6
#*# y_count = 6
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = bicubic
#*# tension = 0.2
#*# min_x = 40.0
#*# max_x = 213.95
#*# min_y = 10.99
#*# max_y = 204.96