forked from mtw3d/mtw_klipper_config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
printer-create-mini.cfg
227 lines (201 loc) · 5.18 KB
/
printer-create-mini.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
#This is the configuration file for the MTW Create Mini.
#
# This file contains common pin mappings for the BIGTREETECH SKR mini
# E3 v2.0. To use this config, the firmware should be compiled for the
# STM32F103 with a "28KiB bootloader". Also, select "Enable extra
# low-level configuration options" and configure "GPIO pins to set at
# micro-controller startup" to "!PA14".
# 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 the example.cfg file for a description of available parameters.
######################################################################
#Load other files
######################################################################
[include serial.cfg]
[include fluidd.cfg]
[include macros-mtw.cfg] # Macros for MTW Printers
[include macros-led.cfg] # LED Macros for MTW Printers
[include macros-custom.cfg] # <<< Create your own macros here <<<<
#[include adxl.cfg] # Include Configuration for the ADXL345 Accel connected to the Pi Pico. Comment out when not in use.
####
# Below are the most commonly edited settings.
####
# You MUST set the following variable, per the installation instructions.
[mcu]
serial:
[bltouch]
# Z Offset: Positive number, lower number raises the nozzle
z_offset: 1.5
[stepper_x]
step_pin: XSTEP
dir_pin: XDIR
enable_pin: !XEN
rotation_distance: 32
microsteps: 64
endstop_pin: tmc2209_stepper_x:virtual_endstop
position_endstop: -34
position_min: -100
homing_speed: 40
position_max: 260
homing_retract_dist: 0
homing_positive_dir: FALSE
homing_retract_speed: 20
[tmc2209 stepper_x]
uart_pin: PC11
tx_pin: PC10
diag_pin: ^XSTOP
uart_address: 0
run_current: 0.580
hold_current: 0.2500
stealthchop_threshold: 999999
driver_SGTHRS: 100
[stepper_y]
step_pin: YSTEP
dir_pin: YDIR
enable_pin: !YEN
rotation_distance: 32
microsteps: 64
endstop_pin: tmc2209_stepper_y:virtual_endstop
position_endstop: 235
position_max: 330
position_min: -20
homing_speed: 40
homing_retract_dist: 0
homing_positive_dir: True
[tmc2209 stepper_y]
uart_pin: PC11
tx_pin: PC10
diag_pin: ^YSTOP
uart_address: 2
run_current: 0.7
hold_current: 0.2500
stealthchop_threshold: 999999
driver_SGTHRS: 90
[stepper_z]
step_pin: ZSTEP
dir_pin: ZDIR
enable_pin: !ZEN
rotation_distance: 4
microsteps: 32
endstop_pin: probe:z_virtual_endstop
position_min: -10.0
position_max: 215
homing_speed: 5
[tmc2209 stepper_z]
uart_pin: PC11
tx_pin: PC10
uart_address: 1
run_current: 0.580
hold_current: 0.2500
stealthchop_threshold: 5
[extruder]
step_pin: ESTEP
dir_pin: !EDIR
enable_pin: !EEN
rotation_distance: 7.712 ## For BMG Extruders
#rotation_distance: 30.848 ## For Older MTW Extruders
microsteps: 16
nozzle_diameter: 0.4
filament_diameter: 1.750
heater_pin: EHEAT
sensor_type: ATC Semitec 104GT-2
sensor_pin: ETHERM
control: pid
pid_Kp: 21.527
pid_Ki: 1.063
pid_Kd: 108.982
min_temp: 0
max_temp: 250
min_extrude_temp: 150
[tmc2209 extruder]
uart_pin: PC11
tx_pin: PC10
uart_address: 3
microsteps: 16
run_current: 0.65
hold_current: 0.2500
stealthchop_threshold: 5
[bltouch]
sensor_pin: ^BLTSEN
control_pin: BLTCTL
pin_move_time: 0.680
y_offset: -18
x_offset: 27
[heater_bed]
heater_pin: BEDHEAT
sensor_type: NTC 100K beta 3950
sensor_pin: BEDTHERM
control: pid
pid_Kp: 54.027
pid_Ki: 0.770
pid_Kd: 948.182
min_temp: 0
max_temp: 130
[heater_fan e0_hotend_fan]
pin: FAN1
heater: extruder
shutdown_speed: 0.0
kick_start_time: 1.0
cycle_time: 0.10
heater_temp: 50.0
max_power: 0.9
[fan]
pin: FAN0
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_z_velocity: 5
max_z_accel: 100
[safe_z_home]
home_xy_position: 102.5,115 # Change coordinates to the center of your print bed
speed: 50
z_hop: 5 # Move up 5mm
z_hop_speed: 5
[bed_mesh]
speed: 50
mesh_min: 5,5
mesh_max: 200,210
probe_count: 5,7
fade_start: 1.0
fade_end: 0.0
#fade_target:
split_delta_z: .025
move_check_distance: 5.0
mesh_pps: 2,2
algorithm: bicubic
bicubic_tension: .2
[static_digital_output usb_pullup_enable]
pins: !PA14
[respond]
default_type: echo
[pause_resume]
[board_pins mcu] #Front Controller
mcu: mcu
# To use these pins in the config, refer to them with by the pin name only, iow XSTEP
# Use ^ to activate the pullup, ^XSTEP, or ! to invert the logic, !XSTEP
#
# NOTE: Pin Names represent the board label, not the usage in the config.
# Refer to the docs to see what plugs in to what port.
# https://mtwhelp.atlassian.net/wiki/spaces/C2/pages/1225457677/Wiring+The+MTW+Create+2
aliases: XSTEP=PB13, XDIR=PB12, XEN=PB14, XSTOP=PC0,
YSTEP=PB10, YDIR=PB2, YEN=PB11, YSTOP=PC1,
ZSTEP=PB0, ZDIR=PC5, ZEN=PB1, ZSTOP=PC2,
#Extruder
ESTEP=PB3, EDIR=PB4, EEN=PD2, EHEAT=PC8, ETHERM=PA0,
#Heated Bed
BEDHEAT=PC9,
BEDTHERM=PC3,
#fans
FAN0=PC6,
FAN1=PC7,
#bltouch
BLTCTL=PA1,
BLTSEN=PC14,
# 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=PB15, EXP1_10=<5V>
# Other Pins
PS-ON=PC13, PT-DET=PC12, ESTOP=PC15, NEOPIX=PA8