-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprinter.cfg
281 lines (232 loc) · 6.76 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
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
# This file contains common pin mappings for the Fysetc Spider board.
# To use this config, the firmware should be compiled for the STM32F446.
# When calling "menuconfig", enable "extra low-level configuration setup"
# and select the "12MHz crystal" as clock reference
# For flashing, write the compiled klipper.bin to memory location 0x08000000
#
# [*] Enable extra low-level configuration options
# Micro-controller Architecture (STMicroelectronics STM32) --->
# Processor model (STM32F446) --->
# Bootloader offset (32KiB bootloader) --->
# Clock Reference (12 MHz crystal) --->
# Communication interface (Serial (on USART1 PA10/PA9)) --->
# (250000) Baud rate for serial port (NEW)
# () GPIO pins to set at micro-controller startup
#
# Upgrade klipper
#
# sudo service klipper stop
# cd ~/klipper
# git pull
# make clean
# make menuconfig
# make
# ./scripts/flash-sdcard.sh /dev/ttyAMA0 fysetc-spider
# sudo service klipper start
## *** THINGS TO CHANGE/CHECK: ***
## Spider version Please search this file for "SpiderVersion" and uncomment the appropriate line for each
## MCU paths [mcu] section
## Thermistor types [extruder] and [heater_bed] sections - See 'sensor types' list at end of file
## Z Endstop Switch location [safe_z_home] section
## Homing end position [gcode_macro G32] section
## Z Endstop Switch offset for Z0 [stepper_z] section
## Probe points [quad_gantry_level] section
## Min & Max gantry corner postions [quad_gantry_level] section
## PID tune [extruder] and [heater_bed] sections
## Fine tune E steps [extruder] section
#Mainsail settings
[include mainsail.cfg]
[include steppers.cfg]
[include nozzle_scrub.cfg]
[include extruder.cfg]
[include fans.cfg]
[include macros.cfg]
#[include klicky-variables.cfg]
#[include klicky-macros.cfg]
[include bedfans.cfg]
[include pa_cal.cfg]
[include led_progress.cfg]
[include Euclid-macros.cfg]
#[include KAMP/Adaptive_Mesh.cfg]
#[include KAMP/Voron_Purge.cfg]
#[include KAMP/Line_Purge.cfg]
# This file contains all settings for KAMP, and must be included in printer.cfg with:
[include KAMP_Settings.cfg]
### The following [includes] can be uncommented from within KAMP_Settings.cfg. ###
# This file enables the use of adaptive meshing.
[include ./KAMP/Adaptive_Meshing.cfg]
# This file enables the use of adaptive line purging.
[include ./KAMP/Line_Purge.cfg]
# This file enables the use of the adaptive Voron logo purge.
[include ./KAMP/Voron_Purge.cfg]
# This file enables the use of KAMP's Smart Park feature.
[include ./KAMP/Smart_Park.cfg]
[exclude_object]
#[gcode_shell_command backup_cfg]
#command: sh /home/pi/backup_cfg.sh
#timeout: 300
#verbose: True
#[gcode_macro BACKUP_CFG]
#gcode:
# RUN_SHELL_COMMAND CMD=backup_cfg
[gcode_shell_command update_mcu]
command: sh /home/pi/update_spider.sh
timeout: 300
verbose: True
[gcode_macro UPDATE_MCU]
gcode:
RUN_SHELL_COMMAND CMD=update_mcu
[save_variables]
filename: ~/klipper_config/saved_variables.cfg
[temperature_sensor Chamber]
sensor_type: ATC Semitec 104NT-4-R025H42G
sensor_pin: PC2
[temperature_sensor Spider]
sensor_type: temperature_mcu
[temperature_sensor Raspberry_Pi]
sensor_type: temperature_host
[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32f446xx_2D001A001951373434353332-if00 #/dev/ttyAMA0
restart_method: command
#[mcu adxl]
#serial: /dev/serial/by-id/usb-Klipper_rp2040_E6613475071C5A23-if00
#[adxl345]
#cs_pin: adxl:gpio1
#spi_bus: spi0a
#[resonance_tester]
#accel_chip: adxl345
#probe_points:
# 175,175,20
[input_shaper]
shaper_freq_x: 65.0
shaper_type_x: mzv
shaper_freq_y: 38.0
shaper_type_y: mzv
[printer]
kinematics: corexy
max_velocity: 300
max_accel: 6000 #Max 4000
max_z_velocity: 40 #Max 15 for 12V TMC Drivers, can increase for 24V
max_z_accel: 350
square_corner_velocity: 5.0
#####################################################################
# Bed Heater
#####################################################################
[heater_bed]
## SSR Pin - In BED OUT position
heater_pin: PB4
sensor_type: NTC 100K MGB18-104F39050L32
sensor_pin: PB0 # TB Position
## Adjust Max Power so your heater doesn't warp your bed
max_power: 0.6
min_temp: 0
max_temp: 120
control: pid
pid_kp: 58.437
pid_ki: 2.347
pid_kd: 363.769
#####################################################################
# LED Control
#####################################################################
[output_pin caselight]
## Chamber Lighting - In 24V White Position
pin: PB3
pwm: true
shutdown_value: 0
value:1
cycle_time: 0.01
## RGB
[neopixel db_leds]
pin: PD3
chain_count: 2
color_order: GRBW
initial_RED: 1.0
initial_GREEN: 1.0
initial_BLUE: 1.0
initial_WHITE: 1.0
#####################################################################
# Homing and Gantry Adjustment Routines
#####################################################################
[idle_timeout]
timeout: 10800
[quad_gantry_level]
gantry_corners:
-60,-10
410,420
points:
50,25
50,275
300,275
300,25
speed: 200
horizontal_move_z: 20
retries: 5
retry_tolerance: 0.01
max_adjust: 10
[probe]
pin: PA0
x_offset: 0
y_offset: 0
#z_offset = 3.555
speed: 3
lift_speed: 300
samples: 1
samples_result: median
sample_retract_dist: .15
samples_tolerance: 0.0075
samples_tolerance_retries: 15
[bed_mesh]
speed: 300
horizontal_move_z: 10
mesh_min: 25,45
mesh_max: 335, 295.00
fade_start: 0.5
fade_end: 10.0
split_delta_z: .01
algorithm: bicubic
probe_count: 7, 7
relative_reference_index: 25
[force_move]
enable_force_move: True
# Set to true to enable FORCE_MOVE and SET_KINEMATIC_POSITION
# extended G-Code commands. The default is false.
[respond]
default_type: echo
# Sets the default prefix of the "M118" and "RESPOND" output to one
# of the following:
# echo: "echo: " (This is the default)
# command: "// "
# error: "!! "
default_prefix: echo:
# Directly sets the default prefix. If present, this value will
# override the "default_type".
## Thermistor Types
## "EPCOS 100K B57560G104F"
## "ATC Semitec 104GT-2"
## "NTC 100K beta 3950"
## "Honeywell 100K 135-104LAG-J01"
## "NTC 100K MGB18-104F39050L32" (Keenovo Heater Pad)
## "AD595"
## "PT100 INA826"
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.010000, 0.030000, -0.012500
#*# -0.000000, 0.050000, -0.000000
#*# 0.017500, -0.007500, -0.015000
#*# tension = 0.2
#*# min_x = 141.09
#*# algo = lagrange
#*# y_count = 3
#*# mesh_y_pps = 2
#*# min_y = 138.2
#*# x_count = 3
#*# max_y = 211.8
#*# mesh_x_pps = 2
#*# max_x = 201.49
#*#
#*# [probe]
#*# z_offset = 7.550