Browse Source

am8 stuff

Thomas Buck 1 year ago
parent
commit
4b6d3e2ebf

+ 7
- 4
am8/cable_tie.scad View File

@@ -41,8 +41,11 @@ module x_tie() {
41 41
         union() {
42 42
             cube([width, height, wall]);
43 43
             
44
-            translate([5 + 1, 20 - 1, wall])
45
-            rotate([0, 0, -45])
44
+            translate([5.5, 20 - 0.5, wall])
45
+            rotate([0, 0, -35])
46
+            cable();
47
+            
48
+            translate([22.5, 20 - 3, wall])
46 49
             cable();
47 50
         }
48 51
         
@@ -100,8 +103,8 @@ module rail_assembly() {
100 103
     rail_tie(1);
101 104
 }
102 105
 
103
-rail_assembly();
106
+//rail_assembly();
104 107
 
105
-//x_tie();
108
+x_tie();
106 109
 //rail_tie(0);
107 110
 //rail_tie(1);

BIN
am8/cable_tie_x.stl View File


+ 71
- 0
am8/probe_mount.scad View File

@@ -0,0 +1,71 @@
1
+$fn = 42;
2
+
3
+w = 3.0;
4
+mount_dia = 3.6;
5
+
6
+z_offset_from_original = 2.0;
7
+
8
+module carriage_mount() {
9
+    //import("/home/thomas/3D Printing/core-xz-anet-am8-conversion-model_files/X-carriege/bl_touch_mount.stl");
10
+    
11
+    difference() {
12
+        translate([-4, -11.5, 0])
13
+        cube([8, 15.5, w]);
14
+        
15
+        for (y = [0, 8])
16
+        translate([0, -y, -1])
17
+        cylinder(d = mount_dia, h = w + 2);
18
+    }
19
+}
20
+
21
+module probe_mount() {
22
+    //%translate([11, 18.1, 14])
23
+    //rotate([90, 0, 0])
24
+    //import("/home/thomas/3D Printing/core-xz-anet-am8-conversion-model_files/X-carriege/bl_touch_mount.stl");
25
+    
26
+    difference() {
27
+        union() {
28
+            hull() {
29
+                translate([-5.75, -3, 0])
30
+                cube([11.5, 6, 5]);
31
+                
32
+                for (y = [-1, 1])
33
+                translate([0, 9 * y, 0])
34
+                cylinder(d = 8, h = 5);
35
+            }
36
+        
37
+            hull() {
38
+                translate([0, 9, 0])
39
+                cylinder(d = 8, h = 5);
40
+                
41
+                translate([-3, 12, 0])
42
+                cube([9, 2, 5]);
43
+            }
44
+        
45
+            hull() {
46
+                translate([-3, 14, 0])
47
+                cube([9, 1, 5]);
48
+                
49
+                translate([6, 15.1, 0.5])
50
+                cube([1, 3, 15.5]);
51
+            }
52
+        }
53
+        
54
+        translate([0, 0, -1])
55
+        cylinder(d = 5.0, h = 5.0 + 2);
56
+        
57
+        for (y = [-1, 1])
58
+        translate([0, 9.0 * y, -1])
59
+        cylinder(d = 3.3, h = 5.0 + 2);
60
+    }
61
+}
62
+
63
+module mount() {
64
+    probe_mount();
65
+    
66
+    translate([11, 18.1, 14 - z_offset_from_original])
67
+    rotate([90, 0, 0])
68
+    carriage_mount();
69
+}
70
+
71
+mount();

BIN
am8/probe_mount.stl View File


SlicingProfiles/OctoPrint/cura_ctc_i3_pro_b.profile → configs/CTC-i3-Pro-B/octoprint_cura_ctc_i3_pro_b.profile View File


SlicingProfiles/OctoPrint/i3_flex.profile → configs/CTC-i3-Pro-B/octoprint_i3_flex.profile View File


SlicingProfiles/Slic3r/slic3r-ctc-i3-flexismart.ini → configs/CTC-i3-Pro-B/slic3r-ctc-i3-flexismart.ini View File


SlicingProfiles/Slic3r/slic3r-ctc-i3-pla.ini → configs/CTC-i3-Pro-B/slic3r-ctc-i3-pla.ini View File


SlicingProfiles/Cura_old/Cura_Fabrikator_Mini.ini → configs/Fabrikator-Mini/Cura_Fabrikator_Mini.ini View File


+ 391
- 0
configs/i3-AM8/PrusaSlicer_config_bundle.ini View File

@@ -0,0 +1,391 @@
1
+# generated by PrusaSlicer 2.6.0 on 2023-08-31 at 15:11:37 UTC
2
+
3
+[print:i3 AM8]
4
+avoid_crossing_curled_overhangs = 0
5
+avoid_crossing_perimeters = 1
6
+avoid_crossing_perimeters_max_detour = 0
7
+bottom_fill_pattern = monotonic
8
+bottom_solid_layers = 4
9
+bottom_solid_min_thickness = 0
10
+bridge_acceleration = 0
11
+bridge_angle = 0
12
+bridge_flow_ratio = 1
13
+bridge_speed = 120
14
+brim_separation = 0
15
+brim_type = outer_only
16
+brim_width = 0
17
+compatible_printers = 
18
+compatible_printers_condition = 
19
+complete_objects = 0
20
+default_acceleration = 0
21
+dont_support_bridges = 1
22
+draft_shield = disabled
23
+elefant_foot_compensation = 0
24
+enable_dynamic_overhang_speeds = 0
25
+external_perimeter_acceleration = 0
26
+external_perimeter_extrusion_width = 0.45
27
+external_perimeter_speed = 60%
28
+external_perimeters_first = 0
29
+extra_perimeters = 1
30
+extra_perimeters_on_overhangs = 0
31
+extruder_clearance_height = 20
32
+extruder_clearance_radius = 20
33
+extrusion_width = 0.45
34
+fill_angle = 45
35
+fill_density = 20%
36
+fill_pattern = honeycomb
37
+first_layer_acceleration = 0
38
+first_layer_acceleration_over_raft = 0
39
+first_layer_extrusion_width = 0.42
40
+first_layer_height = 0.2
41
+first_layer_speed = 50%
42
+first_layer_speed_over_raft = 30
43
+fuzzy_skin = none
44
+fuzzy_skin_point_dist = 0.8
45
+fuzzy_skin_thickness = 0.3
46
+gap_fill_enabled = 1
47
+gap_fill_speed = 30
48
+gcode_comments = 0
49
+gcode_label_objects = 1
50
+gcode_resolution = 0.0125
51
+gcode_substitutions = 
52
+infill_acceleration = 0
53
+infill_anchor = 600%
54
+infill_anchor_max = 50
55
+infill_every_layers = 1
56
+infill_extruder = 1
57
+infill_extrusion_width = 0.45
58
+infill_first = 0
59
+infill_overlap = 25%
60
+infill_speed = 100
61
+inherits = 
62
+interface_shells = 0
63
+ironing = 0
64
+ironing_flowrate = 15%
65
+ironing_spacing = 0.1
66
+ironing_speed = 15
67
+ironing_type = top
68
+layer_height = 0.3
69
+max_print_speed = 130
70
+max_volumetric_extrusion_rate_slope_negative = 0
71
+max_volumetric_extrusion_rate_slope_positive = 0
72
+max_volumetric_speed = 0
73
+min_bead_width = 85%
74
+min_feature_size = 25%
75
+min_skirt_length = 20
76
+mmu_segmented_region_max_width = 0
77
+notes = 
78
+only_retract_when_crossing_perimeters = 0
79
+ooze_prevention = 0
80
+output_filename_format = [input_filename_base].gcode
81
+overhang_speed_0 = 15
82
+overhang_speed_1 = 15
83
+overhang_speed_2 = 20
84
+overhang_speed_3 = 25
85
+overhangs = 1
86
+perimeter_acceleration = 0
87
+perimeter_extruder = 1
88
+perimeter_extrusion_width = 0.45
89
+perimeter_generator = arachne
90
+perimeter_speed = 100
91
+perimeters = 4
92
+post_process = 
93
+print_settings_id = 
94
+raft_contact_distance = 0.1
95
+raft_expansion = 1.5
96
+raft_first_layer_density = 90%
97
+raft_first_layer_expansion = 3
98
+raft_layers = 0
99
+resolution = 0
100
+seam_position = aligned
101
+single_extruder_multi_material_priming = 1
102
+skirt_distance = 6
103
+skirt_height = 1
104
+skirts = 3
105
+slice_closing_radius = 0.049
106
+slicing_mode = regular
107
+small_perimeter_speed = 80%
108
+solid_infill_acceleration = 0
109
+solid_infill_below_area = 70
110
+solid_infill_every_layers = 0
111
+solid_infill_extruder = 1
112
+solid_infill_extrusion_width = 0.45
113
+solid_infill_speed = 75%
114
+spiral_vase = 0
115
+staggered_inner_seams = 0
116
+standby_temperature_delta = -5
117
+support_material = 0
118
+support_material_angle = 0
119
+support_material_auto = 1
120
+support_material_bottom_contact_distance = 0
121
+support_material_bottom_interface_layers = -1
122
+support_material_buildplate_only = 1
123
+support_material_closing_radius = 2
124
+support_material_contact_distance = 0.2
125
+support_material_enforce_layers = 0
126
+support_material_extruder = 1
127
+support_material_extrusion_width = 0.35
128
+support_material_interface_contact_loops = 0
129
+support_material_interface_extruder = 1
130
+support_material_interface_layers = 3
131
+support_material_interface_pattern = rectilinear
132
+support_material_interface_spacing = 0
133
+support_material_interface_speed = 100%
134
+support_material_pattern = rectilinear
135
+support_material_spacing = 2.5
136
+support_material_speed = 80
137
+support_material_style = organic
138
+support_material_synchronize_layers = 0
139
+support_material_threshold = 0
140
+support_material_with_sheath = 1
141
+support_material_xy_spacing = 50%
142
+support_tree_angle = 40
143
+support_tree_angle_slow = 25
144
+support_tree_branch_diameter = 2
145
+support_tree_branch_diameter_angle = 5
146
+support_tree_branch_diameter_double_wall = 3
147
+support_tree_branch_distance = 1
148
+support_tree_tip_diameter = 0.8
149
+support_tree_top_rate = 15%
150
+thick_bridges = 1
151
+thin_walls = 1
152
+threads = 8
153
+top_fill_pattern = monotonic
154
+top_infill_extrusion_width = 0.4
155
+top_solid_infill_acceleration = 0
156
+top_solid_infill_speed = 75%
157
+top_solid_layers = 4
158
+top_solid_min_thickness = 0
159
+travel_acceleration = 0
160
+travel_speed = 130
161
+travel_speed_z = 0
162
+wall_distribution_count = 1
163
+wall_transition_angle = 10
164
+wall_transition_filter_deviation = 25%
165
+wall_transition_length = 100%
166
+wipe_tower = 0
167
+wipe_tower_bridging = 10
168
+wipe_tower_brim_width = 2
169
+wipe_tower_cone_angle = 0
170
+wipe_tower_extra_spacing = 100%
171
+wipe_tower_extruder = 0
172
+wipe_tower_no_sparse_layers = 0
173
+wipe_tower_rotation_angle = 0
174
+wipe_tower_width = 60
175
+wipe_tower_x = 180
176
+wipe_tower_y = 140
177
+xy_size_compensation = 0
178
+
179
+[filament:i3 AM8 PETG]
180
+bed_temperature = 60
181
+bridge_fan_speed = 100
182
+compatible_printers = 
183
+compatible_printers_condition = 
184
+compatible_prints = 
185
+compatible_prints_condition = 
186
+cooling = 1
187
+disable_fan_first_layers = 3
188
+enable_dynamic_fan_speeds = 0
189
+end_filament_gcode = "; Filament-specific end gcode \n;END gcode for filament\n"
190
+extrusion_multiplier = 1
191
+fan_always_on = 0
192
+fan_below_layer_time = 60
193
+filament_colour = #29B2B2
194
+filament_cooling_final_speed = 3.4
195
+filament_cooling_initial_speed = 2.2
196
+filament_cooling_moves = 4
197
+filament_cost = 20
198
+filament_density = 1.27
199
+filament_deretract_speed = nil
200
+filament_diameter = 1.75
201
+filament_load_time = 0
202
+filament_loading_speed = 28
203
+filament_loading_speed_start = 3
204
+filament_max_volumetric_speed = 0
205
+filament_minimal_purge_on_wipe_tower = 15
206
+filament_notes = ""
207
+filament_ramming_parameters = "120 100 6.6 6.8 7.2 7.6 7.9 8.2 8.7 9.4 9.9 10.0| 0.05 6.6 0.45 6.8 0.95 7.8 1.45 8.3 1.95 9.7 2.45 10 2.95 7.6 3.45 7.6 3.95 7.6 4.45 7.6 4.95 7.6"
208
+filament_retract_before_travel = nil
209
+filament_retract_before_wipe = nil
210
+filament_retract_layer_change = nil
211
+filament_retract_length = nil
212
+filament_retract_lift = nil
213
+filament_retract_lift_above = nil
214
+filament_retract_lift_below = nil
215
+filament_retract_restart_extra = nil
216
+filament_retract_speed = nil
217
+filament_settings_id = ""
218
+filament_soluble = 0
219
+filament_spool_weight = 0
220
+filament_toolchange_delay = 0
221
+filament_type = PET
222
+filament_unload_time = 0
223
+filament_unloading_speed = 90
224
+filament_unloading_speed_start = 100
225
+filament_vendor = (Unknown)
226
+filament_wipe = nil
227
+first_layer_bed_temperature = 60
228
+first_layer_temperature = 230
229
+full_fan_speed_layer = 0
230
+idle_temperature = nil
231
+inherits = 
232
+max_fan_speed = 100
233
+min_fan_speed = 35
234
+min_print_speed = 10
235
+overhang_fan_speed_0 = 0
236
+overhang_fan_speed_1 = 0
237
+overhang_fan_speed_2 = 0
238
+overhang_fan_speed_3 = 0
239
+slowdown_below_layer_time = 5
240
+start_filament_gcode = "; Filament gcode\n"
241
+temperature = 230
242
+
243
+[filament:i3 AM8 PLA]
244
+bed_temperature = 60
245
+bridge_fan_speed = 100
246
+compatible_printers = 
247
+compatible_printers_condition = 
248
+compatible_prints = 
249
+compatible_prints_condition = 
250
+cooling = 1
251
+disable_fan_first_layers = 3
252
+enable_dynamic_fan_speeds = 0
253
+end_filament_gcode = "; Filament-specific end gcode \n;END gcode for filament\n"
254
+extrusion_multiplier = 1
255
+fan_always_on = 0
256
+fan_below_layer_time = 60
257
+filament_colour = #29B2B2
258
+filament_cooling_final_speed = 3.4
259
+filament_cooling_initial_speed = 2.2
260
+filament_cooling_moves = 4
261
+filament_cost = 20
262
+filament_density = 1.24
263
+filament_deretract_speed = nil
264
+filament_diameter = 1.75
265
+filament_load_time = 0
266
+filament_loading_speed = 28
267
+filament_loading_speed_start = 3
268
+filament_max_volumetric_speed = 0
269
+filament_minimal_purge_on_wipe_tower = 15
270
+filament_notes = ""
271
+filament_ramming_parameters = "120 100 6.6 6.8 7.2 7.6 7.9 8.2 8.7 9.4 9.9 10.0| 0.05 6.6 0.45 6.8 0.95 7.8 1.45 8.3 1.95 9.7 2.45 10 2.95 7.6 3.45 7.6 3.95 7.6 4.45 7.6 4.95 7.6"
272
+filament_retract_before_travel = nil
273
+filament_retract_before_wipe = nil
274
+filament_retract_layer_change = nil
275
+filament_retract_length = nil
276
+filament_retract_lift = nil
277
+filament_retract_lift_above = nil
278
+filament_retract_lift_below = nil
279
+filament_retract_restart_extra = nil
280
+filament_retract_speed = nil
281
+filament_settings_id = ""
282
+filament_soluble = 0
283
+filament_spool_weight = 0
284
+filament_toolchange_delay = 0
285
+filament_type = PLA
286
+filament_unload_time = 0
287
+filament_unloading_speed = 90
288
+filament_unloading_speed_start = 100
289
+filament_vendor = (Unknown)
290
+filament_wipe = nil
291
+first_layer_bed_temperature = 60
292
+first_layer_temperature = 210
293
+full_fan_speed_layer = 0
294
+idle_temperature = nil
295
+inherits = 
296
+max_fan_speed = 100
297
+min_fan_speed = 35
298
+min_print_speed = 10
299
+overhang_fan_speed_0 = 0
300
+overhang_fan_speed_1 = 0
301
+overhang_fan_speed_2 = 0
302
+overhang_fan_speed_3 = 0
303
+slowdown_below_layer_time = 5
304
+start_filament_gcode = "; Filament gcode\n"
305
+temperature = 210
306
+
307
+[printer:i3 AM8]
308
+autoemit_temperature_commands = 1
309
+bed_custom_model = 
310
+bed_custom_texture = 
311
+bed_shape = 0x0,220x0,220x210,0x210
312
+before_layer_gcode = 
313
+between_objects_gcode = 
314
+color_change_gcode = M600
315
+cooling_tube_length = 5
316
+cooling_tube_retraction = 91.5
317
+default_filament_profile = 
318
+default_print_profile = 
319
+deretract_speed = 0
320
+end_gcode = M104 S0 ; turn off temperature\nM140 S0 ; turn off bed\n\nG91 ; relative positioning\nG1 E-4.0 F40 ; retract some filament\nG1 Z+2.0 E-6.0 F{travel_speed * 60} ; move z up and retract more\n\nG90 ; absolute positioning\nG0 X-5 Y200 ; move out of the way\nM84 ; disable motors\nM117 Finished!\n\n; total layers count = [total_layer_count]
321
+extra_loading_move = -2
322
+extruder_colour = ""
323
+extruder_offset = 0x0
324
+gcode_flavor = reprap
325
+high_current_on_filament_swap = 0
326
+host_type = octoprint
327
+inherits = 
328
+layer_gcode = SET_PRINT_STATS_INFO CURRENT_LAYER={layer_num + 1}
329
+machine_limits_usage = time_estimate_only
330
+machine_max_acceleration_e = 10000,5000
331
+machine_max_acceleration_extruding = 1500,1250
332
+machine_max_acceleration_retracting = 1500,1250
333
+machine_max_acceleration_travel = 1500,1250
334
+machine_max_acceleration_x = 2000,1000
335
+machine_max_acceleration_y = 2000,1000
336
+machine_max_acceleration_z = 500,200
337
+machine_max_feedrate_e = 120,120
338
+machine_max_feedrate_x = 175,100
339
+machine_max_feedrate_y = 175,100
340
+machine_max_feedrate_z = 175,100
341
+machine_max_jerk_e = 2.5,2.5
342
+machine_max_jerk_x = 10,10
343
+machine_max_jerk_y = 10,10
344
+machine_max_jerk_z = 0.2,0.4
345
+machine_min_extruding_rate = 0,0
346
+machine_min_travel_rate = 0,0
347
+max_layer_height = 0
348
+max_print_height = 275
349
+min_layer_height = 0.07
350
+nozzle_diameter = 0.4
351
+parking_pos_retraction = 92
352
+pause_print_gcode = M601
353
+print_host = 
354
+printer_model = 
355
+printer_notes = 
356
+printer_settings_id = 
357
+printer_technology = FFF
358
+printer_variant = 
359
+printer_vendor = 
360
+printhost_apikey = 
361
+printhost_cafile = 
362
+remaining_times = 0
363
+retract_before_travel = 2
364
+retract_before_wipe = 0%
365
+retract_layer_change = 0
366
+retract_length = 2
367
+retract_length_toolchange = 10
368
+retract_lift = 0
369
+retract_lift_above = 0
370
+retract_lift_below = 0
371
+retract_restart_extra = 0
372
+retract_restart_extra_toolchange = 0
373
+retract_speed = 40
374
+silent_mode = 1
375
+single_extruder_multi_material = 0
376
+start_gcode = SET_PRINT_STATS_INFO TOTAL_LAYER=[total_layer_count]\n\n; Pre-Heat Bed\n;M140 S35 ; start heating bed\n;M140 S[first_layer_bed_temperature] ; start heating bed\n\n; Initial Settings\nG21 ; metric\nG90 ; absolute positioning\nM82 ; extruder absolute\nM107 ; fan off\n\n; Homing\n;G28 ; home all axes\n;G0 Z25 F{travel_speed * 60} ; lift nozzle\n;G0 X-5 Y0 F{travel_speed * 60} ; move to xy origin\n\n; Bed Leveling\nG29 ; perform auto bed leveling\nG0 Z25 F{travel_speed * 60} ; lift nozzle\nG0 X-5 Y0 F{travel_speed * 60} ; move to xy origin\n\n; Heating Extruder and Bed\n;M190 S35 ; wait for heating bed\nM140 S[first_layer_bed_temperature] ; start heating bed\nM104 S[first_layer_temperature] ; start heating extruder\nM190 S[first_layer_bed_temperature] ; wait for heating bed\nM109 S[first_layer_temperature] ; wait for heating extruder\n\n; Priming Line\n;G0 Z0.5 F{travel_speed * 60} ; move down nozzle\n;G0 X5 Y3 F{travel_speed * 60} ; move to start of line\n;G0 Z0.1 F{travel_speed * 60} ; move z down\n;G92 E0 ; zero extruder\n;G1 X60 E12.5 F600 ; start purge line\n;G1 X100 E15.0 F600 ; finish purge line\n;G1 X120 E12.5 F600 ; retract\nG92 E0 ; zero extruder\n;G0 Z5 F{travel_speed * 60} ; lift nozzle\n;G0 X100 Y100 ; move to center\nM117 Printing...\n
377
+template_custom_gcode = 
378
+thumbnails = 32x32,400x300
379
+thumbnails_format = PNG
380
+toolchange_gcode = 
381
+use_firmware_retraction = 0
382
+use_relative_e_distances = 0
383
+use_volumetric_e = 0
384
+variable_layer_height = 1
385
+wipe = 0
386
+z_offset = 0
387
+
388
+[presets]
389
+print = i3 AM8
390
+printer = i3 AM8
391
+filament = i3 AM8 PLA

+ 52
- 0
configs/i3-AM8/moonraker.conf View File

@@ -0,0 +1,52 @@
1
+[server]
2
+host: 0.0.0.0
3
+port: 7125
4
+# Verbose logging used for debugging . Default False.
5
+enable_debug_logging: False
6
+# The maximum size allowed for a file upload (in MiB).  Default 1024 MiB
7
+max_upload_size: 1024
8
+
9
+[file_manager]
10
+config_path: ~/klipper_config
11
+log_path: ~/klipper_logs
12
+enable_object_processing: True
13
+queue_gcode_uploads: True
14
+
15
+# https://moonraker.readthedocs.io/en/latest/configuration/#power-on-g-code-uploads
16
+
17
+[job_queue]
18
+load_on_startup: True
19
+
20
+[power printer]
21
+type: gpio
22
+pin: gpiochip0/gpio4
23
+off_when_shutdown: True
24
+off_when_shutdown_delay: 2
25
+on_when_job_queued: True
26
+locked_while_printing: True
27
+restart_klipper_when_powered: True
28
+restart_delay: 1
29
+initial_state: off
30
+
31
+# enables partial support of Octoprint API
32
+[octoprint_compat]
33
+
34
+# enables moonraker to track and store print history.
35
+[history]
36
+
37
+# this enables moonraker's update manager
38
+[update_manager]
39
+refresh_interval: 168
40
+
41
+[update_manager mainsail]
42
+type: web
43
+repo: mainsail-crew/mainsail
44
+path: ~/mainsail
45
+
46
+[update_manager client moonraker-telegram-bot]
47
+type: git_repo
48
+path: ~/moonraker-telegram-bot
49
+origin: https://github.com/nlef/moonraker-telegram-bot.git
50
+env: ~/moonraker-telegram-bot-env/bin/python
51
+requirements: scripts/requirements.txt
52
+install_script: scripts/install.sh

+ 291
- 0
configs/i3-AM8/printer.cfg View File

@@ -0,0 +1,291 @@
1
+[include mainsail.cfg]
2
+
3
+##########################################
4
+################# System #################
5
+##########################################
6
+
7
+[printer]
8
+kinematics: corexz
9
+max_velocity: 200
10
+max_accel: 2000
11
+max_accel_to_decel: 2000
12
+max_z_velocity: 200
13
+max_z_accel: 500
14
+
15
+[board_pins]
16
+aliases:
17
+    # EXP1 header
18
+    EXP1_1=PB5,   EXP1_3=PA9,   EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
19
+    EXP1_2=PA15,  EXP1_4=<RST>, EXP1_6=PB9,  EXP1_8=PD6, EXP1_10=<5V>,
20
+    # I/O header
21
+    IO_1=PD0, IO_2=PD2, IO_3=PD3, IO_4=PD4, IO_5=PD5,
22
+    # PWR-DET header
23
+    PWR_DET=PC12,
24
+    # Unused pin
25
+    UNUSED=PA6
26
+
27
+[mcu]
28
+#serial: /dev/ttyAMA0
29
+serial: /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A100OZQ1-if00-port0
30
+restart_method: command
31
+
32
+[temperature_sensor microcontroller]
33
+sensor_type: temperature_mcu
34
+min_temp: 0
35
+max_temp: 90
36
+gcode_id: mcu
37
+
38
+[temperature_sensor raspberry_pi]
39
+sensor_type: temperature_host
40
+min_temp: 0
41
+max_temp: 90
42
+gcode_id: pi
43
+
44
+##########################################
45
+################# Motors #################
46
+##########################################
47
+
48
+# The stepper_x section is used to describe the X axis as well as the
49
+# stepper controlling the X+Z movement.
50
+[stepper_x]
51
+step_pin: PB13
52
+dir_pin: !PB12
53
+enable_pin: !PB14
54
+microsteps: 16 # set by driver
55
+full_steps_per_rotation: 200 # motor specific
56
+gear_ratio: 36:20 # CoreXZ gearbox
57
+rotation_distance: 40 # 20 teeth * 2mm belt
58
+endstop_pin: ^!PC0
59
+position_endstop: -7.0
60
+position_min: -7.0
61
+position_max: 228.0
62
+homing_speed: 40
63
+second_homing_speed: 10
64
+
65
+# The stepper_y section is used to describe the stepper controlling
66
+# the Y axis.
67
+[stepper_y]
68
+step_pin: PB10
69
+dir_pin: PB2
70
+enable_pin: !PB11
71
+microsteps: 16 # set by driver
72
+full_steps_per_rotation: 200 # motor specific
73
+gear_ratio: 1:1 # driven directly
74
+rotation_distance: 40 # 20 teeth * 2mm belt
75
+endstop_pin: ^!PC1
76
+position_endstop: 0.0
77
+position_min: 0.0
78
+position_max: 210.0
79
+homing_speed: 40
80
+second_homing_speed: 10
81
+
82
+# The stepper_z section is used to describe the Z axis as well as the
83
+# stepper controlling the X-Z movement.
84
+[stepper_z]
85
+step_pin: PB0
86
+dir_pin: !PC5
87
+enable_pin: !PB1
88
+microsteps: 16 # set by driver
89
+full_steps_per_rotation: 200 # motor specific
90
+gear_ratio: 36:20 # CoreXZ gearbox
91
+rotation_distance: 40 # 20 teeth * 2mm belt
92
+endstop_pin: ^!PC2
93
+position_endstop: 0.200
94
+position_min: 0.0
95
+position_max: 275.0
96
+homing_speed: 40
97
+second_homing_speed: 10
98
+
99
+[extruder]
100
+step_pin: PB3
101
+dir_pin: !PB4
102
+enable_pin: !PD1
103
+rotation_distance: 22.67895
104
+gear_ratio: 50:8
105
+microsteps: 16
106
+full_steps_per_rotation: 200
107
+nozzle_diameter: 0.400
108
+filament_diameter: 1.750
109
+heater_pin: PC8
110
+sensor_type: ATC Semitec 104GT-2
111
+sensor_pin: PA0
112
+control: pid
113
+pid_Kp: 23.441
114
+pid_Ki: 0.919
115
+pid_Kd: 149.435
116
+min_temp: 0
117
+max_temp: 250
118
+max_extrude_only_distance: 1400.0
119
+max_extrude_only_velocity: 75.0
120
+max_extrude_only_accel: 1500
121
+
122
+[heater_bed]
123
+heater_pin: PC9
124
+sensor_type: EPCOS 100K B57560G104F
125
+sensor_pin: PC4
126
+control: pid
127
+pid_Kp: 43.878
128
+pid_Ki: 0.255
129
+pid_Kd: 1888.933
130
+min_temp: 0
131
+max_temp: 130
132
+
133
+###########################################
134
+################# TMC2209 #################
135
+###########################################
136
+
137
+[tmc2209 stepper_x]
138
+uart_pin: PC11
139
+tx_pin: PC10
140
+uart_address: 0
141
+stealthchop_threshold: 999999
142
+run_current: 0.6
143
+
144
+[tmc2209 stepper_y]
145
+uart_pin: PC11
146
+tx_pin: PC10
147
+uart_address: 2
148
+stealthchop_threshold: 999999
149
+run_current: 0.6
150
+
151
+[tmc2209 stepper_z]
152
+uart_pin: PC11
153
+tx_pin: PC10
154
+uart_address: 1
155
+stealthchop_threshold: 999999
156
+run_current: 0.6
157
+
158
+[tmc2209 extruder]
159
+uart_pin: PC11
160
+tx_pin: PC10
161
+uart_address: 3
162
+stealthchop_threshold: 999999
163
+run_current: 0.5
164
+
165
+###########################################
166
+############### Accessories ###############
167
+###########################################
168
+
169
+[heater_fan nozzle_cooling_fan]
170
+pin: PC6 # fan 0
171
+
172
+[fan]
173
+pin: PC7 # fan 1
174
+
175
+[controller_fan controller_fan]
176
+pin: PB15 # fan 2
177
+
178
+############################################
179
+############### Bed Leveling ###############
180
+############################################
181
+
182
+[bltouch]
183
+sensor_pin: ^PC14
184
+control_pin: PA1
185
+x_offset: -37
186
+y_offset: -2
187
+z_offset: 3.151
188
+speed: 10
189
+
190
+[bed_mesh]
191
+speed: 200
192
+mesh_min: 5, 5
193
+mesh_max: 190, 195
194
+horizontal_move_z: 10
195
+probe_count: 5, 5
196
+mesh_pps: 4, 4
197
+
198
+[gcode_macro G29]
199
+gcode:
200
+    BED_MESH_CALIBRATE
201
+
202
+###########################################
203
+########### LCD / Encoder / LED ###########
204
+###########################################
205
+
206
+[display]
207
+lcd_type: uc1701
208
+cs_pin: EXP1_2
209
+a0_pin: EXP1_3
210
+rst_pin: EXP1_5
211
+contrast: 63
212
+encoder_pins: ^IO_2, ^IO_3
213
+click_pin: ^!EXP1_1
214
+#kill_pin: ^IO_1
215
+spi_software_miso_pin: UNUSED
216
+spi_software_mosi_pin: IO_5
217
+spi_software_sclk_pin: IO_4
218
+
219
+# index 1 is lcd backlight
220
+# index 2 is left encoder led
221
+# index 3 is right encoder led
222
+[neopixel lcd]
223
+pin: EXP1_6
224
+chain_count: 3
225
+color_order: RGB
226
+initial_RED: 0.3
227
+initial_GREEN: 0.3
228
+initial_BLUE: 0.3
229
+
230
+##########################################
231
+################# Beeper #################
232
+##########################################
233
+
234
+# M300 : Play tone. Usage:
235
+#   M300 [P<ms>] [S<Hz>]
236
+#   P is the tone duration, S the tone frequency.
237
+
238
+[output_pin beeper]
239
+pin: PWR_DET
240
+pwm: True
241
+value: 0 # Silent at power on, set to 1 if active low.
242
+shutdown_value: 0 # Disable at emergency shutdown (no PWM would be available anyway).
243
+cycle_time: 0.001
244
+
245
+[gcode_macro M300]
246
+gcode:
247
+    # Use a default 1kHz tone if S is omitted.
248
+    \{% set S = params.S|default(1000)|int %}
249
+    # Use a 10ms duration is P is omitted.
250
+    \{% set P = params.P|default(100)|int %}
251
+    SET_PIN PIN=beeper VALUE=0.5 CYCLE_TIME={ 1.0/S if S > 0 else 1 }
252
+    G4 P{P}
253
+    SET_PIN PIN=beeper VALUE=0
254
+
255
+##########################################
256
+############## Idle Timeout ##############
257
+##########################################
258
+
259
+# https://moonraker.readthedocs.io/en/latest/configuration/#toggling-device-state-from-klipper
260
+
261
+[gcode_macro POWER_OFF_PRINTER]
262
+gcode:
263
+    {action_call_remote_method("set_device_power",
264
+                               device="printer",
265
+                               state="off")}
266
+
267
+[delayed_gcode delayed_printer_off]
268
+initial_duration: 0.
269
+gcode:
270
+    \{% if printer.idle_timeout.state == "Idle" %}
271
+        POWER_OFF_PRINTER
272
+    \{% endif %}
273
+
274
+[idle_timeout]
275
+gcode:
276
+    M84
277
+    TURN_OFF_HEATERS
278
+    UPDATE_DELAYED_GCODE ID=delayed_printer_off DURATION=60
279
+
280
+##########################################
281
+######### Telegram Bot Timelapse #########
282
+##########################################
283
+
284
+# https://github.com/nlef/moonraker-telegram-bot/wiki/installation#step-5-optional-include-the-macro-to-store-lapse-variables
285
+
286
+[gcode_macro _bot_data]
287
+variable_lapse_video_size: 0
288
+variable_lapse_filename: 'None'
289
+variable_lapse_path: 'None'
290
+gcode:
291
+    M118 Setting bot lapse variables

Loading…
Cancel
Save