projekte:3d-printing:anycubic-mega-s:klipper
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| projekte:3d-printing:anycubic-mega-s:klipper [2021/12/05 00:28] – angelegt daniel | projekte:3d-printing:anycubic-mega-s:klipper [2023/06/22 15:53] (aktuell) – daniel | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== Anycubic Mega S - Klipper Einrichtung und Konfiguration ====== | ====== Anycubic Mega S - Klipper Einrichtung und Konfiguration ====== | ||
| - | ===== Basiskonfiguration | + | ===== Klipper Config Check ===== |
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | ==== Calibrate PID settings ==== | ||
| + | |||
| + | Um die Temperatur des Extruder zu kalibrieren führt man den ersten Befehl aus, wartet ab bis der Kalibriervorgang abgeschlossen wurde und speichert die gefundenen Werte in der printer.cnf ab (passiert automatisch und wird am Ende eingefügt). | ||
| + | |||
| + | <code python> | ||
| + | PID_CALIBRATE HEATER=extruder TARGET=170 | ||
| + | SAVE_CONFIG | ||
| + | </ | ||
| + | |||
| + | Um die Temperatur des Printbed zu kalibrieren führt man den ersten Befehl aus, wartet ab bis der Kalibriervorgang abgeschlossen wurde und speichert die gefundenen Werte in der printer.cnf ab (passiert automatisch und wird am Ende eingefügt). | ||
| + | |||
| + | <code python> | ||
| + | PID_CALIBRATE HEATER=heater_bed TARGET=60 | ||
| + | SAVE_CONFIG | ||
| + | </ | ||
| + | |||
| + | | **Extruder** {{ : | ||
| + | ===== Basiskonfiguration ===== | ||
| + | |||
| + | Basiskonfiguration (Beispiel) für einen Anycubic Mega S ohne Modifikationen / Originalzustand | ||
| <code python printer.cfg [enable_line_numbers=" | <code python printer.cfg [enable_line_numbers=" | ||
| + | |||
| # This file contains pin mappings for the Anycubic i3 Mega with | # This file contains pin mappings for the Anycubic i3 Mega with | ||
| # Ultrabase from 2017. (This config may work on an Anycubic i3 Mega v1 | # Ultrabase from 2017. (This config may work on an Anycubic i3 Mega v1 | ||
| Zeile 14: | Zeile 40: | ||
| [stepper_x] | [stepper_x] | ||
| step_pin: PF0 | step_pin: PF0 | ||
| - | dir_pin: | + | dir_pin: PF1 |
| enable_pin: !PD7 | enable_pin: !PD7 | ||
| microsteps: 16 | microsteps: 16 | ||
| Zeile 26: | Zeile 52: | ||
| [stepper_y] | [stepper_y] | ||
| step_pin: PF6 | step_pin: PF6 | ||
| - | dir_pin: PF7 | + | dir_pin: |
| enable_pin: !PF2 | enable_pin: !PF2 | ||
| microsteps: 16 | microsteps: 16 | ||
| Zeile 37: | Zeile 63: | ||
| [stepper_z] | [stepper_z] | ||
| step_pin: PL3 | step_pin: PL3 | ||
| - | dir_pin: PL1 | + | dir_pin: |
| enable_pin: !PK0 | enable_pin: !PK0 | ||
| microsteps: 16 | microsteps: 16 | ||
| Zeile 48: | Zeile 74: | ||
| [stepper_z1] | [stepper_z1] | ||
| step_pin: PC1 | step_pin: PC1 | ||
| - | dir_pin: PC3 | + | dir_pin: |
| enable_pin: !PC7 | enable_pin: !PC7 | ||
| microsteps: 16 | microsteps: 16 | ||
| Zeile 56: | Zeile 82: | ||
| [extruder] | [extruder] | ||
| step_pin: PA4 | step_pin: PA4 | ||
| - | dir_pin: PA6 | + | dir_pin: |
| enable_pin: !PA2 | enable_pin: !PA2 | ||
| microsteps: 16 | microsteps: 16 | ||
| - | #rotation_distance: | + | rotation_distance: |
| - | rotation_distance: | + | |
| nozzle_diameter: | nozzle_diameter: | ||
| filament_diameter: | filament_diameter: | ||
| Zeile 66: | Zeile 91: | ||
| sensor_type: | sensor_type: | ||
| sensor_pin: PK5 | sensor_pin: PK5 | ||
| - | control: pid | + | #control: pid |
| - | pid_Kp: 15.717 | + | #pid_Kp: 15.717 |
| - | pid_Ki: 0.569 | + | #pid_Ki: 0.569 |
| - | pid_Kd: 108.451 | + | #pid_Kd: 108.451 |
| min_temp: 0 | min_temp: 0 | ||
| max_temp: 245 | max_temp: 245 | ||
| Zeile 80: | Zeile 105: | ||
| sensor_type: | sensor_type: | ||
| sensor_pin: PK6 | sensor_pin: PK6 | ||
| - | control: pid | + | #control: pid |
| - | pid_Kp: 74.883 | + | #pid_Kp: 74.883 |
| - | pid_Ki: 1.809 | + | #pid_Ki: 1.809 |
| - | pid_Kd: 775.038 | + | #pid_Kd: 775.038 |
| min_temp: 0 | min_temp: 0 | ||
| max_temp: 110 | max_temp: 110 | ||
| Zeile 91: | Zeile 116: | ||
| [mcu] | [mcu] | ||
| - | serial: /dev/ttyUSB0 | + | serial: /dev/serial/ |
| [printer] | [printer] | ||
| Zeile 102: | Zeile 127: | ||
| [heater_fan stepstick_fan] | [heater_fan stepstick_fan] | ||
| pin: PH4 | pin: PH4 | ||
| + | |||
| + | # additional manual config | ||
| + | # see https:// | ||
| [virtual_sdcard] | [virtual_sdcard] | ||
| - | path: ~/gcode_files | + | path:/home/ |
| [display_status] | [display_status] | ||
| [pause_resume] | [pause_resume] | ||
| + | |||
| + | [gcode_macro PAUSE] | ||
| + | description: | ||
| + | rename_existing: | ||
| + | # change this if you need more or less extrusion | ||
| + | variable_extrude: | ||
| + | gcode: | ||
| + | ##### read E from pause macro ##### | ||
| + | {% set E = printer[" | ||
| + | ##### set park positon for x and y ##### | ||
| + | # default is your max posion from your printer.cfg | ||
| + | {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %} | ||
| + | {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %} | ||
| + | ##### calculate save lift position ##### | ||
| + | {% set max_z = printer.toolhead.axis_maximum.z|float %} | ||
| + | {% set act_z = printer.toolhead.position.z|float %} | ||
| + | {% if act_z < (max_z - 2.0) %} | ||
| + | {% set z_safe = 2.0 %} | ||
| + | {% else %} | ||
| + | {% set z_safe = max_z - act_z %} | ||
| + | {% endif %} | ||
| + | ##### end of definitions ##### | ||
| + | PAUSE_BASE | ||
| + | G91 | ||
| + | {% if printer.extruder.can_extrude|lower == ' | ||
| + | G1 E-{E} F2100 | ||
| + | {% else %} | ||
| + | {action_respond_info(" | ||
| + | {% endif %} | ||
| + | {% if " | ||
| + | G1 Z{z_safe} F900 | ||
| + | G90 | ||
| + | G1 X{x_park} Y{y_park} F6000 | ||
| + | {% else %} | ||
| + | {action_respond_info(" | ||
| + | {% endif %} | ||
| + | |||
| + | [gcode_macro RESUME] | ||
| + | description: | ||
| + | rename_existing: | ||
| + | gcode: | ||
| + | ##### read E from pause macro ##### | ||
| + | {% set E = printer[" | ||
| + | #### get VELOCITY parameter if specified #### | ||
| + | {% if ' | ||
| + | {% set get_params = (' | ||
| + | {%else %} | ||
| + | {% set get_params = "" | ||
| + | {% endif %} | ||
| + | ##### end of definitions ##### | ||
| + | {% if printer.extruder.can_extrude|lower == ' | ||
| + | G91 | ||
| + | G1 E{E} F2100 | ||
| + | {% else %} | ||
| + | {action_respond_info(" | ||
| + | {% endif %} | ||
| + | RESUME_BASE {get_params} | ||
| [gcode_macro CANCEL_PRINT] | [gcode_macro CANCEL_PRINT] | ||
| Zeile 126: | Zeile 211: | ||
| G92 E0 ; zero the extruded length again | G92 E0 ; zero the extruded length again | ||
| M117 Printing... | M117 Printing... | ||
| + | |||
| [gcode_macro END_PRINT] | [gcode_macro END_PRINT] | ||
| gcode: | gcode: | ||
| Zeile 143: | Zeile 228: | ||
| _TIMELAPSE_NEW_FRAME | _TIMELAPSE_NEW_FRAME | ||
| M300 ; Beep | M300 ; Beep | ||
| + | |||
| + | #*# < | ||
| + | #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. | ||
| + | #*# | ||
| + | #*# [extruder] | ||
| + | #*# control = pid | ||
| + | #*# pid_kp = 20.315 | ||
| + | #*# pid_ki = 0.748 | ||
| + | #*# pid_kd = 137.890 | ||
| + | #*# | ||
| + | #*# [heater_bed] | ||
| + | #*# control = pid | ||
| + | #*# pid_kp = 73.517 | ||
| + | #*# pid_ki = 1.696 | ||
| + | #*# pid_kd = 796.738 | ||
| </ | </ | ||
| - | ===== Klipper Config Check ===== | ||
| - | [[https:// | ||
projekte/3d-printing/anycubic-mega-s/klipper.1638660539.txt.gz · Zuletzt geändert: 2021/12/05 00:28 von daniel