浏览代码

external i3 am8 config files

Thomas Buck 1年前
父节点
当前提交
3a96a98201
共有 1 个文件被更改,包括 18 次插入346 次删除
  1. 18
    346
      input/projects/3d-printing/i3-am8.md

+ 18
- 346
input/projects/3d-printing/i3-am8.md 查看文件

@@ -3,7 +3,7 @@ description: Rebuild of my i3 clone with aluminium extrusions, CoreXZ, Klipper
3 3
 parent: 3d-printing
4 4
 position: 10
5 5
 date: 2022-10-08
6
-update: 2022-10-22
6
+update: 2023-08-31
7 7
 comments: true
8 8
 ---
9 9
 
@@ -259,357 +259,29 @@ function copyEvent(id) {
259 259
 }
260 260
 </script>
261 261
 
262
-Here is my current `printer.cfg` file.
262
+[Here](https://git.xythobuz.de/thomas/3d-print-designs/raw/branch/master/configs/i3-AM8/printer.cfg) is my current `printer.cfg` file.
263 263
 <button type="button" onclick="copyEvent('printercfg')" class="clip-btn">Copy 'printer.cfg' to clipboard</button>
264 264
 
265 265
 <pre id="printercfg" class="sh_desktop">
266
-[include mainsail.cfg]
267
-
268
-##########################################
269
-################# System #################
270
-##########################################
271
-
272
-[printer]
273
-kinematics: corexz
274
-max_velocity: 200
275
-max_accel: 2000
276
-max_accel_to_decel: 2000
277
-max_z_velocity: 200
278
-max_z_accel: 500
279
-
280
-[board_pins]
281
-aliases:
282
-    # EXP1 header
283
-    EXP1_1=PB5,   EXP1_3=PA9,   EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
284
-    EXP1_2=PA15,  EXP1_4=<RST>, EXP1_6=PB9,  EXP1_8=PD6, EXP1_10=<5V>,
285
-    # I/O header
286
-    IO_1=PD0, IO_2=PD2, IO_3=PD3, IO_4=PD4, IO_5=PD5,
287
-    # PWR-DET header
288
-    PWR_DET=PC12,
289
-    # Unused pin
290
-    UNUSED=PA6
291
-
292
-[mcu]
293
-#serial: /dev/ttyAMA0
294
-serial: /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A100OZQ1-if00-port0
295
-restart_method: command
296
-
297
-[temperature_sensor microcontroller]
298
-sensor_type: temperature_mcu
299
-min_temp: 0
300
-max_temp: 90
301
-gcode_id: mcu
302
-
303
-[temperature_sensor raspberry_pi]
304
-sensor_type: temperature_host
305
-min_temp: 0
306
-max_temp: 90
307
-gcode_id: pi
308
-
309
-##########################################
310
-################# Motors #################
311
-##########################################
312
-
313
-# The stepper_x section is used to describe the X axis as well as the
314
-# stepper controlling the X+Z movement.
315
-[stepper_x]
316
-step_pin: PB13
317
-dir_pin: !PB12
318
-enable_pin: !PB14
319
-microsteps: 16 # set by driver
320
-full_steps_per_rotation: 200 # motor specific
321
-gear_ratio: 36:20 # CoreXZ gearbox
322
-rotation_distance: 40 # 20 teeth * 2mm belt
323
-endstop_pin: ^!PC0
324
-position_endstop: -7.0
325
-position_min: -7.0
326
-position_max: 228.0
327
-homing_speed: 40
328
-second_homing_speed: 10
329
-
330
-# The stepper_y section is used to describe the stepper controlling
331
-# the Y axis.
332
-[stepper_y]
333
-step_pin: PB10
334
-dir_pin: PB2
335
-enable_pin: !PB11
336
-microsteps: 16 # set by driver
337
-full_steps_per_rotation: 200 # motor specific
338
-gear_ratio: 1:1 # driven directly
339
-rotation_distance: 40 # 20 teeth * 2mm belt
340
-endstop_pin: ^!PC1
341
-position_endstop: 0.0
342
-position_min: 0.0
343
-position_max: 210.0
344
-homing_speed: 40
345
-second_homing_speed: 10
346
-
347
-# The stepper_z section is used to describe the Z axis as well as the
348
-# stepper controlling the X-Z movement.
349
-[stepper_z]
350
-step_pin: PB0
351
-dir_pin: !PC5
352
-enable_pin: !PB1
353
-microsteps: 16 # set by driver
354
-full_steps_per_rotation: 200 # motor specific
355
-gear_ratio: 36:20 # CoreXZ gearbox
356
-rotation_distance: 40 # 20 teeth * 2mm belt
357
-endstop_pin: ^!PC2
358
-position_endstop: 0.200
359
-position_min: 0.0
360
-position_max: 275.0
361
-homing_speed: 40
362
-second_homing_speed: 10
363
-
364
-[extruder]
365
-step_pin: PB3
366
-dir_pin: !PB4
367
-enable_pin: !PD1
368
-rotation_distance: 22.67895
369
-gear_ratio: 50:8
370
-microsteps: 16
371
-full_steps_per_rotation: 200
372
-nozzle_diameter: 0.400
373
-filament_diameter: 1.750
374
-heater_pin: PC8
375
-sensor_type: ATC Semitec 104GT-2
376
-sensor_pin: PA0
377
-control: pid
378
-pid_Kp: 23.441
379
-pid_Ki: 0.919
380
-pid_Kd: 149.435
381
-min_temp: 0
382
-max_temp: 250
383
-max_extrude_only_distance: 1400.0
384
-max_extrude_only_velocity: 75.0
385
-max_extrude_only_accel: 1500
386
-
387
-[heater_bed]
388
-heater_pin: PC9
389
-sensor_type: EPCOS 100K B57560G104F
390
-sensor_pin: PC4
391
-control: pid
392
-pid_Kp: 43.878
393
-pid_Ki: 0.255
394
-pid_Kd: 1888.933
395
-min_temp: 0
396
-max_temp: 130
397
-
398
-###########################################
399
-################# TMC2209 #################
400
-###########################################
401
-
402
-[tmc2209 stepper_x]
403
-uart_pin: PC11
404
-tx_pin: PC10
405
-uart_address: 0
406
-stealthchop_threshold: 999999
407
-run_current: 0.6
408
-
409
-[tmc2209 stepper_y]
410
-uart_pin: PC11
411
-tx_pin: PC10
412
-uart_address: 2
413
-stealthchop_threshold: 999999
414
-run_current: 0.6
415
-
416
-[tmc2209 stepper_z]
417
-uart_pin: PC11
418
-tx_pin: PC10
419
-uart_address: 1
420
-stealthchop_threshold: 999999
421
-run_current: 0.6
422
-
423
-[tmc2209 extruder]
424
-uart_pin: PC11
425
-tx_pin: PC10
426
-uart_address: 3
427
-stealthchop_threshold: 999999
428
-run_current: 0.5
429
-
430
-###########################################
431
-############### Accessories ###############
432
-###########################################
433
-
434
-[heater_fan nozzle_cooling_fan]
435
-pin: PC6 # fan 0
436
-
437
-[fan]
438
-pin: PC7 # fan 1
439
-
440
-[controller_fan controller_fan]
441
-pin: PB15 # fan 2
442
-
443
-############################################
444
-############### Bed Leveling ###############
445
-############################################
446
-
447
-[bltouch]
448
-sensor_pin: ^PC14
449
-control_pin: PA1
450
-x_offset: -37
451
-y_offset: -2
452
-z_offset: 3.151
453
-speed: 10
454
-
455
-[bed_mesh]
456
-speed: 200
457
-mesh_min: 5, 5
458
-mesh_max: 190, 195
459
-horizontal_move_z: 10
460
-probe_count: 5, 5
461
-mesh_pps: 4, 4
462
-
463
-[gcode_macro G29]
464
-gcode:
465
-    BED_MESH_CALIBRATE
466
-
467
-###########################################
468
-########### LCD / Encoder / LED ###########
469
-###########################################
470
-
471
-[display]
472
-lcd_type: uc1701
473
-cs_pin: EXP1_2
474
-a0_pin: EXP1_3
475
-rst_pin: EXP1_5
476
-contrast: 63
477
-encoder_pins: ^IO_2, ^IO_3
478
-click_pin: ^!EXP1_1
479
-#kill_pin: ^IO_1
480
-spi_software_miso_pin: UNUSED
481
-spi_software_mosi_pin: IO_5
482
-spi_software_sclk_pin: IO_4
483
-
484
-# index 1 is lcd backlight
485
-# index 2 is left encoder led
486
-# index 3 is right encoder led
487
-[neopixel lcd]
488
-pin: EXP1_6
489
-chain_count: 3
490
-color_order: RGB
491
-initial_RED: 0.3
492
-initial_GREEN: 0.3
493
-initial_BLUE: 0.3
494
-
495
-##########################################
496
-################# Beeper #################
497
-##########################################
498
-
499
-# M300 : Play tone. Usage:
500
-#   M300 [P<ms>] [S<Hz>]
501
-#   P is the tone duration, S the tone frequency.
502
-
503
-[output_pin beeper]
504
-pin: PWR_DET
505
-pwm: True
506
-value: 0 # Silent at power on, set to 1 if active low.
507
-shutdown_value: 0 # Disable at emergency shutdown (no PWM would be available anyway).
508
-cycle_time: 0.001
509
-
510
-[gcode_macro M300]
511
-gcode:
512
-    # Use a default 1kHz tone if S is omitted.
513
-    \{% set S = params.S|default(1000)|int %}
514
-    # Use a 10ms duration is P is omitted.
515
-    \{% set P = params.P|default(100)|int %}
516
-    SET_PIN PIN=beeper VALUE=0.5 CYCLE_TIME={ 1.0/S if S > 0 else 1 }
517
-    G4 P{P}
518
-    SET_PIN PIN=beeper VALUE=0
519
-
520
-##########################################
521
-############## Idle Timeout ##############
522
-##########################################
523
-
524
-# https://moonraker.readthedocs.io/en/latest/configuration/#toggling-device-state-from-klipper
525
-
526
-[gcode_macro POWER_OFF_PRINTER]
527
-gcode:
528
-    {action_call_remote_method("set_device_power",
529
-                               device="printer",
530
-                               state="off")}
531
-
532
-[delayed_gcode delayed_printer_off]
533
-initial_duration: 0.
534
-gcode:
535
-    \{% if printer.idle_timeout.state == "Idle" %}
536
-        POWER_OFF_PRINTER
537
-    \{% endif %}
538
-
539
-[idle_timeout]
540
-gcode:
541
-    M84
542
-    TURN_OFF_HEATERS
543
-    UPDATE_DELAYED_GCODE ID=delayed_printer_off DURATION=60
544
-
545
-##########################################
546
-######### Telegram Bot Timelapse #########
547
-##########################################
548
-
549
-# https://github.com/nlef/moonraker-telegram-bot/wiki/installation#step-5-optional-include-the-macro-to-store-lapse-variables
550
-
551
-[gcode_macro _bot_data]
552
-variable_lapse_video_size: 0
553
-variable_lapse_filename: 'None'
554
-variable_lapse_path: 'None'
555
-gcode:
556
-    M118 Setting bot lapse variables
266
+<!--%
267
+include_url("https://git.xythobuz.de/thomas/3d-print-designs/raw/branch/master/configs/i3-AM8/printer.cfg")
268
+%-->
557 269
 </pre>
558 270
 
559
-Here is my current `moonraker.conf` file.
271
+[Here](https://git.xythobuz.de/thomas/3d-print-designs/raw/branch/master/configs/i3-AM8/moonraker.conf) is my current `moonraker.conf` file.
560 272
 <button type="button" onclick="copyEvent('moonrakerconf')" class="clip-btn">Copy 'moonraker.conf' to clipboard</button>
561 273
 
562 274
 <pre id="moonrakerconf" class="sh_desktop">
563
-[server]
564
-host: 0.0.0.0
565
-port: 7125
566
-# Verbose logging used for debugging . Default False.
567
-enable_debug_logging: False
568
-# The maximum size allowed for a file upload (in MiB).  Default 1024 MiB
569
-max_upload_size: 1024
570
-
571
-[file_manager]
572
-config_path: ~/klipper_config
573
-log_path: ~/klipper_logs
574
-enable_object_processing: True
575
-queue_gcode_uploads: True
576
-
577
-# https://moonraker.readthedocs.io/en/latest/configuration/#power-on-g-code-uploads
578
-
579
-[job_queue]
580
-load_on_startup: True
581
-
582
-[power printer]
583
-type: gpio
584
-pin: gpiochip0/gpio4
585
-off_when_shutdown: True
586
-off_when_shutdown_delay: 2
587
-on_when_job_queued: True
588
-locked_while_printing: True
589
-restart_klipper_when_powered: True
590
-restart_delay: 1
591
-initial_state: off
592
-
593
-# enables partial support of Octoprint API
594
-[octoprint_compat]
595
-
596
-# enables moonraker to track and store print history.
597
-[history]
598
-
599
-# this enables moonraker's update manager
600
-[update_manager]
601
-refresh_interval: 168
602
-
603
-[update_manager mainsail]
604
-type: web
605
-repo: mainsail-crew/mainsail
606
-path: ~/mainsail
607
-
608
-[update_manager client moonraker-telegram-bot]
609
-type: git_repo
610
-path: ~/moonraker-telegram-bot
611
-origin: https://github.com/nlef/moonraker-telegram-bot.git
612
-env: ~/moonraker-telegram-bot-env/bin/python
613
-requirements: scripts/requirements.txt
614
-install_script: scripts/install.sh
275
+<!--%
276
+include_url("https://git.xythobuz.de/thomas/3d-print-designs/raw/branch/master/configs/i3-AM8/moonraker.conf")
277
+%-->
278
+</pre>
279
+
280
+And [here](https://git.xythobuz.de/thomas/3d-print-designs/raw/branch/master/configs/i3-AM8/PrusaSlicer_config_bundle.ini) is my PrusaSlicer config bundle.
281
+<button type="button" onclick="copyEvent('prusabundle')" class="clip-btn">Copy PrusaSlicer config to clipboard</button>
282
+
283
+<pre id="prusabundle" class="sh_desktop">
284
+<!--%
285
+include_url("https://git.xythobuz.de/thomas/3d-print-designs/raw/branch/master/configs/i3-AM8/PrusaSlicer_config_bundle.ini")
286
+%-->
615 287
 </pre>

正在加载...
取消
保存