Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This file contains common configurations and pin mappings for the Prusa
- [mcu]
- serial: /dev/serial/by-id/usb-Klipper_stm32f407xx_2E003A001547393431383232-if00
- restart_method: command
- [virtual_sdcard]
- path: ~/uploads/
- #[input_shaper]
- #shaper_freq_x: 54
- #shaper_freq_y: 21.9
- #shaper_type: mzv
- [stepper_x]
- step_pin: PD1
- dir_pin: PD0
- enable_pin: !PD3
- microsteps: 16
- rotation_distance: 32 # 200 * 16 / 100
- endstop_pin: tmc2209_stepper_x:virtual_endstop
- position_endstop: 180.4
- position_min: -2
- position_max: 180.4
- homing_speed: 75
- homing_retract_dist: 0
- [stepper_y]
- step_pin: PD13
- dir_pin: PD12
- enable_pin: !PD14
- microsteps: 16
- rotation_distance: 32 # 200 * 16 / 100
- endstop_pin: tmc2209_stepper_y:virtual_endstop
- position_endstop: -3
- position_min: -3
- position_max: 180
- homing_speed: 75
- homing_retract_dist: 0
- [stepper_z]
- step_pin: PD4
- dir_pin: !PD15
- enable_pin: !PD2
- microsteps: 16
- rotation_distance: 4
- endstop_pin: probe:z_virtual_endstop
- position_min: 0
- position_max: 185
- [extruder]
- step_pin: PD9
- dir_pin: !PD8
- enable_pin: !PD10
- microsteps: 16
- rotation_distance: 20.5622 # (200 * 16 * 48/18) / 415
- gear_ratio: 48:18
- nozzle_diameter: 0.400
- filament_diameter: 1.750
- heater_pin: PB1
- sensor_type: ATC Semitec 104GT-2
- sensor_pin: PC0
- #control: pid
- min_extrude_temp: 169
- # Prusa's firmware defaults.
- #pid_Kp: 7
- #pid_Ki: 0.5
- #pid_Kd: 45
- min_temp: 10
- max_temp: 305
- #pressure_advance: 0.2
- [tmc2209 stepper_x]
- uart_pin: PD5
- uart_address: 1
- diag_pin: ^PE2
- driver_SGTHRS: 130
- run_current: 0.35
- sense_resistor: 0.22
- stealthchop_threshold: 999999
- [tmc2209 stepper_y]
- uart_pin: PD5
- uart_address: 3
- diag_pin: ^PE1
- driver_SGTHRS: 130
- run_current: 0.35
- sense_resistor: 0.22
- stealthchop_threshold: 999999
- [tmc2209 stepper_z]
- uart_pin: PD5
- uart_address: 0
- diag_pin: ^PE3
- driver_SGTHRS: 100
- run_current: 0.35
- sense_resistor: 0.22
- stealthchop_threshold: 999999
- [tmc2209 extruder]
- uart_pin: PD5
- uart_address: 2
- diag_pin: ^PA15
- driver_SGTHRS: 100
- run_current: 0.4
- sense_resistor: 0.22
- [heater_bed]
- heater_pin: PB0
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PA4
- #control: pid
- # Prusa's firmware defaults.
- #pid_Kp: 120
- #pid_Ki: 1.5
- #pid_Kd: 600
- min_temp: 10
- max_temp: 110
- # Hotend fan.
- # The stock firmware uses control ranges of PWM 0-50%, RPM 1000-8000.
- # Change fan_speed below to match your preference. Measured speeds:
- # fan_speed 0.5: 50% PWM = 4000RPM (Prusa stock default speed)
- # fan_speed 1.0: 100% PWM = 8000RPM (safe but loud)
- [heater_fan hotend_fan]
- pin: PE9
- tachometer_pin: PE14
- fan_speed: 0.5
- # Part cooling fan.
- # The stock firmware uses control ranges of PWM 10-50%, RPM 500-5000.
- # To match stock firmware, set the Klipper fan speed to 50%. This speed
- # can be safely increased to 100% for better part cooling. Measured speeds:
- # 50% PWM = 2500RPM (Prusa stock default speed)
- # 100% PWM = 5000RPM (better cooling, still quiet)
- [fan]
- pin: PE11
- tachometer_pin: PE10
- kick_start_time: 0.100
- max_power: 1.0
- # The SuperPINDA has built-in temperature compensation and no thermistor output,
- # so no compensation table is needed here.
- [probe]
- pin: PA8
- x_offset: -29
- y_offset: -3
- #z_offset: 0 # set this to your Live Z Offset, but negated (invert the sign)
- speed: 6.0
- samples:2
- samples_result: median
- sample_retract_dist: 1
- samples_tolerance: 0.03
- samples_tolerance_retries: 10
- [safe_z_home]
- home_xy_position: 147.4,21.1
- z_hop: 4
- [bed_mesh]
- speed: 150
- horizontal_move_z: 5
- mesh_min: 10,10
- mesh_max: 141,167
- probe_count: 4,4
- [filament_switch_sensor filament_sensor]
- switch_pin: ^PB4
- pause_on_runout: True
- runout_gcode:
- {action_respond_info("RUNOUT Motion Sensor: Filament runout")}
- M600
- insert_gcode:
- {action_respond_info("RUNOUT Motion Sensor: Filament inserted")}
- # The minimum amount of time in seconds to delay between events.
- # Events triggered during this time period will be silently
- # ignored. The default is 3 seconds.
- event_delay: 3.0
- # The amount of time to delay, in seconds, between the pause command
- # dispatch and execution of the runout_gcode. It may be useful to
- # increase this delay if OctoPrint exhibits strange pause behavior.
- # Default is 0.5 seconds.
- pause_delay: 0.5
- ## XYE mcu E0DET
- [printer]
- kinematics: cartesian
- # Prusa firmware defaults.
- max_velocity: 180
- max_accel: 1250
- max_z_velocity: 12
- max_z_accel: 400
- max_accel_to_decel: 1250
- square_corner_velocity: 5
- #[firmware_retraction] ;It seems overly aggressive, better contol with slicer retraction
- #retract_length: 3
- # The length of filament (in mm) to retract when G10 is activated,
- # and to unretract when G11 is activated (but see
- # unretract_extra_length below). The default is 0 mm.
- #retract_speed: 70
- # The speed of retraction, in mm/s. The default is 20 mm/s.
- #unretract_extra_length: 0
- # The length (in mm) of *additional* filament to add when
- # unretracting.
- #unretract_speed: 40
- # The speed of unretraction, in mm/s. The default is 10 mm/s.
- [display]
- lcd_type: st7789v
- spi_bus: spi2a
- rst_pin: PC8
- cs_pin: PC9
- rs_pin: PD11
- encoder_pins: ^PE13, ^PE15
- click_pin: ^!PE12
- display_group: _default_20x4
- [display_data _default_20x4 extruder]
- position: 1, 0
- text: { render("_heater_temperature", param_heater_name="extruder") }
- [display_data _default_20x4 heater_bed1]
- position: 0, 15
- text:Bed
- [display_data _default_20x4 heater_bed]
- position: 1, 15
- text: { render("_heater_temperature", param_heater_name="heater_bed") }
- [display_data _default_20x4 extruder1]
- position: 0, 0
- text:Extruder
- [display_data _default_20x4 fan1]
- position: 4, 15
- text: { render("_fan_speed") }
- [display_data _default_20x4 fan]
- position: 3, 15
- text:Fan
- [display_data _default_20x4 speedfactor]
- position: 3, 0
- text:Feed Rate
- [display_data _default_20x4 speed_factor]
- position: 4, 0
- text:
- ~feedrate~
- { "{:^4.0%}".format(printer.gcode_move.speed_factor) }
- [display_data _default_20x4 print_progress]
- position: 8, 0
- text: { "{:^10.0%}".format(printer.display_status.progress) }
- [display_data _default_20x4 progress_bar]
- position: 8, 1 # Draw graphical progress bar after text is written
- text: { draw_progress_bar(8, 0, 28, printer.display_status.progress) }
- [display_data _default_20x4 print_progress]
- position: 9, 12
- text:
- {% if 'virtual_sdcard' in printer and printer.virtual_sdcard.progress %}
- ~sd~
- {% else %}
- ~usb~
- {% endif %}
- { "{:^4.0%}".format(printer.display_status.progress) }
- [display_data _default_20x4 printing_time]
- position: 7, 0
- text:
- Printing Time ~clock~
- { render("_printing_time") }
- [display_data _default_20x4 print_status]
- position: 6, 0
- text: { render("_print_status") }
- [menu __main __filament __load]
- type: command
- name: Load Filament
- index: 1
- gcode:
- LOAD_FILAMENT
- [menu __main __filament __unload]
- type: command
- name: Unload Filament
- index: 2
- gcode:
- UNLOAD_FILAMENT
- [include macros/macros.cfg]
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*# [bed_mesh default]
- #*# version = 1
- #*# points =
- #*# 0.191875, 0.136875, 0.080625, -0.148125
- #*# 0.260000, 0.280000, 0.176250, 0.060625
- #*# 0.241250, 0.296875, 0.241250, 0.156875
- #*# 0.095000, 0.195625, 0.245000, 0.196250
- #*# tension = 0.2
- #*# min_x = 10.0
- #*# algo = lagrange
- #*# y_count = 4
- #*# mesh_y_pps = 2
- #*# min_y = 10.0
- #*# x_count = 4
- #*# max_y = 166.99
- #*# mesh_x_pps = 2
- #*# max_x = 140.98
- #*#
- #*# [extruder]
- #*# control = pid
- #*# pid_kp = 35.159
- #*# pid_ki = 3.907
- #*# pid_kd = 79.108
- #*#
- #*# [heater_bed]
- #*# control = pid
- #*# pid_kp = 56.236
- #*# pid_ki = 1.071
- #*# pid_kd = 738.095
- #*#
- #*# [probe]
- #*# z_offset = 0.775
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement