forked from Klipper3d/klipper
-
Notifications
You must be signed in to change notification settings - Fork 1
/
kBot Single Extruer
196 lines (175 loc) · 3.65 KB
/
kBot Single Extruer
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
# This file contains common pin mappings for Einsy Rambo boards. To use
# this config, the firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
[stepper_x]
step_pin: PC0
dir_pin: PL0
enable_pin: !PA7
step_distance: 0.00625
endstop_pin: tmc2130_stepper_x:virtual_endstop
position_endstop: 0
position_max: 171
homing_speed: 50.0
homing_retract_dist: 0
homing_positive_dir: false
[tmc2130 stepper_x]
cs_pin: PG0
microsteps: 32
run_current: .9
sense_resistor: 0.220
diag1_pin: !PK2
driver_SGT: 9
interpolate: true
[stepper_y]
step_pin: PC1
dir_pin: PL1
enable_pin: !PA6
step_distance: 0.00625
endstop_pin: tmc2130_stepper_y:virtual_endstop
position_endstop: 220
position_max: 220
position_min: 0
homing_speed: 50.0
homing_retract_dist: 0
homing_positive_dir: true
[tmc2130 stepper_y]
cs_pin: PG2
microsteps: 32
run_current: .9
hold_current: .5
sense_resistor: 0.220
diag1_pin: !PK7
driver_SGT: 8
[stepper_z]
step_pin: PC2
dir_pin: PL2
enable_pin: !PA5
step_distance: .0025
endstop_pin: probe:z_virtual_endstop
position_max: 190
homing_positive_dir: false
homing_speed: 8
[homing_override]
set_position_z: 0
axes: z
gcode:
G90 ; Uncomment these 2 lines to blindly lift the Z 2mm at start
G1 Z2 F600
G28 X0 Y0
G1 X100 Y100 F3600
G28 Z0
[probe]
x_offset: 20
z_offset: 1.93
pin: ^PB4
speed: 10
[bed_mesh]
#horizontal_move_z: 1
samples: 2
sample_retract_dist: 4
min_point: 0,20
max_point: 130,175
probe_count: 4,4
bicubic_tension: .2
mesh_pps: 2,2
algorithm: bicubic
[gcode_macro G29]
gcode:
BED_MESH_CALIBRATE
[tmc2130 stepper_z]
cs_pin: PK5
microsteps: 16
run_current: .9
sense_resistor: 0.220
diag1_pin: !PK6
interpolate: true
[extruder]
step_pin: PC3
dir_pin: PL6
enable_pin: !PA4
step_distance: 0.007781
nozzle_diameter: 0.500
filament_diameter: 1.750
pressure_advance: 0.025
pressure_advance_lookahead_time: 0.010
heater_pin: PE5
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PF0
#control = pid
#pid_kp = 29.852
#pid_ki = 2.843
#pid_kd = 78.361
min_extrude_temp: 165
min_temp: 0
max_temp: 275
[verify_heater extruder]
heating_gain: 2
check_gain_time:25
hysteresis: 5
max_error: 140
[idle_timeout]
gcode: M84
timeout: 600
[tmc2130 extruder]
cs_pin: PK4
microsteps: 16
run_current: .9
sense_resistor: 0.220
diag1_pin: !PK3
interpolate: true
[heater_bed]
heater_pin: PG5
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PF2
control: watermark
min_temp: 0
max_temp: 110
[heater_fan my_nozzle_fan]
pin: PH3
heater: extruder
heater_temp: 50.0
fan_speed: 1.0
[fan]
pin: PH5
[mcu]
serial: /dev/ttyACM0
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 2500
max_z_velocity: 10
max_z_accel: 100
square_corner_velocity: 5.0
[endstop_phase stepper_z]
endstop_align_zero: False
#[display]
#lcd_type:hd44780
[static_digital_output yellow_led]
pins: !PB7
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [bed_mesh default]
#*# points =
#*# 0.088750, 0.047500, -0.007500, -0.076250
#*# 0.063750, -0.010000, -0.018750, 0.003750
#*# -0.013750, -0.085000, -0.101250, -0.082500
#*# -0.016250, -0.140000, -0.167500, -0.160000
#*# x_count = 4
#*# y_count = 4
#*# min_x = 0.0
#*# max_x = 129.99
#*# min_y = 20.0
#*# max_y = 174.98
#*# x_offset = 20.0
#*# y_offset = 0.0
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = bicubic
#*# tension = 0.2
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 29.852
#*# pid_ki = 2.843
#*# pid_kd = 78.361