forked from mtw3d/mtw_klipper_config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
printer-mm2.cfg
231 lines (198 loc) · 4.67 KB
/
printer-mm2.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
# This file contains pin mappings for the MTW Create (circa 2015). To
# use this config, the firmware should be compiled for the AVR
# atmega2560.
# See docs/Config_Reference.md for a description of parameters.
######################################################################
#Load other files
######################################################################
#load macros
[include fluidd.cfg]
[include serial.cfg]
[include macros-mtw.cfg] # Macros for All 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.
[adxl345]
cs_pin: None
[resonance_tester]
accel_chip: adxl345
probe_points:
100,100,20 # an example
[input_shaper]
shaper_freq_x: 59.2
shaper_type_x: 3hump_ei
shaper_freq_y: 59.2
shaper_type_y: zv
[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.
[stepper_x]
step_pin: PC0
dir_pin: !PL1
enable_pin: !PA7
microsteps: 16
rotation_distance: 40
endstop_pin: ^PB6
#endstop_pin: ^PA2
position_endstop: 0
position_max: 200
homing_speed: 50
[stepper_y]
step_pin: PC1
dir_pin: !PL0
enable_pin: !PA6
microsteps: 16
rotation_distance: 40
endstop_pin: ^PB5
#endstop_pin: ^PA1
position_endstop: 0
position_max: 260
homing_speed: 50
[stepper_z]
step_pin: PC2
dir_pin: !PL2
enable_pin: !PA5
microsteps: 16
#rotation_distance: 4 # MTW 2 start
rotation_distance: 8 # 4 start Amazon
endstop_pin: probe:z_virtual_endstop
#endstop_pin: ^PC7
#position_endstop: 0.5
position_max: 300
position_min: -.5
[stepper_z1] # Rambo Board Port E1
step_pin: E1STEP
dir_pin: !E1DIR
enable_pin: !E1EN
#rotation_distance: 4 # MTW 2 start
rotation_distance: 8 # 4 start Amazon
microsteps: 16
[extruder]
step_pin: PC3
dir_pin: PL6
enable_pin: !PA4
microsteps: 16
#rotation_distance: 6.8110
rotation_distance: 7.169
nozzle_diameter: 0.400
pressure_advance : .4
filament_diameter: 3.0
heater_pin: PH6
sensor_type: ATC Semitec 104GT-2
sensor_pin: PF0
control: pid
pid_Kp: 19.831
pid_Ki: 0.994
pid_Kd: 98.906
min_temp: 0
max_temp: 275
max_extrude_only_distance: 105
max_extrude_cross_section: 300.0
[heater_bed]
heater_pin: PE5
sensor_type: NTC 100K beta 3950
sensor_pin: PF2
#control: watermark
min_temp: 0
max_temp: 130
# [z_tilt]
# Z_positions: 277,72
# -72,72
# points: 10,72
# 185,72
# speed: 50
# retries: 2
# retry_tolerance: 2
# [bed_mesh]
# speed: 50
# horizontal_move_z: 10
# mesh_min: 40,3
# mesh_max: 220,250
# probe_count: 5,7
# # Added
# fade_start: 1.0
# fade_end: 0.0
# split_delta_z: .025
# move_check_distance: 5.0
# mesh_pps: 2,2
# algorithm: bicubic
# bicubic_tension: .2
# [bltouch]
# sensor_pin: PB4
# control_pin: PL5
# x_offset: 40
# y_offset: 3
# # Z Offset: Positive number, lower number raises the nozzle
# z_offset = 1.3
# speed: 2.0
# samples: 3
[safe_z_home]
home_xy_position: 125,150
z_hop: 10
z_hop_speed: 5
[fan]
pin: PH5
[heater_fan nozzle_cooling_fan]
pin: PH3
[mcu]
serial: /dev/serial/by-id/usb-UltiMachine__ultimachine.com__RAMBo_64036363638351209280-if00
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 500
max_z_velocity: 5
max_z_accel: 100
[ad5206 stepper_digipot]
enable_pin: PD7
scale: 2.08
# Channel 1 is E0, 2 is E1, 3 is unused, 4 is Z, 5 is X, 6 is Y
channel_1: 1.34
channel_2: 1.0
channel_4: 1.1
channel_5: 1.1
channel_6: 1.4
# Enable 16 micro-steps on steppers X, Y, Z, E0, E1
[static_digital_output stepper_config]
pins:
PG1, PG0,
PK7, PG2,
PK6, PK5,
PK3, PK4,
PK1, PK2
[static_digital_output yellow_led]
pins: !PB7
[display]
lcd_type: st7920
cs_pin: EXP1_4
sclk_pin: EXP1_5
sid_pin: EXP1_3
encoder_pins: ^EXP2_3, ^EXP2_5
click_pin: ^!EXP1_2
#kill_pin: ^!EXP2_8
# Common EXP1 / EXP2 (display) pins
[board_pins]
aliases:
# Common EXP1/EXP2 headers found on RAMBo v1.4
EXP1_1=PE6, EXP1_3=PG3, EXP1_5=PJ2, EXP1_7=PJ7, EXP1_9=<GND>,
EXP1_2=PE2, EXP1_4=PG4, EXP1_6=PJ3, EXP1_8=PJ4, EXP1_10=<5V>,
# EXP2 header
EXP2_1=PB3, EXP2_3=PJ5, EXP2_5=PJ6, EXP2_7=PD4, EXP2_9=<GND>,
EXP2_2=PB1, EXP2_4=PB0, EXP2_6=PB2, EXP2_8=PE7, EXP2_10=PH2
# Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "spi"
XSTEP=PC0, XDIR=PL1, XEN=PA7, XSTOP=PB6,
YSTEP=PC1, YDIR=PL0, YEN=PA6, YSTOP=PB5,
ZSTEP=PC2, ZDIR=PL2, ZEN=PA5, ZSTOP=PB4,
#Extruder
ESTEP=PC3, EDIR=PL6, EEN=PA4, EHEAT=PH6, ETHERM=PF0,
E1STEP=PC4, E1DIR=PL7, E1EN=PA3, E1HEAT=PH4, E1THERM=PF1,
#Heated Bed
BEDHEAT=PE5,
BEDTHERM=PF2,
#fans
FAN0=PH5,
FAN1=PH3,
FAN2=PE4,
#bltouch
BLTSEN= PB4,
BLTCTL= PL5
# See the sample-lcd.cfg file for definitions of common LCD displays.