diff --git a/mainsail.cfg b/mainsail.cfg index 6d39a08..12b694d 100644 --- a/mainsail.cfg +++ b/mainsail.cfg @@ -10,6 +10,8 @@ # modify x_park, y_park, z_park_delta and extrude value at the macro _TOOLHEAD_PARK_PAUSE_CANCEL if needed # use variable_park: False at CANCEL_PRINT to disallow the parking move +[webcam vcore] +camera="usb" [virtual_sdcard] path: /home/pi/gcode_files diff --git a/moonraker.conf b/moonraker.conf index 1d26cbc..d554146 100644 --- a/moonraker.conf +++ b/moonraker.conf @@ -13,3 +13,4 @@ cors_domains: trusted_clients: 127.0.0.1 10.40.0.0/16 + diff --git a/printer-20220608_110543.cfg b/printer-20220608_110543.cfg new file mode 100644 index 0000000..46155f8 --- /dev/null +++ b/printer-20220608_110543.cfg @@ -0,0 +1,326 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 285 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "primeline" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 200 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +control: pid +pid_kp: 28.413 +pid_ki: 1.334 +pid_kd: 151.300 + +[heater_bed] +control: pid +pid_Kp: 22.2 +pid_Ki: 1.08 +pid_Kd: 114 + + +[gcode_macro _START_PRINT_AFTER_HEATING_BED] +gcode: + {% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %} + M117 Pre-heating extruder... + # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. + # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. + M104 S150 + TEMPERATURE_WAIT SENSOR=extruder MINIMUM=150 + {% endif %} + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 20,20 +mesh_max:465,460 +probe_count: 7,7 +fade_start: 1.0 +fade_end: 10.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 3.000 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.076994, -0.084569, -0.111131, -0.102694, -0.081444, -0.037381, 0.026994 +#*# -0.119569, -0.203631, -0.207069, -0.183006, -0.136756, -0.085194, 0.025119 +#*# -0.448006, -0.488944, -0.417381, -0.373319, -0.235819, -0.161131, -0.018631 +#*# -0.689256, -0.702069, -0.599569, -0.460194, -0.332069, -0.228006, -0.039881 +#*# -0.778944, -0.676444, -0.572381, -0.391756, -0.245194, -0.123631, -0.011444 +#*# -0.694881, -0.585194, -0.413631, -0.256131, -0.088944, 0.020744, 0.171369 +#*# -0.536444, -0.409569, -0.210819, -0.007381, 0.111369, 0.250119, 0.395119 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 7 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 7 +#*# max_y = 459.98 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 diff --git a/printer-20220608_194522.cfg b/printer-20220608_194522.cfg new file mode 100644 index 0000000..fa2eb2b --- /dev/null +++ b/printer-20220608_194522.cfg @@ -0,0 +1,326 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 285 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "primeline" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 200 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +control: pid +pid_kp: 28.413 +pid_ki: 1.334 +pid_kd: 151.300 + +[heater_bed] +control: pid +pid_Kp: 22.2 +pid_Ki: 1.08 +pid_Kd: 114 + + +[gcode_macro _START_PRINT_AFTER_HEATING_BED] +gcode: + {% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %} + M117 Pre-heating extruder... + # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. + # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. + M104 S150 + TEMPERATURE_WAIT SENSOR=extruder MINIMUM=150 + {% endif %} + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 20,20 +mesh_max:465,460 +probe_count: 7,7 +fade_start: 1.0 +fade_end: 10.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.350 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.076994, -0.084569, -0.111131, -0.102694, -0.081444, -0.037381, 0.026994 +#*# -0.119569, -0.203631, -0.207069, -0.183006, -0.136756, -0.085194, 0.025119 +#*# -0.448006, -0.488944, -0.417381, -0.373319, -0.235819, -0.161131, -0.018631 +#*# -0.689256, -0.702069, -0.599569, -0.460194, -0.332069, -0.228006, -0.039881 +#*# -0.778944, -0.676444, -0.572381, -0.391756, -0.245194, -0.123631, -0.011444 +#*# -0.694881, -0.585194, -0.413631, -0.256131, -0.088944, 0.020744, 0.171369 +#*# -0.536444, -0.409569, -0.210819, -0.007381, 0.111369, 0.250119, 0.395119 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 7 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 7 +#*# max_y = 459.98 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 diff --git a/printer-20220626_081340.cfg b/printer-20220626_081340.cfg new file mode 100644 index 0000000..531d42a --- /dev/null +++ b/printer-20220626_081340.cfg @@ -0,0 +1,333 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 285 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +control: pid +pid_kp: 28.413 +pid_ki: 1.334 +pid_kd: 151.300 + +[heater_bed] +control: pid +pid_Kp: 22.2 +pid_Ki: 1.08 +pid_Kd: 114 + + +[gcode_macro _START_PRINT_AFTER_HEATING_BED] +gcode: + {% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %} + M117 Pre-heating extruder... + # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. + # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. + M104 S150 + TEMPERATURE_WAIT SENSOR=extruder MINIMUM=150 + {% endif %} + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 20,20 +mesh_max:465,460 +probe_count: 7,7 +fade_start: 1.0 +fade_end: 10.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.420 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.076994, -0.084569, -0.111131, -0.102694, -0.081444, -0.037381, 0.026994 +#*# -0.119569, -0.203631, -0.207069, -0.183006, -0.136756, -0.085194, 0.025119 +#*# -0.448006, -0.488944, -0.417381, -0.373319, -0.235819, -0.161131, -0.018631 +#*# -0.689256, -0.702069, -0.599569, -0.460194, -0.332069, -0.228006, -0.039881 +#*# -0.778944, -0.676444, -0.572381, -0.391756, -0.245194, -0.123631, -0.011444 +#*# -0.694881, -0.585194, -0.413631, -0.256131, -0.088944, 0.020744, 0.171369 +#*# -0.536444, -0.409569, -0.210819, -0.007381, 0.111369, 0.250119, 0.395119 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 7 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 7 +#*# max_y = 459.98 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 diff --git a/printer-20220626_082157.cfg b/printer-20220626_082157.cfg new file mode 100644 index 0000000..3d2b0f2 --- /dev/null +++ b/printer-20220626_082157.cfg @@ -0,0 +1,333 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 285 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +control: pid +pid_kp: 28.413 +pid_ki: 1.334 +pid_kd: 151.300 + +[heater_bed] +control: pid +pid_Kp: 22.2 +pid_Ki: 1.08 +pid_Kd: 114 + + +[gcode_macro _START_PRINT_AFTER_HEATING_BED] +gcode: + {% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %} + M117 Pre-heating extruder... + # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. + # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. + M104 S150 + TEMPERATURE_WAIT SENSOR=extruder MINIMUM=150 + {% endif %} + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 20,20 +mesh_max:465,460 +probe_count: 7,7 +fade_start: 1.0 +fade_end: 10.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.420 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 1.234375, 1.030937, 0.958125, 0.954062, 0.965937, 1.021250, 1.136562 +#*# 0.888750, 0.708437, 0.675625, 0.688750, 0.715312, 0.784062, 0.905000 +#*# 0.318437, 0.226562, 0.266562, 0.291250, 0.431562, 0.515000, 0.659062 +#*# -0.122188, -0.187813, -0.078125, 0.014687, 0.115000, 0.226875, 0.448437 +#*# -0.408438, -0.375313, -0.289688, -0.144688, 0.028125, 0.154687, 0.302812 +#*# -0.528125, -0.465000, -0.339375, -0.200000, -0.032188, 0.085625, 0.249687 +#*# -0.535938, -0.477500, -0.362500, -0.109688, -0.003125, 0.137500, 0.296250 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 7 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 7 +#*# max_y = 459.98 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 diff --git a/printer-20220626_185726.cfg b/printer-20220626_185726.cfg new file mode 100644 index 0000000..d75effa --- /dev/null +++ b/printer-20220626_185726.cfg @@ -0,0 +1,333 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 285 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +control: pid +pid_kp: 28.413 +pid_ki: 1.334 +pid_kd: 151.300 + +[heater_bed] +control: pid +pid_Kp: 22.2 +pid_Ki: 1.08 +pid_Kd: 114 + + +[gcode_macro _START_PRINT_AFTER_HEATING_BED] +gcode: + {% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %} + M117 Pre-heating extruder... + # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. + # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. + M104 S150 + TEMPERATURE_WAIT SENSOR=extruder MINIMUM=150 + {% endif %} + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 20,20 +mesh_max:465,460 +probe_count: 7,7 +fade_start: 1.0 +fade_end: 10.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.690 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 1.234375, 1.030937, 0.958125, 0.954062, 0.965937, 1.021250, 1.136562 +#*# 0.888750, 0.708437, 0.675625, 0.688750, 0.715312, 0.784062, 0.905000 +#*# 0.318437, 0.226562, 0.266562, 0.291250, 0.431562, 0.515000, 0.659062 +#*# -0.122188, -0.187813, -0.078125, 0.014687, 0.115000, 0.226875, 0.448437 +#*# -0.408438, -0.375313, -0.289688, -0.144688, 0.028125, 0.154687, 0.302812 +#*# -0.528125, -0.465000, -0.339375, -0.200000, -0.032188, 0.085625, 0.249687 +#*# -0.535938, -0.477500, -0.362500, -0.109688, -0.003125, 0.137500, 0.296250 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 7 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 7 +#*# max_y = 459.98 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 diff --git a/printer-20220626_190132.cfg b/printer-20220626_190132.cfg new file mode 100644 index 0000000..94b2027 --- /dev/null +++ b/printer-20220626_190132.cfg @@ -0,0 +1,333 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 285 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +control: pid +pid_kp: 28.413 +pid_ki: 1.334 +pid_kd: 151.300 + +[heater_bed] +control: pid +pid_Kp: 22.2 +pid_Ki: 1.08 +pid_Kd: 114 + + +[gcode_macro _START_PRINT_AFTER_HEATING_BED] +gcode: + {% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %} + M117 Pre-heating extruder... + # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. + # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. + M104 S150 + TEMPERATURE_WAIT SENSOR=extruder MINIMUM=150 + {% endif %} + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 20,20 +mesh_max:465,460 +probe_count: 7,7 +fade_start: 1.0 +fade_end: 10.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.690 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.076778, -0.106972, -0.166660, -0.144785, -0.129785, -0.057597, 0.052715 +#*# -0.072285, -0.230097, -0.240410, -0.214160, -0.171347, -0.093222, 0.034590 +#*# -0.430722, -0.510722, -0.452910, -0.410097, -0.266660, -0.178535, -0.015722 +#*# -0.661660, -0.700410, -0.585097, -0.471347, -0.359472, -0.238535, -0.011347 +#*# -0.746972, -0.688222, -0.587910, -0.410722, -0.236347, -0.099785, 0.033028 +#*# -0.646035, -0.576972, -0.431972, -0.274785, -0.103222, 0.032403, 0.185840 +#*# -0.485097, -0.396035, -0.216660, 0.005215, 0.113653, 0.230840, 0.423340 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 7 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 7 +#*# max_y = 459.98 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 diff --git a/printer-20220626_191721.cfg b/printer-20220626_191721.cfg new file mode 100644 index 0000000..9c4fc44 --- /dev/null +++ b/printer-20220626_191721.cfg @@ -0,0 +1,333 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 285 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +control: pid +pid_kp: 28.413 +pid_ki: 1.334 +pid_kd: 151.300 + +[heater_bed] +control: pid +pid_Kp: 22.2 +pid_Ki: 1.08 +pid_Kd: 114 + + +[gcode_macro _START_PRINT_AFTER_HEATING_BED] +gcode: + {% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %} + M117 Pre-heating extruder... + # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. + # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. + M104 S150 + TEMPERATURE_WAIT SENSOR=extruder MINIMUM=150 + {% endif %} + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 20,20 +mesh_max:465,460 +probe_count: 7,7 +fade_start: 1.0 +fade_end: 10.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.690 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.605625, 0.414687, 0.356250, 0.367500, 0.398125, 0.466875, 0.581250 +#*# 0.455625, 0.290937, 0.280000, 0.304687, 0.347500, 0.436875, 0.558437 +#*# 0.099062, 0.018750, 0.083125, 0.124687, 0.270937, 0.355312, 0.508437 +#*# -0.135625, -0.181563, -0.056250, 0.058125, 0.173437, 0.295625, 0.519062 +#*# -0.222813, -0.171250, -0.066563, 0.096562, 0.283750, 0.427812, 0.557812 +#*# -0.127813, -0.045313, 0.103750, 0.253125, 0.433750, 0.562812, 0.705937 +#*# 0.037500, 0.125312, 0.313125, 0.524062, 0.627500, 0.803125, 0.949687 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 7 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 7 +#*# max_y = 459.98 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 diff --git a/printer-20220626_192241.cfg b/printer-20220626_192241.cfg new file mode 100644 index 0000000..9503f00 --- /dev/null +++ b/printer-20220626_192241.cfg @@ -0,0 +1,333 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 285 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +control: pid +pid_kp: 28.413 +pid_ki: 1.334 +pid_kd: 151.300 + +[heater_bed] +control: pid +pid_Kp: 22.2 +pid_Ki: 1.08 +pid_Kd: 114 + + +[gcode_macro _START_PRINT_AFTER_HEATING_BED] +gcode: + {% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %} + M117 Pre-heating extruder... + # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. + # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. + M104 S150 + TEMPERATURE_WAIT SENSOR=extruder MINIMUM=150 + {% endif %} + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 20,20 +mesh_max:465,460 +probe_count: 7,7 +fade_start: 1.0 +fade_end: 10.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.690 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.642812, 0.434375, 0.372500, 0.375312, 0.400937, 0.475312, 0.600000 +#*# 0.476562, 0.315625, 0.293750, 0.314687, 0.354375, 0.433125, 0.552500 +#*# 0.130937, 0.044687, 0.088437, 0.122812, 0.268750, 0.362187, 0.518125 +#*# -0.099688, -0.155625, -0.032188, 0.071562, 0.185312, 0.304375, 0.526562 +#*# -0.169375, -0.124063, -0.024375, 0.143125, 0.319687, 0.461562, 0.600000 +#*# -0.059375, 0.020312, 0.166875, 0.306562, 0.484062, 0.612187, 0.778125 +#*# 0.148750, 0.221562, 0.394687, 0.580625, 0.734062, 0.877500, 1.017187 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 7 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 7 +#*# max_y = 459.98 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 diff --git a/printer-20220626_214636.cfg b/printer-20220626_214636.cfg new file mode 100644 index 0000000..aea4db8 --- /dev/null +++ b/printer-20220626_214636.cfg @@ -0,0 +1,333 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 285 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +control: pid +pid_kp: 28.413 +pid_ki: 1.334 +pid_kd: 151.300 + +[heater_bed] +control: pid +pid_Kp: 22.2 +pid_Ki: 1.08 +pid_Kd: 114 + + +[gcode_macro _START_PRINT_AFTER_HEATING_BED] +gcode: + {% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %} + M117 Pre-heating extruder... + # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. + # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. + M104 S150 + TEMPERATURE_WAIT SENSOR=extruder MINIMUM=150 + {% endif %} + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 20,20 +mesh_max:465,460 +probe_count: 7,7 +fade_start: 1.0 +fade_end: 10.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.840 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.642812, 0.434375, 0.372500, 0.375312, 0.400937, 0.475312, 0.600000 +#*# 0.476562, 0.315625, 0.293750, 0.314687, 0.354375, 0.433125, 0.552500 +#*# 0.130937, 0.044687, 0.088437, 0.122812, 0.268750, 0.362187, 0.518125 +#*# -0.099688, -0.155625, -0.032188, 0.071562, 0.185312, 0.304375, 0.526562 +#*# -0.169375, -0.124063, -0.024375, 0.143125, 0.319687, 0.461562, 0.600000 +#*# -0.059375, 0.020312, 0.166875, 0.306562, 0.484062, 0.612187, 0.778125 +#*# 0.148750, 0.221562, 0.394687, 0.580625, 0.734062, 0.877500, 1.017187 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 7 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 7 +#*# max_y = 459.98 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 diff --git a/printer-20220701_103806.cfg b/printer-20220701_103806.cfg new file mode 100644 index 0000000..1f9ddcb --- /dev/null +++ b/printer-20220701_103806.cfg @@ -0,0 +1,333 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 285 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +control: pid +pid_kp: 28.413 +pid_ki: 1.334 +pid_kd: 151.300 + +[heater_bed] +control: pid +pid_Kp: 22.2 +pid_Ki: 1.08 +pid_Kd: 114 + + +[gcode_macro _START_PRINT_AFTER_HEATING_BED] +gcode: + {% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %} + M117 Pre-heating extruder... + # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. + # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. + M104 S150 + TEMPERATURE_WAIT SENSOR=extruder MINIMUM=150 + {% endif %} + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 20,20 +mesh_max:465,460 +probe_count: 7,7 +fade_start: 1.0 +fade_end: 10.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.850 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.642812, 0.434375, 0.372500, 0.375312, 0.400937, 0.475312, 0.600000 +#*# 0.476562, 0.315625, 0.293750, 0.314687, 0.354375, 0.433125, 0.552500 +#*# 0.130937, 0.044687, 0.088437, 0.122812, 0.268750, 0.362187, 0.518125 +#*# -0.099688, -0.155625, -0.032188, 0.071562, 0.185312, 0.304375, 0.526562 +#*# -0.169375, -0.124063, -0.024375, 0.143125, 0.319687, 0.461562, 0.600000 +#*# -0.059375, 0.020312, 0.166875, 0.306562, 0.484062, 0.612187, 0.778125 +#*# 0.148750, 0.221562, 0.394687, 0.580625, 0.734062, 0.877500, 1.017187 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 7 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 7 +#*# max_y = 459.98 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 diff --git a/printer-20220916_095112.cfg b/printer-20220916_095112.cfg new file mode 100644 index 0000000..bbc757d --- /dev/null +++ b/printer-20220916_095112.cfg @@ -0,0 +1,333 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 285 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +control: pid +pid_kp: 28.413 +pid_ki: 1.334 +pid_kd: 151.300 + +[heater_bed] +control: pid +pid_Kp: 22.2 +pid_Ki: 1.08 +pid_Kd: 114 + + +[gcode_macro _START_PRINT_AFTER_HEATING_BED] +gcode: + {% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %} + M117 Pre-heating extruder... + # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. + # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. + M104 S150 + TEMPERATURE_WAIT SENSOR=extruder MINIMUM=150 + {% endif %} + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 20,20 +mesh_max:465,460 +probe_count: 7,7 +fade_start: 1.0 +fade_end: 10.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.850 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.092793, -0.123145, -0.191582, -0.197207, -0.136895, -0.059082, 0.073418 +#*# -0.076582, -0.232207, -0.252520, -0.241582, -0.177832, -0.099395, 0.034668 +#*# -0.402832, -0.495645, -0.453145, -0.419082, -0.254395, -0.171895, -0.009395 +#*# -0.620957, -0.661895, -0.592832, -0.437832, -0.309082, -0.193145, 0.019355 +#*# -0.694707, -0.646270, -0.553145, -0.383457, -0.217520, -0.066582, 0.095918 +#*# -0.620020, -0.527207, -0.365020, -0.218770, -0.047520, 0.103418, 0.275293 +#*# -0.415332, -0.320957, -0.160957, 0.065605, 0.190605, 0.361855, 0.526230 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 7 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 7 +#*# max_y = 459.98 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 diff --git a/printer-20220916_163228.cfg b/printer-20220916_163228.cfg new file mode 100644 index 0000000..223602f --- /dev/null +++ b/printer-20220916_163228.cfg @@ -0,0 +1,333 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 285 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +control: pid +pid_kp: 28.413 +pid_ki: 1.334 +pid_kd: 151.300 + +[heater_bed] +control: pid +pid_Kp: 22.2 +pid_Ki: 1.08 +pid_Kd: 114 + + +[gcode_macro _START_PRINT_AFTER_HEATING_BED] +gcode: + {% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %} + M117 Pre-heating extruder... + # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. + # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. + M104 S150 + TEMPERATURE_WAIT SENSOR=extruder MINIMUM=150 + {% endif %} + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 20,20 +mesh_max:465,460 +probe_count: 7,7 +fade_start: 1.0 +fade_end: 10.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.850 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 1.313437, 0.977812, 0.689375, 0.579375, 0.573125, 0.628750, 0.753125 +#*# 1.114687, 0.745937, 0.505625, 0.410312, 0.433437, 0.475937, 0.642812 +#*# 0.641250, 0.383437, 0.238750, 0.187187, 0.187500, 0.297500, 0.466562 +#*# 0.305312, 0.055937, -0.007500, -0.028438, 0.030000, 0.133750, 0.346250 +#*# 0.109687, -0.020313, -0.112500, -0.099063, -0.017813, 0.103125, 0.262812 +#*# 0.100937, -0.010625, -0.056563, -0.043438, 0.002187, 0.138437, 0.253750 +#*# 0.141875, 0.058125, 0.030312, 0.043750, 0.098750, 0.162500, 0.337187 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 7 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 7 +#*# max_y = 459.98 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 diff --git a/printer-20220916_165151.cfg b/printer-20220916_165151.cfg new file mode 100644 index 0000000..375e070 --- /dev/null +++ b/printer-20220916_165151.cfg @@ -0,0 +1,339 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 285 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +control: pid +pid_Kp: 22.2 +pid_Ki: 1.08 +pid_Kd: 114 + + +[gcode_macro _START_PRINT_AFTER_HEATING_BED] +gcode: + {% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %} + M117 Pre-heating extruder... + # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. + # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. + M104 S150 + TEMPERATURE_WAIT SENSOR=extruder MINIMUM=150 + {% endif %} + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 20,20 +mesh_max:465,460 +probe_count: 7,7 +fade_start: 1.0 +fade_end: 10.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.850 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 1.313437, 0.977812, 0.689375, 0.579375, 0.573125, 0.628750, 0.753125 +#*# 1.114687, 0.745937, 0.505625, 0.410312, 0.433437, 0.475937, 0.642812 +#*# 0.641250, 0.383437, 0.238750, 0.187187, 0.187500, 0.297500, 0.466562 +#*# 0.305312, 0.055937, -0.007500, -0.028438, 0.030000, 0.133750, 0.346250 +#*# 0.109687, -0.020313, -0.112500, -0.099063, -0.017813, 0.103125, 0.262812 +#*# 0.100937, -0.010625, -0.056563, -0.043438, 0.002187, 0.138437, 0.253750 +#*# 0.141875, 0.058125, 0.030312, 0.043750, 0.098750, 0.162500, 0.337187 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 7 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 7 +#*# max_y = 459.98 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.616 +#*# pid_ki = 0.844 +#*# pid_kd = 114.017 diff --git a/printer-20221227_104738.cfg b/printer-20221227_104738.cfg new file mode 100644 index 0000000..c7e288d --- /dev/null +++ b/printer-20221227_104738.cfg @@ -0,0 +1,345 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 285 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +[gcode_macro _START_PRINT_AFTER_HEATING_BED] +gcode: + {% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %} + M117 Pre-heating extruder... + # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. + # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. + M104 S150 + TEMPERATURE_WAIT SENSOR=extruder MINIMUM=150 + {% endif %} + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 20,20 +mesh_max:465,460 +probe_count: 7,7 +fade_start: 1.0 +fade_end: 10.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.850 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 1.313437, 0.977812, 0.689375, 0.579375, 0.573125, 0.628750, 0.753125 +#*# 1.114687, 0.745937, 0.505625, 0.410312, 0.433437, 0.475937, 0.642812 +#*# 0.641250, 0.383437, 0.238750, 0.187187, 0.187500, 0.297500, 0.466562 +#*# 0.305312, 0.055937, -0.007500, -0.028438, 0.030000, 0.133750, 0.346250 +#*# 0.109687, -0.020313, -0.112500, -0.099063, -0.017813, 0.103125, 0.262812 +#*# 0.100937, -0.010625, -0.056563, -0.043438, 0.002187, 0.138437, 0.253750 +#*# 0.141875, 0.058125, 0.030312, 0.043750, 0.098750, 0.162500, 0.337187 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 7 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 7 +#*# max_y = 459.98 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.616 +#*# pid_ki = 0.844 +#*# pid_kd = 114.017 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20221227_105907.cfg b/printer-20221227_105907.cfg new file mode 100644 index 0000000..0b13443 --- /dev/null +++ b/printer-20221227_105907.cfg @@ -0,0 +1,345 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 285 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +[gcode_macro _START_PRINT_AFTER_HEATING_BED] +gcode: + {% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %} + M117 Pre-heating extruder... + # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. + # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. + M104 S150 + TEMPERATURE_WAIT SENSOR=extruder MINIMUM=150 + {% endif %} + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 20,20 +mesh_max:465,460 +probe_count: 7,7 +fade_start: 1.0 +fade_end: 10.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.850 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 1.445937, 1.000625, 0.731875, 0.610312, 0.571250, 0.647500, 0.806562 +#*# 1.134375, 0.795625, 0.563437, 0.455312, 0.432812, 0.516250, 0.655625 +#*# 0.707812, 0.420937, 0.238750, 0.173125, 0.214687, 0.304062, 0.503125 +#*# 0.351250, 0.096875, -0.020938, -0.000313, 0.054062, 0.128750, 0.320937 +#*# 0.168125, -0.004688, -0.131250, -0.157500, -0.024375, 0.066562, 0.276562 +#*# 0.130937, -0.047500, -0.102813, -0.122188, -0.025000, 0.051562, 0.230937 +#*# 0.169687, 0.032500, -0.055938, -0.006250, 0.036250, 0.115937, 0.316250 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 7 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 7 +#*# max_y = 459.98 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.616 +#*# pid_ki = 0.844 +#*# pid_kd = 114.017 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20221227_110625.cfg b/printer-20221227_110625.cfg new file mode 100644 index 0000000..92fe408 --- /dev/null +++ b/printer-20221227_110625.cfg @@ -0,0 +1,345 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 285 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +[gcode_macro _START_PRINT_AFTER_HEATING_BED] +gcode: + {% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %} + M117 Pre-heating extruder... + # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. + # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. + M104 S150 + TEMPERATURE_WAIT SENSOR=extruder MINIMUM=150 + {% endif %} + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 20,20 +mesh_max:465,460 +probe_count: 7,7 +fade_start: 1.0 +fade_end: 10.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.830 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 1.445937, 1.000625, 0.731875, 0.610312, 0.571250, 0.647500, 0.806562 +#*# 1.134375, 0.795625, 0.563437, 0.455312, 0.432812, 0.516250, 0.655625 +#*# 0.707812, 0.420937, 0.238750, 0.173125, 0.214687, 0.304062, 0.503125 +#*# 0.351250, 0.096875, -0.020938, -0.000313, 0.054062, 0.128750, 0.320937 +#*# 0.168125, -0.004688, -0.131250, -0.157500, -0.024375, 0.066562, 0.276562 +#*# 0.130937, -0.047500, -0.102813, -0.122188, -0.025000, 0.051562, 0.230937 +#*# 0.169687, 0.032500, -0.055938, -0.006250, 0.036250, 0.115937, 0.316250 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 7 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 7 +#*# max_y = 459.98 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.616 +#*# pid_ki = 0.844 +#*# pid_kd = 114.017 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20221227_110750.cfg b/printer-20221227_110750.cfg new file mode 100644 index 0000000..43ffbf7 --- /dev/null +++ b/printer-20221227_110750.cfg @@ -0,0 +1,345 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 285 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +[gcode_macro _START_PRINT_AFTER_HEATING_BED] +gcode: + {% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %} + M117 Pre-heating extruder... + # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. + # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. + M104 S150 + TEMPERATURE_WAIT SENSOR=extruder MINIMUM=150 + {% endif %} + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 20,20 +mesh_max:465,460 +probe_count: 7,7 +fade_start: 1.0 +fade_end: 10.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.970 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 1.445937, 1.000625, 0.731875, 0.610312, 0.571250, 0.647500, 0.806562 +#*# 1.134375, 0.795625, 0.563437, 0.455312, 0.432812, 0.516250, 0.655625 +#*# 0.707812, 0.420937, 0.238750, 0.173125, 0.214687, 0.304062, 0.503125 +#*# 0.351250, 0.096875, -0.020938, -0.000313, 0.054062, 0.128750, 0.320937 +#*# 0.168125, -0.004688, -0.131250, -0.157500, -0.024375, 0.066562, 0.276562 +#*# 0.130937, -0.047500, -0.102813, -0.122188, -0.025000, 0.051562, 0.230937 +#*# 0.169687, 0.032500, -0.055938, -0.006250, 0.036250, 0.115937, 0.316250 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 7 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 7 +#*# max_y = 459.98 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.616 +#*# pid_ki = 0.844 +#*# pid_kd = 114.017 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20221228_115716.cfg b/printer-20221228_115716.cfg new file mode 100644 index 0000000..06a96f8 --- /dev/null +++ b/printer-20221228_115716.cfg @@ -0,0 +1,345 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +[gcode_macro _START_PRINT_AFTER_HEATING_BED] +gcode: + {% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %} + M117 Pre-heating extruder... + # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. + # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. + M104 S150 + TEMPERATURE_WAIT SENSOR=extruder MINIMUM=150 + {% endif %} + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 20,20 +mesh_max:465,460 +probe_count: 7,7 +fade_start: 1.0 +fade_end: 10.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.970 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 1.445937, 1.000625, 0.731875, 0.610312, 0.571250, 0.647500, 0.806562 +#*# 1.134375, 0.795625, 0.563437, 0.455312, 0.432812, 0.516250, 0.655625 +#*# 0.707812, 0.420937, 0.238750, 0.173125, 0.214687, 0.304062, 0.503125 +#*# 0.351250, 0.096875, -0.020938, -0.000313, 0.054062, 0.128750, 0.320937 +#*# 0.168125, -0.004688, -0.131250, -0.157500, -0.024375, 0.066562, 0.276562 +#*# 0.130937, -0.047500, -0.102813, -0.122188, -0.025000, 0.051562, 0.230937 +#*# 0.169687, 0.032500, -0.055938, -0.006250, 0.036250, 0.115937, 0.316250 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 7 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 7 +#*# max_y = 459.98 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.616 +#*# pid_ki = 0.844 +#*# pid_kd = 114.017 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20221228_124543.cfg b/printer-20221228_124543.cfg new file mode 100644 index 0000000..43a8184 --- /dev/null +++ b/printer-20221228_124543.cfg @@ -0,0 +1,345 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +[gcode_macro _START_PRINT_AFTER_HEATING_BED] +gcode: + {% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %} + M117 Pre-heating extruder... + # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. + # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. + M104 S150 + TEMPERATURE_WAIT SENSOR=extruder MINIMUM=150 + {% endif %} + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 20,20 +mesh_max:465,460 +probe_count: 7,7 +fade_start: 1.0 +fade_end: 10.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.970 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 1.483437, 1.039687, 0.779375, 0.643125, 0.624062, 0.697187, 0.867187 +#*# 1.172187, 0.811875, 0.578437, 0.485937, 0.463750, 0.526250, 0.673437 +#*# 0.741562, 0.450625, 0.270000, 0.197187, 0.259687, 0.335000, 0.527187 +#*# 0.402187, 0.171562, 0.036250, 0.046875, 0.099062, 0.176562, 0.401562 +#*# 0.253750, 0.084062, -0.041563, -0.075313, 0.048750, 0.161562, 0.355312 +#*# 0.275625, 0.098437, 0.026250, 0.034687, 0.112187, 0.173125, 0.388750 +#*# 0.368125, 0.239375, 0.128750, 0.185000, 0.236562, 0.330937, 0.498125 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 7 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 7 +#*# max_y = 459.98 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.616 +#*# pid_ki = 0.844 +#*# pid_kd = 114.017 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20221228_183753.cfg b/printer-20221228_183753.cfg new file mode 100644 index 0000000..3c53997 --- /dev/null +++ b/printer-20221228_183753.cfg @@ -0,0 +1,335 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 28,21 +mesh_max:465,460 +probe_count: 9,9 +fade_start: 5.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 3.040 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 1.483437, 1.039687, 0.779375, 0.643125, 0.624062, 0.697187, 0.867187 +#*# 1.172187, 0.811875, 0.578437, 0.485937, 0.463750, 0.526250, 0.673437 +#*# 0.741562, 0.450625, 0.270000, 0.197187, 0.259687, 0.335000, 0.527187 +#*# 0.402187, 0.171562, 0.036250, 0.046875, 0.099062, 0.176562, 0.401562 +#*# 0.253750, 0.084062, -0.041563, -0.075313, 0.048750, 0.161562, 0.355312 +#*# 0.275625, 0.098437, 0.026250, 0.034687, 0.112187, 0.173125, 0.388750 +#*# 0.368125, 0.239375, 0.128750, 0.185000, 0.236562, 0.330937, 0.498125 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 7 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 7 +#*# max_y = 459.98 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.616 +#*# pid_ki = 0.844 +#*# pid_kd = 114.017 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20221228_184656.cfg b/printer-20221228_184656.cfg new file mode 100644 index 0000000..9476a10 --- /dev/null +++ b/printer-20221228_184656.cfg @@ -0,0 +1,337 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 28,21 +mesh_max:465,460 +probe_count: 9,9 +fade_start: 5.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 3.040 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.214687, 0.072812, -0.035625, 0.027500, 0.127812, 0.281875, 0.506562, 0.751250, 1.058125 +#*# 0.165000, 0.044687, 0.000625, 0.066562, 0.135312, 0.282187, 0.538750, 0.790937, 1.090000 +#*# -0.003125, -0.102813, -0.117813, -0.011250, 0.075937, 0.257500, 0.522500, 0.781875, 1.074375 +#*# -0.157813, -0.210313, -0.180000, -0.056250, 0.060937, 0.263437, 0.502812, 0.740312, 1.124375 +#*# -0.273125, -0.289688, -0.250938, -0.127188, 0.040937, 0.276875, 0.535000, 0.824375, 1.150000 +#*# -0.288750, -0.273438, -0.158438, -0.060313, 0.130937, 0.336250, 0.614687, 0.891562, 1.222187 +#*# -0.216875, -0.169063, -0.040000, 0.065000, 0.217187, 0.488437, 0.743437, 1.053437, 1.331875 +#*# -0.070313, 0.036562, 0.085625, 0.294687, 0.481875, 0.691562, 0.940625, 1.191562, 1.515312 +#*# 0.145625, 0.206250, 0.327812, 0.462812, 0.699375, 0.870000, 1.129062, 1.390000, 1.727812 +#*# tension = 0.2 +#*# min_x = 28.0 +#*# algo = bicubic +#*# y_count = 9 +#*# mesh_y_pps = 2 +#*# min_y = 21.0 +#*# x_count = 9 +#*# max_y = 459.96 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.616 +#*# pid_ki = 0.844 +#*# pid_kd = 114.017 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20221229_111336.cfg b/printer-20221229_111336.cfg new file mode 100644 index 0000000..7871f44 --- /dev/null +++ b/printer-20221229_111336.cfg @@ -0,0 +1,337 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 28,21 +mesh_max:465,460 +probe_count: 10,10 +fade_start: 5.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 3.040 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.660312, 0.425937, 0.243437, 0.205937, 0.228750, 0.271562, 0.402812, 0.508125, 0.738437 +#*# 0.583750, 0.385312, 0.237187, 0.238125, 0.210625, 0.289687, 0.404687, 0.571250, 0.730937 +#*# 0.385625, 0.228437, 0.141250, 0.142187, 0.120000, 0.198750, 0.347812, 0.532187, 0.732187 +#*# 0.198750, 0.099062, 0.035000, 0.058750, 0.114687, 0.195625, 0.353125, 0.498750, 0.735000 +#*# 0.084687, -0.007813, -0.048750, -0.034375, 0.088125, 0.183750, 0.344062, 0.517500, 0.749375 +#*# 0.085312, -0.000938, 0.030312, 0.031562, 0.112812, 0.270000, 0.425312, 0.583437, 0.839062 +#*# 0.157187, 0.124687, 0.151250, 0.177187, 0.226562, 0.390000, 0.530000, 0.759375, 0.955000 +#*# 0.339062, 0.341562, 0.311250, 0.387812, 0.483437, 0.583125, 0.772500, 0.908125, 1.141250 +#*# 0.542500, 0.534375, 0.544062, 0.583437, 0.694375, 0.822187, 0.948125, 1.116562, 1.328750 +#*# tension = 0.2 +#*# min_x = 28.0 +#*# algo = bicubic +#*# y_count = 9 +#*# mesh_y_pps = 2 +#*# min_y = 21.0 +#*# x_count = 9 +#*# max_y = 459.96 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.616 +#*# pid_ki = 0.844 +#*# pid_kd = 114.017 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20221229_172201.cfg b/printer-20221229_172201.cfg new file mode 100644 index 0000000..5d54a37 --- /dev/null +++ b/printer-20221229_172201.cfg @@ -0,0 +1,339 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 28,21 +mesh_max:465,460 +probe_count: 10,10 +fade_start: 5.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 3.040 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.554687, 0.365625, 0.198750, 0.172812, 0.177187, 0.190312, 0.257812, 0.384687, 0.452812, 0.651250 +#*# 0.486562, 0.327500, 0.212812, 0.185000, 0.172500, 0.203750, 0.287812, 0.420000, 0.500312, 0.650000 +#*# 0.333750, 0.207187, 0.110312, 0.122187, 0.113750, 0.153750, 0.250937, 0.366250, 0.481562, 0.628750 +#*# 0.189687, 0.042187, 0.013125, 0.030625, 0.054375, 0.127500, 0.220937, 0.338125, 0.440000, 0.647500 +#*# 0.025312, -0.028438, -0.076875, -0.064063, 0.002812, 0.087500, 0.225625, 0.301562, 0.465312, 0.648125 +#*# -0.059688, -0.114063, -0.105938, -0.070313, -0.007813, 0.090937, 0.198437, 0.345000, 0.483125, 0.686875 +#*# -0.027188, -0.020625, -0.062500, -0.005625, 0.067812, 0.173125, 0.296562, 0.439687, 0.588125, 0.775312 +#*# 0.077500, 0.041250, 0.079062, 0.127500, 0.202812, 0.316250, 0.420000, 0.568125, 0.728437, 0.872500 +#*# 0.190937, 0.223750, 0.210937, 0.259687, 0.368125, 0.490625, 0.604375, 0.697500, 0.824687, 0.992187 +#*# 0.385312, 0.390625, 0.421250, 0.490937, 0.569062, 0.655312, 0.773125, 0.874375, 1.056875, 1.204375 +#*# tension = 0.2 +#*# min_x = 28.0 +#*# algo = bicubic +#*# y_count = 10 +#*# mesh_y_pps = 2 +#*# min_y = 21.0 +#*# x_count = 10 +#*# max_y = 459.93 +#*# mesh_x_pps = 2 +#*# max_x = 464.95 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.616 +#*# pid_ki = 0.844 +#*# pid_kd = 114.017 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20221229_180755.cfg b/printer-20221229_180755.cfg new file mode 100644 index 0000000..7259786 --- /dev/null +++ b/printer-20221229_180755.cfg @@ -0,0 +1,339 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 28,21 +mesh_max:465,460 +probe_count: 10,10 +fade_start: 5.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 3.040 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.639062, 0.424687, 0.258437, 0.241875, 0.230312, 0.246875, 0.328125, 0.414062, 0.500625, 0.680000 +#*# 0.564687, 0.393125, 0.277812, 0.231875, 0.185312, 0.231250, 0.281875, 0.411250, 0.548437, 0.672812 +#*# 0.420625, 0.269687, 0.158125, 0.149062, 0.135625, 0.183437, 0.253437, 0.372187, 0.493750, 0.635625 +#*# 0.261562, 0.093125, 0.050937, 0.038125, 0.081562, 0.124062, 0.225625, 0.337500, 0.458125, 0.671875 +#*# 0.072187, 0.003750, -0.058750, -0.050938, 0.008125, 0.077812, 0.234375, 0.315312, 0.470312, 0.645312 +#*# -0.024688, -0.101250, -0.121250, -0.080625, -0.048438, 0.078437, 0.175312, 0.323437, 0.460000, 0.666250 +#*# -0.021563, -0.035313, -0.082500, -0.036875, 0.003125, 0.100312, 0.242500, 0.379687, 0.519062, 0.723437 +#*# 0.054062, 0.006250, 0.014062, 0.055625, 0.117500, 0.200937, 0.335312, 0.489062, 0.647500, 0.789062 +#*# 0.137187, 0.130625, 0.120312, 0.160000, 0.248750, 0.358125, 0.451250, 0.552812, 0.729687, 0.897187 +#*# 0.296562, 0.284062, 0.302500, 0.377187, 0.430000, 0.519062, 0.624687, 0.718750, 0.899687, 1.069687 +#*# tension = 0.2 +#*# min_x = 28.0 +#*# algo = bicubic +#*# y_count = 10 +#*# mesh_y_pps = 2 +#*# min_y = 21.0 +#*# x_count = 10 +#*# max_y = 459.93 +#*# mesh_x_pps = 2 +#*# max_x = 464.95 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.616 +#*# pid_ki = 0.844 +#*# pid_kd = 114.017 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20230105_204524.cfg b/printer-20230105_204524.cfg new file mode 100644 index 0000000..030dac9 --- /dev/null +++ b/printer-20230105_204524.cfg @@ -0,0 +1,339 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 28,21 +mesh_max:465,460 +probe_count: 10,10 +fade_start: 5.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.940 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.639062, 0.424687, 0.258437, 0.241875, 0.230312, 0.246875, 0.328125, 0.414062, 0.500625, 0.680000 +#*# 0.564687, 0.393125, 0.277812, 0.231875, 0.185312, 0.231250, 0.281875, 0.411250, 0.548437, 0.672812 +#*# 0.420625, 0.269687, 0.158125, 0.149062, 0.135625, 0.183437, 0.253437, 0.372187, 0.493750, 0.635625 +#*# 0.261562, 0.093125, 0.050937, 0.038125, 0.081562, 0.124062, 0.225625, 0.337500, 0.458125, 0.671875 +#*# 0.072187, 0.003750, -0.058750, -0.050938, 0.008125, 0.077812, 0.234375, 0.315312, 0.470312, 0.645312 +#*# -0.024688, -0.101250, -0.121250, -0.080625, -0.048438, 0.078437, 0.175312, 0.323437, 0.460000, 0.666250 +#*# -0.021563, -0.035313, -0.082500, -0.036875, 0.003125, 0.100312, 0.242500, 0.379687, 0.519062, 0.723437 +#*# 0.054062, 0.006250, 0.014062, 0.055625, 0.117500, 0.200937, 0.335312, 0.489062, 0.647500, 0.789062 +#*# 0.137187, 0.130625, 0.120312, 0.160000, 0.248750, 0.358125, 0.451250, 0.552812, 0.729687, 0.897187 +#*# 0.296562, 0.284062, 0.302500, 0.377187, 0.430000, 0.519062, 0.624687, 0.718750, 0.899687, 1.069687 +#*# tension = 0.2 +#*# min_x = 28.0 +#*# algo = bicubic +#*# y_count = 10 +#*# mesh_y_pps = 2 +#*# min_y = 21.0 +#*# x_count = 10 +#*# max_y = 459.93 +#*# mesh_x_pps = 2 +#*# max_x = 464.95 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.616 +#*# pid_ki = 0.844 +#*# pid_kd = 114.017 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20230108_154326.cfg b/printer-20230108_154326.cfg new file mode 100644 index 0000000..bf66fef --- /dev/null +++ b/printer-20230108_154326.cfg @@ -0,0 +1,339 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 28,21 +mesh_max:465,460 +probe_count: 10,10 +fade_start: 5.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.940 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.639062, 0.424687, 0.258437, 0.241875, 0.230312, 0.246875, 0.328125, 0.414062, 0.500625, 0.680000 +#*# 0.564687, 0.393125, 0.277812, 0.231875, 0.185312, 0.231250, 0.281875, 0.411250, 0.548437, 0.672812 +#*# 0.420625, 0.269687, 0.158125, 0.149062, 0.135625, 0.183437, 0.253437, 0.372187, 0.493750, 0.635625 +#*# 0.261562, 0.093125, 0.050937, 0.038125, 0.081562, 0.124062, 0.225625, 0.337500, 0.458125, 0.671875 +#*# 0.072187, 0.003750, -0.058750, -0.050938, 0.008125, 0.077812, 0.234375, 0.315312, 0.470312, 0.645312 +#*# -0.024688, -0.101250, -0.121250, -0.080625, -0.048438, 0.078437, 0.175312, 0.323437, 0.460000, 0.666250 +#*# -0.021563, -0.035313, -0.082500, -0.036875, 0.003125, 0.100312, 0.242500, 0.379687, 0.519062, 0.723437 +#*# 0.054062, 0.006250, 0.014062, 0.055625, 0.117500, 0.200937, 0.335312, 0.489062, 0.647500, 0.789062 +#*# 0.137187, 0.130625, 0.120312, 0.160000, 0.248750, 0.358125, 0.451250, 0.552812, 0.729687, 0.897187 +#*# 0.296562, 0.284062, 0.302500, 0.377187, 0.430000, 0.519062, 0.624687, 0.718750, 0.899687, 1.069687 +#*# tension = 0.2 +#*# min_x = 28.0 +#*# algo = bicubic +#*# y_count = 10 +#*# mesh_y_pps = 2 +#*# min_y = 21.0 +#*# x_count = 10 +#*# max_y = 459.93 +#*# mesh_x_pps = 2 +#*# max_x = 464.95 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.661 +#*# pid_ki = 0.819 +#*# pid_kd = 117.969 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20230109_110433.cfg b/printer-20230109_110433.cfg new file mode 100644 index 0000000..0ca1937 --- /dev/null +++ b/printer-20230109_110433.cfg @@ -0,0 +1,339 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 28,21 +mesh_max:465,460 +probe_count: 10,10 +fade_start: 5.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.940 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.555625, 0.374687, 0.219375, 0.202187, 0.221250, 0.264687, 0.364687, 0.525312, 0.640625, 0.882812 +#*# 0.490625, 0.334687, 0.227187, 0.208125, 0.215312, 0.274687, 0.377500, 0.548437, 0.687187, 0.871250 +#*# 0.340000, 0.206562, 0.115000, 0.139375, 0.154375, 0.215625, 0.356250, 0.515312, 0.670000, 0.864062 +#*# 0.168125, 0.039375, 0.020937, 0.058125, 0.089687, 0.185000, 0.305937, 0.470000, 0.631562, 0.887500 +#*# 0.013750, -0.047813, -0.088750, -0.050625, 0.032812, 0.153750, 0.345625, 0.444687, 0.649062, 0.867500 +#*# -0.098125, -0.149063, -0.131563, -0.085938, 0.000625, 0.120312, 0.263125, 0.438437, 0.633437, 0.862187 +#*# -0.115000, -0.095938, -0.125313, -0.055625, 0.027187, 0.160312, 0.315937, 0.489062, 0.676562, 0.934062 +#*# -0.026563, -0.060625, -0.026250, 0.030625, 0.114062, 0.254062, 0.394062, 0.587500, 0.780625, 0.999375 +#*# 0.044062, 0.048437, 0.049687, 0.122187, 0.280312, 0.400312, 0.502187, 0.670625, 0.852500, 1.084687 +#*# 0.176250, 0.179062, 0.227812, 0.314687, 0.387187, 0.512500, 0.648125, 0.784687, 1.009375, 1.224375 +#*# tension = 0.2 +#*# min_x = 28.0 +#*# algo = bicubic +#*# y_count = 10 +#*# mesh_y_pps = 2 +#*# min_y = 21.0 +#*# x_count = 10 +#*# max_y = 459.93 +#*# mesh_x_pps = 2 +#*# max_x = 464.95 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.661 +#*# pid_ki = 0.819 +#*# pid_kd = 117.969 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20230109_110942.cfg b/printer-20230109_110942.cfg new file mode 100644 index 0000000..c72afb1 --- /dev/null +++ b/printer-20230109_110942.cfg @@ -0,0 +1,339 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 28,21 +mesh_max:465,460 +probe_count: 10,10 +fade_start: 5.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.940 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.533437, 0.361250, 0.195625, 0.148125, 0.168437, 0.198750, 0.254375, 0.394687, 0.470000, 0.663750 +#*# 0.464375, 0.308125, 0.186250, 0.162187, 0.154062, 0.194687, 0.283750, 0.416562, 0.533437, 0.690625 +#*# 0.335625, 0.186562, 0.084375, 0.101875, 0.095625, 0.139687, 0.255625, 0.379062, 0.492812, 0.649375 +#*# 0.163125, 0.040312, -0.005000, 0.029062, 0.036250, 0.114687, 0.214062, 0.336875, 0.463125, 0.666250 +#*# 0.022500, -0.036875, -0.090938, -0.067813, -0.002188, 0.077500, 0.226250, 0.311562, 0.481250, 0.674062 +#*# -0.065625, -0.113438, -0.108750, -0.085000, -0.002813, 0.085625, 0.188750, 0.347187, 0.504375, 0.694687 +#*# -0.044375, -0.024375, -0.064375, -0.008125, 0.058750, 0.168437, 0.275000, 0.425937, 0.577812, 0.791562 +#*# 0.070000, 0.032187, 0.065000, 0.100000, 0.171875, 0.293437, 0.395625, 0.556250, 0.718125, 0.880312 +#*# 0.168750, 0.176562, 0.175937, 0.230937, 0.366250, 0.462812, 0.555000, 0.686562, 0.813437, 0.993125 +#*# 0.335312, 0.349375, 0.385000, 0.460312, 0.522187, 0.619062, 0.747500, 0.842187, 1.026250, 1.203125 +#*# tension = 0.2 +#*# min_x = 28.0 +#*# algo = bicubic +#*# y_count = 10 +#*# mesh_y_pps = 2 +#*# min_y = 21.0 +#*# x_count = 10 +#*# max_y = 459.93 +#*# mesh_x_pps = 2 +#*# max_x = 464.95 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.661 +#*# pid_ki = 0.819 +#*# pid_kd = 117.969 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20230109_111119.cfg b/printer-20230109_111119.cfg new file mode 100644 index 0000000..f2f60fa --- /dev/null +++ b/printer-20230109_111119.cfg @@ -0,0 +1,339 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 28,21 +mesh_max:465,460 +probe_count: 10,10 +fade_start: 5.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.900 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.533437, 0.361250, 0.195625, 0.148125, 0.168437, 0.198750, 0.254375, 0.394687, 0.470000, 0.663750 +#*# 0.464375, 0.308125, 0.186250, 0.162187, 0.154062, 0.194687, 0.283750, 0.416562, 0.533437, 0.690625 +#*# 0.335625, 0.186562, 0.084375, 0.101875, 0.095625, 0.139687, 0.255625, 0.379062, 0.492812, 0.649375 +#*# 0.163125, 0.040312, -0.005000, 0.029062, 0.036250, 0.114687, 0.214062, 0.336875, 0.463125, 0.666250 +#*# 0.022500, -0.036875, -0.090938, -0.067813, -0.002188, 0.077500, 0.226250, 0.311562, 0.481250, 0.674062 +#*# -0.065625, -0.113438, -0.108750, -0.085000, -0.002813, 0.085625, 0.188750, 0.347187, 0.504375, 0.694687 +#*# -0.044375, -0.024375, -0.064375, -0.008125, 0.058750, 0.168437, 0.275000, 0.425937, 0.577812, 0.791562 +#*# 0.070000, 0.032187, 0.065000, 0.100000, 0.171875, 0.293437, 0.395625, 0.556250, 0.718125, 0.880312 +#*# 0.168750, 0.176562, 0.175937, 0.230937, 0.366250, 0.462812, 0.555000, 0.686562, 0.813437, 0.993125 +#*# 0.335312, 0.349375, 0.385000, 0.460312, 0.522187, 0.619062, 0.747500, 0.842187, 1.026250, 1.203125 +#*# tension = 0.2 +#*# min_x = 28.0 +#*# algo = bicubic +#*# y_count = 10 +#*# mesh_y_pps = 2 +#*# min_y = 21.0 +#*# x_count = 10 +#*# max_y = 459.93 +#*# mesh_x_pps = 2 +#*# max_x = 464.95 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.661 +#*# pid_ki = 0.819 +#*# pid_kd = 117.969 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20230109_111752.cfg b/printer-20230109_111752.cfg new file mode 100644 index 0000000..f73f858 --- /dev/null +++ b/printer-20230109_111752.cfg @@ -0,0 +1,339 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 28,21 +mesh_max:465,460 +probe_count: 10,10 +fade_start: 5.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.920 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.533437, 0.361250, 0.195625, 0.148125, 0.168437, 0.198750, 0.254375, 0.394687, 0.470000, 0.663750 +#*# 0.464375, 0.308125, 0.186250, 0.162187, 0.154062, 0.194687, 0.283750, 0.416562, 0.533437, 0.690625 +#*# 0.335625, 0.186562, 0.084375, 0.101875, 0.095625, 0.139687, 0.255625, 0.379062, 0.492812, 0.649375 +#*# 0.163125, 0.040312, -0.005000, 0.029062, 0.036250, 0.114687, 0.214062, 0.336875, 0.463125, 0.666250 +#*# 0.022500, -0.036875, -0.090938, -0.067813, -0.002188, 0.077500, 0.226250, 0.311562, 0.481250, 0.674062 +#*# -0.065625, -0.113438, -0.108750, -0.085000, -0.002813, 0.085625, 0.188750, 0.347187, 0.504375, 0.694687 +#*# -0.044375, -0.024375, -0.064375, -0.008125, 0.058750, 0.168437, 0.275000, 0.425937, 0.577812, 0.791562 +#*# 0.070000, 0.032187, 0.065000, 0.100000, 0.171875, 0.293437, 0.395625, 0.556250, 0.718125, 0.880312 +#*# 0.168750, 0.176562, 0.175937, 0.230937, 0.366250, 0.462812, 0.555000, 0.686562, 0.813437, 0.993125 +#*# 0.335312, 0.349375, 0.385000, 0.460312, 0.522187, 0.619062, 0.747500, 0.842187, 1.026250, 1.203125 +#*# tension = 0.2 +#*# min_x = 28.0 +#*# algo = bicubic +#*# y_count = 10 +#*# mesh_y_pps = 2 +#*# min_y = 21.0 +#*# x_count = 10 +#*# max_y = 459.93 +#*# mesh_x_pps = 2 +#*# max_x = 464.95 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.661 +#*# pid_ki = 0.819 +#*# pid_kd = 117.969 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20230110_085003.cfg b/printer-20230110_085003.cfg new file mode 100644 index 0000000..8dea965 --- /dev/null +++ b/printer-20230110_085003.cfg @@ -0,0 +1,339 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 28,21 +mesh_max:465,460 +probe_count: 10,10 +fade_start: 5.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.920 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.530312, 0.340000, 0.180000, 0.161562, 0.163125, 0.175312, 0.245625, 0.368437, 0.451562, 0.653750 +#*# 0.456875, 0.302500, 0.200625, 0.161875, 0.153437, 0.191875, 0.273750, 0.410312, 0.509375, 0.651875 +#*# 0.323750, 0.186562, 0.094375, 0.106562, 0.100937, 0.139375, 0.236875, 0.364062, 0.485312, 0.633437 +#*# 0.159687, 0.031250, 0.007812, 0.027187, 0.054375, 0.119687, 0.218437, 0.335312, 0.455312, 0.665937 +#*# 0.010312, -0.039688, -0.084688, -0.067813, 0.000937, 0.083125, 0.238750, 0.308750, 0.482187, 0.664375 +#*# -0.073438, -0.126250, -0.118125, -0.082188, -0.012500, 0.093125, 0.198125, 0.351875, 0.498437, 0.700937 +#*# -0.060625, -0.040625, -0.083750, -0.020625, 0.054375, 0.149062, 0.275937, 0.416875, 0.575000, 0.769062 +#*# 0.038125, -0.002188, 0.034062, 0.079687, 0.148437, 0.266562, 0.369687, 0.531562, 0.687812, 0.840937 +#*# 0.138437, 0.157187, 0.149062, 0.205625, 0.329375, 0.438750, 0.541250, 0.646875, 0.778437, 0.958125 +#*# 0.310312, 0.318750, 0.352500, 0.425312, 0.496250, 0.581562, 0.707187, 0.804687, 0.983437, 1.161250 +#*# tension = 0.2 +#*# min_x = 28.0 +#*# algo = bicubic +#*# y_count = 10 +#*# mesh_y_pps = 2 +#*# min_y = 21.0 +#*# x_count = 10 +#*# max_y = 459.93 +#*# mesh_x_pps = 2 +#*# max_x = 464.95 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.661 +#*# pid_ki = 0.819 +#*# pid_kd = 117.969 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20230110_153226.cfg b/printer-20230110_153226.cfg new file mode 100644 index 0000000..91ef434 --- /dev/null +++ b/printer-20230110_153226.cfg @@ -0,0 +1,339 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 20,20 +mesh_max:465,460 +probe_count: 10,10 +fade_start: 1.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.920 +#*# +#*# [bed_mesh vcore] +#*# version = 1 +#*# points = +#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 +#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 +#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 +#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 +#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.588437, 0.368437, 0.182187, 0.106250, 0.136250, 0.152500, 0.219687, 0.321875, 0.426250, 0.597812 +#*# 0.545937, 0.339375, 0.202187, 0.170625, 0.113125, 0.175000, 0.264687, 0.386875, 0.513437, 0.657187 +#*# 0.407812, 0.231875, 0.102812, 0.080000, 0.091875, 0.130625, 0.244375, 0.365937, 0.492187, 0.658125 +#*# 0.250937, 0.111875, 0.023125, 0.023125, 0.030625, 0.112187, 0.215000, 0.338750, 0.486875, 0.688437 +#*# 0.115625, 0.022812, -0.068438, -0.046250, 0.004062, 0.083437, 0.230000, 0.326562, 0.493750, 0.685625 +#*# 0.010000, -0.061875, -0.088750, -0.070938, -0.022500, 0.067500, 0.183125, 0.338437, 0.497812, 0.709375 +#*# 0.013750, 0.005000, -0.038438, -0.002188, 0.006250, 0.129375, 0.256562, 0.409062, 0.565937, 0.793750 +#*# 0.104062, 0.036875, 0.043437, 0.034062, 0.121562, 0.209062, 0.368125, 0.503437, 0.684687, 0.850937 +#*# 0.206562, 0.147187, 0.153125, 0.180625, 0.317812, 0.397500, 0.490312, 0.622187, 0.747500, 0.971875 +#*# 0.348125, 0.305937, 0.296875, 0.390625, 0.445000, 0.532187, 0.655937, 0.772500, 0.942500, 1.139062 +#*# tension = 0.2 +#*# min_x = 28.0 +#*# algo = bicubic +#*# y_count = 10 +#*# mesh_y_pps = 2 +#*# min_y = 21.0 +#*# x_count = 10 +#*# max_y = 459.93 +#*# mesh_x_pps = 2 +#*# max_x = 464.95 +#*# +#*# [bed_mesh ratos] +#*# version = 1 +#*# points = +#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 +#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 +#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 +#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 +#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 5 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 5 +#*# max_y = 450.0 +#*# mesh_x_pps = 2 +#*# max_x = 450.0 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.661 +#*# pid_ki = 0.819 +#*# pid_kd = 117.969 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20230110_171000.cfg b/printer-20230110_171000.cfg new file mode 100644 index 0000000..9e117c1 --- /dev/null +++ b/printer-20230110_171000.cfg @@ -0,0 +1,301 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 10,10 +mesh_max:465,460 +probe_count: 10,10 +fade_start: 1.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.920 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.610000, 0.369062, 0.203750, 0.143750, 0.094375, 0.174687, 0.204687, 0.328437, 0.450937, 0.619687 +#*# 0.560937, 0.357187, 0.215000, 0.171875, 0.175312, 0.167812, 0.285937, 0.383437, 0.499375, 0.646562 +#*# 0.418125, 0.245937, 0.129687, 0.089062, 0.087500, 0.156562, 0.248125, 0.323750, 0.469062, 0.651250 +#*# 0.219375, 0.128437, 0.032812, 0.008125, 0.070000, 0.090000, 0.186250, 0.316250, 0.455000, 0.680000 +#*# 0.120625, -0.008125, -0.040625, -0.050313, -0.001563, 0.067500, 0.205937, 0.342500, 0.468750, 0.677500 +#*# 0.032500, -0.090000, -0.085000, -0.105938, -0.019375, 0.033437, 0.169062, 0.325000, 0.478750, 0.736875 +#*# 0.017500, -0.001563, -0.038750, -0.021875, 0.037500, 0.102812, 0.276875, 0.433750, 0.566250, 0.766250 +#*# 0.050000, 0.050625, 0.038437, 0.083437, 0.122187, 0.238437, 0.395937, 0.511562, 0.652187, 0.850000 +#*# 0.203437, 0.202812, 0.165937, 0.198437, 0.304062, 0.391562, 0.520625, 0.620000, 0.783437, 0.965625 +#*# 0.359687, 0.325937, 0.320000, 0.398750, 0.435937, 0.562500, 0.676250, 0.793437, 0.935937, 1.135625 +#*# tension = 0.2 +#*# min_x = 20.0 +#*# algo = bicubic +#*# y_count = 10 +#*# mesh_y_pps = 2 +#*# min_y = 20.0 +#*# x_count = 10 +#*# max_y = 459.92 +#*# mesh_x_pps = 2 +#*# max_x = 464.96 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.661 +#*# pid_ki = 0.819 +#*# pid_kd = 117.969 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20230111_135813.cfg b/printer-20230111_135813.cfg new file mode 100644 index 0000000..c9bd3eb --- /dev/null +++ b/printer-20230111_135813.cfg @@ -0,0 +1,301 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 15,15 +mesh_max:465,460 +probe_count: 28,13 +fade_start: 1.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.920 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.745312, 0.458750, 0.283437, 0.194687, 0.239375, 0.210937, 0.257187, 0.372187, 0.482187, 0.659375 +#*# 0.672812, 0.441875, 0.291250, 0.217812, 0.202187, 0.248750, 0.294062, 0.371250, 0.527187, 0.690937 +#*# 0.539375, 0.319687, 0.200000, 0.155312, 0.120312, 0.171250, 0.255937, 0.363437, 0.482500, 0.675625 +#*# 0.342187, 0.166875, 0.073437, 0.061562, 0.074375, 0.117812, 0.199062, 0.352187, 0.477500, 0.665937 +#*# 0.180000, 0.059375, -0.040938, -0.042500, 0.006250, 0.105000, 0.179687, 0.345625, 0.455625, 0.671875 +#*# 0.049687, -0.077813, -0.097188, -0.092500, -0.045000, 0.051250, 0.196250, 0.315937, 0.484062, 0.673750 +#*# 0.016250, -0.032813, -0.083438, -0.085313, -0.014688, 0.080312, 0.238437, 0.404687, 0.521562, 0.749375 +#*# 0.052500, 0.023750, -0.018750, 0.024687, 0.070937, 0.190000, 0.309687, 0.424062, 0.596562, 0.766875 +#*# 0.175937, 0.132187, 0.120000, 0.159687, 0.231562, 0.354062, 0.463750, 0.571875, 0.716562, 0.922500 +#*# 0.290000, 0.247187, 0.252500, 0.302187, 0.420312, 0.480625, 0.606875, 0.680312, 0.849687, 1.054062 +#*# tension = 0.2 +#*# min_x = 10.0 +#*# algo = bicubic +#*# y_count = 10 +#*# mesh_y_pps = 2 +#*# min_y = 10.0 +#*# x_count = 10 +#*# max_y = 460.0 +#*# mesh_x_pps = 2 +#*# max_x = 464.95 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.661 +#*# pid_ki = 0.819 +#*# pid_kd = 117.969 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20230118_193928.cfg b/printer-20230118_193928.cfg new file mode 100644 index 0000000..aadaf2e --- /dev/null +++ b/printer-20230118_193928.cfg @@ -0,0 +1,304 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 15,15 +mesh_max:465,460 +probe_count: 28,13 +fade_start: 1.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.920 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.701250, 0.591250, 0.491562, 0.383750, 0.387187, 0.284062, 0.230000, 0.199062, 0.156562, 0.186562, 0.155937, 0.129687, 0.150625, 0.163750, 0.163750, 0.177500, 0.191250, 0.198125, 0.230000, 0.266250, 0.299375, 0.333750, 0.392187, 0.424687, 0.464687, 0.534687, 0.570312, 0.655000 +#*# 0.690625, 0.563437, 0.480000, 0.439687, 0.355937, 0.295937, 0.280312, 0.220937, 0.219375, 0.180000, 0.186562, 0.163437, 0.185625, 0.205937, 0.185312, 0.204062, 0.193125, 0.233125, 0.267500, 0.310625, 0.367187, 0.371875, 0.440937, 0.465000, 0.541250, 0.538750, 0.651250, 0.677500 +#*# 0.620625, 0.543750, 0.437812, 0.336250, 0.314062, 0.277812, 0.245625, 0.212187, 0.185000, 0.184062, 0.170312, 0.138125, 0.175625, 0.172187, 0.194062, 0.192812, 0.207812, 0.246562, 0.296875, 0.311875, 0.337812, 0.370937, 0.428125, 0.465625, 0.534062, 0.606562, 0.642500, 0.700625 +#*# 0.495625, 0.405000, 0.340625, 0.296562, 0.235312, 0.184062, 0.170937, 0.140937, 0.113125, 0.126875, 0.115000, 0.122812, 0.102187, 0.126875, 0.126250, 0.136562, 0.171562, 0.221562, 0.228750, 0.280312, 0.320312, 0.369687, 0.391562, 0.479687, 0.465937, 0.572500, 0.613750, 0.735625 +#*# 0.335000, 0.258437, 0.224687, 0.195000, 0.129062, 0.067187, 0.056875, 0.087500, 0.060312, 0.045937, 0.059687, 0.100312, 0.066875, 0.070937, 0.123750, 0.110312, 0.135000, 0.205625, 0.222500, 0.263125, 0.323125, 0.370000, 0.409062, 0.438437, 0.496562, 0.563437, 0.640937, 0.720937 +#*# 0.256250, 0.188750, 0.112812, 0.101250, 0.071875, 0.020625, 0.013750, 0.015937, -0.018438, 0.025000, 0.020625, 0.052187, 0.076875, 0.080937, 0.112500, 0.120312, 0.145312, 0.161875, 0.258437, 0.263125, 0.309375, 0.334062, 0.400625, 0.420312, 0.527187, 0.589375, 0.656562, 0.729375 +#*# 0.139687, 0.074375, 0.025000, -0.008750, -0.019688, -0.025625, -0.045000, -0.023125, -0.037813, -0.043438, -0.047188, -0.008125, 0.020312, 0.022500, 0.049687, 0.096875, 0.154687, 0.209062, 0.195000, 0.269687, 0.285312, 0.335937, 0.373750, 0.455625, 0.492812, 0.588125, 0.647812, 0.730625 +#*# 0.077500, 0.035312, -0.002500, 0.005937, -0.022500, -0.063125, -0.059375, -0.042188, -0.084063, -0.081563, -0.068438, -0.050625, 0.015000, 0.004687, 0.052812, 0.108125, 0.137500, 0.181875, 0.214375, 0.249375, 0.330625, 0.364375, 0.420312, 0.445937, 0.525000, 0.594062, 0.658750, 0.728750 +#*# 0.079687, 0.062187, 0.061250, 0.014375, 0.009687, -0.008438, 0.005312, -0.004688, -0.039688, 0.017812, 0.015937, 0.045000, 0.043437, 0.075937, 0.130937, 0.170312, 0.182812, 0.259375, 0.273437, 0.355312, 0.408125, 0.454375, 0.524062, 0.538750, 0.618750, 0.659687, 0.748750, 0.808437 +#*# 0.118750, 0.060312, 0.075000, 0.078125, 0.068125, 0.055625, 0.030000, 0.062187, 0.052812, 0.047812, 0.091875, 0.095000, 0.144687, 0.176562, 0.152187, 0.186875, 0.243750, 0.301875, 0.344062, 0.390625, 0.464375, 0.500625, 0.560000, 0.599375, 0.638750, 0.738750, 0.757812, 0.857187 +#*# 0.200000, 0.159375, 0.148125, 0.158437, 0.150625, 0.133437, 0.129687, 0.117187, 0.136250, 0.187500, 0.180937, 0.180312, 0.215937, 0.228125, 0.293750, 0.345625, 0.357500, 0.383437, 0.454062, 0.500312, 0.550625, 0.620312, 0.626875, 0.693125, 0.728750, 0.790625, 0.868750, 0.950000 +#*# 0.300000, 0.284687, 0.257500, 0.252187, 0.267812, 0.217500, 0.220000, 0.236250, 0.229375, 0.292812, 0.321562, 0.341875, 0.365625, 0.384062, 0.377187, 0.444375, 0.526875, 0.519375, 0.576562, 0.601562, 0.627187, 0.690937, 0.734375, 0.811250, 0.818750, 0.892187, 0.951875, 1.015312 +#*# 0.389062, 0.406250, 0.380000, 0.379062, 0.353750, 0.365312, 0.364062, 0.405000, 0.419375, 0.409687, 0.435625, 0.489687, 0.496562, 0.524062, 0.565937, 0.570000, 0.558750, 0.638125, 0.688125, 0.730000, 0.759062, 0.819062, 0.875625, 0.909062, 0.982187, 1.008437, 1.092187, 1.169062 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 13 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 28 +#*# max_y = 459.96 +#*# mesh_x_pps = 2 +#*# max_x = 464.82 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.661 +#*# pid_ki = 0.819 +#*# pid_kd = 117.969 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20230120_045424.cfg b/printer-20230120_045424.cfg new file mode 100644 index 0000000..8c7a3d8 --- /dev/null +++ b/printer-20230120_045424.cfg @@ -0,0 +1,304 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 15,15 +mesh_max:465,460 +probe_count: 28,13 +fade_start: 1.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.920 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.756250, 0.660312, 0.556562, 0.486875, 0.458750, 0.339687, 0.305312, 0.262812, 0.213750, 0.233125, 0.214062, 0.187812, 0.229375, 0.226250, 0.215937, 0.249062, 0.259062, 0.268750, 0.301875, 0.340000, 0.352500, 0.398125, 0.432187, 0.481875, 0.502500, 0.583437, 0.605000, 0.698750 +#*# 0.730937, 0.616250, 0.543125, 0.496562, 0.411250, 0.362500, 0.328750, 0.267500, 0.262500, 0.236562, 0.249062, 0.217500, 0.228125, 0.258437, 0.232812, 0.250000, 0.260000, 0.271562, 0.303750, 0.357812, 0.405312, 0.416562, 0.488437, 0.510000, 0.591250, 0.575312, 0.683125, 0.716250 +#*# 0.675312, 0.593750, 0.485312, 0.391562, 0.372187, 0.332187, 0.281250, 0.265937, 0.227500, 0.228437, 0.213437, 0.180937, 0.200312, 0.183437, 0.241875, 0.229062, 0.214687, 0.281875, 0.334375, 0.361875, 0.370312, 0.407187, 0.464687, 0.500000, 0.557187, 0.632812, 0.672500, 0.715625 +#*# 0.541250, 0.448437, 0.387812, 0.338125, 0.272812, 0.219062, 0.204687, 0.183750, 0.164375, 0.161250, 0.162812, 0.155000, 0.133750, 0.154062, 0.165000, 0.166875, 0.199375, 0.257187, 0.269062, 0.319375, 0.350937, 0.373125, 0.405937, 0.498437, 0.485937, 0.586250, 0.640937, 0.709062 +#*# 0.374062, 0.293750, 0.260000, 0.242187, 0.165625, 0.113750, 0.095625, 0.136562, 0.094062, 0.070937, 0.098125, 0.130000, 0.094687, 0.102500, 0.152187, 0.154375, 0.171875, 0.224687, 0.247812, 0.283437, 0.328750, 0.389062, 0.417812, 0.450000, 0.512187, 0.578125, 0.649062, 0.735625 +#*# 0.285937, 0.226562, 0.164062, 0.139687, 0.122500, 0.067500, 0.040937, 0.043437, 0.014375, 0.049375, 0.046250, 0.056562, 0.101875, 0.102812, 0.135000, 0.143437, 0.163750, 0.174375, 0.269687, 0.289375, 0.331875, 0.363750, 0.404687, 0.439687, 0.545312, 0.608750, 0.668437, 0.730000 +#*# 0.164062, 0.116562, 0.064687, 0.031875, 0.010937, 0.009062, -0.004063, 0.003125, -0.003750, -0.010000, -0.018438, 0.016562, 0.050625, 0.043125, 0.053750, 0.104687, 0.170625, 0.218750, 0.205625, 0.278750, 0.312500, 0.356875, 0.381250, 0.481875, 0.495937, 0.598437, 0.659687, 0.731875 +#*# 0.121250, 0.075000, 0.035312, 0.036562, 0.010000, -0.047813, -0.054375, -0.018438, -0.036250, -0.059063, -0.036875, -0.025313, 0.041875, 0.020937, 0.084687, 0.122187, 0.172500, 0.212812, 0.250000, 0.259375, 0.352812, 0.389062, 0.447500, 0.460000, 0.544062, 0.604062, 0.680937, 0.754687 +#*# 0.096875, 0.081562, 0.058125, 0.028125, 0.026562, 0.014062, 0.025937, 0.028437, -0.018125, 0.038437, 0.034062, 0.045625, 0.058125, 0.063125, 0.132187, 0.171875, 0.181562, 0.254375, 0.272187, 0.356250, 0.410625, 0.458750, 0.529062, 0.535625, 0.620625, 0.650937, 0.734062, 0.801562 +#*# 0.130625, 0.071250, 0.089687, 0.085312, 0.083437, 0.066562, 0.052812, 0.069062, 0.048750, 0.055937, 0.085625, 0.112187, 0.158125, 0.172500, 0.171562, 0.205000, 0.247812, 0.331250, 0.340625, 0.402812, 0.462812, 0.489062, 0.571875, 0.600625, 0.614687, 0.749375, 0.796562, 0.855937 +#*# 0.211562, 0.181875, 0.151875, 0.172812, 0.160000, 0.133125, 0.135937, 0.131875, 0.144687, 0.207812, 0.185625, 0.193437, 0.200312, 0.231562, 0.290312, 0.339375, 0.354375, 0.373437, 0.444375, 0.487500, 0.526875, 0.605625, 0.590937, 0.669062, 0.720937, 0.746875, 0.827812, 0.924687 +#*# 0.300937, 0.287500, 0.252812, 0.267187, 0.268125, 0.220625, 0.208125, 0.221875, 0.219375, 0.285312, 0.312187, 0.337187, 0.362812, 0.381562, 0.364062, 0.426250, 0.520937, 0.497187, 0.575000, 0.593750, 0.613125, 0.667187, 0.716250, 0.791875, 0.794375, 0.851875, 0.921875, 0.991250 +#*# 0.387187, 0.382500, 0.381562, 0.374687, 0.343437, 0.340625, 0.323750, 0.356875, 0.373125, 0.404375, 0.428437, 0.509062, 0.490312, 0.510625, 0.535937, 0.550312, 0.529687, 0.618437, 0.673437, 0.702500, 0.695000, 0.793125, 0.801875, 0.872812, 0.930312, 0.981250, 1.057812, 1.102187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 13 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 28 +#*# max_y = 459.96 +#*# mesh_x_pps = 2 +#*# max_x = 464.82 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.661 +#*# pid_ki = 0.819 +#*# pid_kd = 117.969 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20230120_045706.cfg b/printer-20230120_045706.cfg new file mode 100644 index 0000000..43a5da9 --- /dev/null +++ b/printer-20230120_045706.cfg @@ -0,0 +1,304 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 15,15 +mesh_max:465,460 +probe_count: 28,13 +fade_start: 1.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.940 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.756250, 0.660312, 0.556562, 0.486875, 0.458750, 0.339687, 0.305312, 0.262812, 0.213750, 0.233125, 0.214062, 0.187812, 0.229375, 0.226250, 0.215937, 0.249062, 0.259062, 0.268750, 0.301875, 0.340000, 0.352500, 0.398125, 0.432187, 0.481875, 0.502500, 0.583437, 0.605000, 0.698750 +#*# 0.730937, 0.616250, 0.543125, 0.496562, 0.411250, 0.362500, 0.328750, 0.267500, 0.262500, 0.236562, 0.249062, 0.217500, 0.228125, 0.258437, 0.232812, 0.250000, 0.260000, 0.271562, 0.303750, 0.357812, 0.405312, 0.416562, 0.488437, 0.510000, 0.591250, 0.575312, 0.683125, 0.716250 +#*# 0.675312, 0.593750, 0.485312, 0.391562, 0.372187, 0.332187, 0.281250, 0.265937, 0.227500, 0.228437, 0.213437, 0.180937, 0.200312, 0.183437, 0.241875, 0.229062, 0.214687, 0.281875, 0.334375, 0.361875, 0.370312, 0.407187, 0.464687, 0.500000, 0.557187, 0.632812, 0.672500, 0.715625 +#*# 0.541250, 0.448437, 0.387812, 0.338125, 0.272812, 0.219062, 0.204687, 0.183750, 0.164375, 0.161250, 0.162812, 0.155000, 0.133750, 0.154062, 0.165000, 0.166875, 0.199375, 0.257187, 0.269062, 0.319375, 0.350937, 0.373125, 0.405937, 0.498437, 0.485937, 0.586250, 0.640937, 0.709062 +#*# 0.374062, 0.293750, 0.260000, 0.242187, 0.165625, 0.113750, 0.095625, 0.136562, 0.094062, 0.070937, 0.098125, 0.130000, 0.094687, 0.102500, 0.152187, 0.154375, 0.171875, 0.224687, 0.247812, 0.283437, 0.328750, 0.389062, 0.417812, 0.450000, 0.512187, 0.578125, 0.649062, 0.735625 +#*# 0.285937, 0.226562, 0.164062, 0.139687, 0.122500, 0.067500, 0.040937, 0.043437, 0.014375, 0.049375, 0.046250, 0.056562, 0.101875, 0.102812, 0.135000, 0.143437, 0.163750, 0.174375, 0.269687, 0.289375, 0.331875, 0.363750, 0.404687, 0.439687, 0.545312, 0.608750, 0.668437, 0.730000 +#*# 0.164062, 0.116562, 0.064687, 0.031875, 0.010937, 0.009062, -0.004063, 0.003125, -0.003750, -0.010000, -0.018438, 0.016562, 0.050625, 0.043125, 0.053750, 0.104687, 0.170625, 0.218750, 0.205625, 0.278750, 0.312500, 0.356875, 0.381250, 0.481875, 0.495937, 0.598437, 0.659687, 0.731875 +#*# 0.121250, 0.075000, 0.035312, 0.036562, 0.010000, -0.047813, -0.054375, -0.018438, -0.036250, -0.059063, -0.036875, -0.025313, 0.041875, 0.020937, 0.084687, 0.122187, 0.172500, 0.212812, 0.250000, 0.259375, 0.352812, 0.389062, 0.447500, 0.460000, 0.544062, 0.604062, 0.680937, 0.754687 +#*# 0.096875, 0.081562, 0.058125, 0.028125, 0.026562, 0.014062, 0.025937, 0.028437, -0.018125, 0.038437, 0.034062, 0.045625, 0.058125, 0.063125, 0.132187, 0.171875, 0.181562, 0.254375, 0.272187, 0.356250, 0.410625, 0.458750, 0.529062, 0.535625, 0.620625, 0.650937, 0.734062, 0.801562 +#*# 0.130625, 0.071250, 0.089687, 0.085312, 0.083437, 0.066562, 0.052812, 0.069062, 0.048750, 0.055937, 0.085625, 0.112187, 0.158125, 0.172500, 0.171562, 0.205000, 0.247812, 0.331250, 0.340625, 0.402812, 0.462812, 0.489062, 0.571875, 0.600625, 0.614687, 0.749375, 0.796562, 0.855937 +#*# 0.211562, 0.181875, 0.151875, 0.172812, 0.160000, 0.133125, 0.135937, 0.131875, 0.144687, 0.207812, 0.185625, 0.193437, 0.200312, 0.231562, 0.290312, 0.339375, 0.354375, 0.373437, 0.444375, 0.487500, 0.526875, 0.605625, 0.590937, 0.669062, 0.720937, 0.746875, 0.827812, 0.924687 +#*# 0.300937, 0.287500, 0.252812, 0.267187, 0.268125, 0.220625, 0.208125, 0.221875, 0.219375, 0.285312, 0.312187, 0.337187, 0.362812, 0.381562, 0.364062, 0.426250, 0.520937, 0.497187, 0.575000, 0.593750, 0.613125, 0.667187, 0.716250, 0.791875, 0.794375, 0.851875, 0.921875, 0.991250 +#*# 0.387187, 0.382500, 0.381562, 0.374687, 0.343437, 0.340625, 0.323750, 0.356875, 0.373125, 0.404375, 0.428437, 0.509062, 0.490312, 0.510625, 0.535937, 0.550312, 0.529687, 0.618437, 0.673437, 0.702500, 0.695000, 0.793125, 0.801875, 0.872812, 0.930312, 0.981250, 1.057812, 1.102187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 13 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 28 +#*# max_y = 459.96 +#*# mesh_x_pps = 2 +#*# max_x = 464.82 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.661 +#*# pid_ki = 0.819 +#*# pid_kd = 117.969 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20230124_212703.cfg b/printer-20230124_212703.cfg new file mode 100644 index 0000000..25747a8 --- /dev/null +++ b/printer-20230124_212703.cfg @@ -0,0 +1,304 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 15,15 +mesh_max:465,460 +probe_count: 28,13 +fade_start: 1.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.910 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.756250, 0.660312, 0.556562, 0.486875, 0.458750, 0.339687, 0.305312, 0.262812, 0.213750, 0.233125, 0.214062, 0.187812, 0.229375, 0.226250, 0.215937, 0.249062, 0.259062, 0.268750, 0.301875, 0.340000, 0.352500, 0.398125, 0.432187, 0.481875, 0.502500, 0.583437, 0.605000, 0.698750 +#*# 0.730937, 0.616250, 0.543125, 0.496562, 0.411250, 0.362500, 0.328750, 0.267500, 0.262500, 0.236562, 0.249062, 0.217500, 0.228125, 0.258437, 0.232812, 0.250000, 0.260000, 0.271562, 0.303750, 0.357812, 0.405312, 0.416562, 0.488437, 0.510000, 0.591250, 0.575312, 0.683125, 0.716250 +#*# 0.675312, 0.593750, 0.485312, 0.391562, 0.372187, 0.332187, 0.281250, 0.265937, 0.227500, 0.228437, 0.213437, 0.180937, 0.200312, 0.183437, 0.241875, 0.229062, 0.214687, 0.281875, 0.334375, 0.361875, 0.370312, 0.407187, 0.464687, 0.500000, 0.557187, 0.632812, 0.672500, 0.715625 +#*# 0.541250, 0.448437, 0.387812, 0.338125, 0.272812, 0.219062, 0.204687, 0.183750, 0.164375, 0.161250, 0.162812, 0.155000, 0.133750, 0.154062, 0.165000, 0.166875, 0.199375, 0.257187, 0.269062, 0.319375, 0.350937, 0.373125, 0.405937, 0.498437, 0.485937, 0.586250, 0.640937, 0.709062 +#*# 0.374062, 0.293750, 0.260000, 0.242187, 0.165625, 0.113750, 0.095625, 0.136562, 0.094062, 0.070937, 0.098125, 0.130000, 0.094687, 0.102500, 0.152187, 0.154375, 0.171875, 0.224687, 0.247812, 0.283437, 0.328750, 0.389062, 0.417812, 0.450000, 0.512187, 0.578125, 0.649062, 0.735625 +#*# 0.285937, 0.226562, 0.164062, 0.139687, 0.122500, 0.067500, 0.040937, 0.043437, 0.014375, 0.049375, 0.046250, 0.056562, 0.101875, 0.102812, 0.135000, 0.143437, 0.163750, 0.174375, 0.269687, 0.289375, 0.331875, 0.363750, 0.404687, 0.439687, 0.545312, 0.608750, 0.668437, 0.730000 +#*# 0.164062, 0.116562, 0.064687, 0.031875, 0.010937, 0.009062, -0.004063, 0.003125, -0.003750, -0.010000, -0.018438, 0.016562, 0.050625, 0.043125, 0.053750, 0.104687, 0.170625, 0.218750, 0.205625, 0.278750, 0.312500, 0.356875, 0.381250, 0.481875, 0.495937, 0.598437, 0.659687, 0.731875 +#*# 0.121250, 0.075000, 0.035312, 0.036562, 0.010000, -0.047813, -0.054375, -0.018438, -0.036250, -0.059063, -0.036875, -0.025313, 0.041875, 0.020937, 0.084687, 0.122187, 0.172500, 0.212812, 0.250000, 0.259375, 0.352812, 0.389062, 0.447500, 0.460000, 0.544062, 0.604062, 0.680937, 0.754687 +#*# 0.096875, 0.081562, 0.058125, 0.028125, 0.026562, 0.014062, 0.025937, 0.028437, -0.018125, 0.038437, 0.034062, 0.045625, 0.058125, 0.063125, 0.132187, 0.171875, 0.181562, 0.254375, 0.272187, 0.356250, 0.410625, 0.458750, 0.529062, 0.535625, 0.620625, 0.650937, 0.734062, 0.801562 +#*# 0.130625, 0.071250, 0.089687, 0.085312, 0.083437, 0.066562, 0.052812, 0.069062, 0.048750, 0.055937, 0.085625, 0.112187, 0.158125, 0.172500, 0.171562, 0.205000, 0.247812, 0.331250, 0.340625, 0.402812, 0.462812, 0.489062, 0.571875, 0.600625, 0.614687, 0.749375, 0.796562, 0.855937 +#*# 0.211562, 0.181875, 0.151875, 0.172812, 0.160000, 0.133125, 0.135937, 0.131875, 0.144687, 0.207812, 0.185625, 0.193437, 0.200312, 0.231562, 0.290312, 0.339375, 0.354375, 0.373437, 0.444375, 0.487500, 0.526875, 0.605625, 0.590937, 0.669062, 0.720937, 0.746875, 0.827812, 0.924687 +#*# 0.300937, 0.287500, 0.252812, 0.267187, 0.268125, 0.220625, 0.208125, 0.221875, 0.219375, 0.285312, 0.312187, 0.337187, 0.362812, 0.381562, 0.364062, 0.426250, 0.520937, 0.497187, 0.575000, 0.593750, 0.613125, 0.667187, 0.716250, 0.791875, 0.794375, 0.851875, 0.921875, 0.991250 +#*# 0.387187, 0.382500, 0.381562, 0.374687, 0.343437, 0.340625, 0.323750, 0.356875, 0.373125, 0.404375, 0.428437, 0.509062, 0.490312, 0.510625, 0.535937, 0.550312, 0.529687, 0.618437, 0.673437, 0.702500, 0.695000, 0.793125, 0.801875, 0.872812, 0.930312, 0.981250, 1.057812, 1.102187 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 13 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 28 +#*# max_y = 459.96 +#*# mesh_x_pps = 2 +#*# max_x = 464.82 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.661 +#*# pid_ki = 0.819 +#*# pid_kd = 117.969 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20230125_165957.cfg b/printer-20230125_165957.cfg new file mode 100644 index 0000000..c6b19e5 --- /dev/null +++ b/printer-20230125_165957.cfg @@ -0,0 +1,304 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 15,15 +mesh_max:465,460 +probe_count: 28,13 +fade_start: 1.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.910 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.660625, 0.566875, 0.463437, 0.423125, 0.387187, 0.296875, 0.255000, 0.200625, 0.168437, 0.174375, 0.146562, 0.173750, 0.198125, 0.191250, 0.175312, 0.209062, 0.230000, 0.242500, 0.277812, 0.328437, 0.338125, 0.369687, 0.399687, 0.445937, 0.447187, 0.527500, 0.563125, 0.671562 +#*# 0.589375, 0.495625, 0.426562, 0.377500, 0.317812, 0.265312, 0.246562, 0.200625, 0.195312, 0.166250, 0.143437, 0.165625, 0.164687, 0.213437, 0.200000, 0.205312, 0.208750, 0.248750, 0.286562, 0.316875, 0.360000, 0.375625, 0.439062, 0.472187, 0.520312, 0.527812, 0.629062, 0.649062 +#*# 0.529375, 0.480312, 0.355937, 0.295937, 0.245312, 0.220937, 0.187187, 0.184062, 0.146562, 0.159687, 0.155312, 0.121250, 0.144062, 0.134062, 0.165937, 0.159062, 0.172812, 0.207500, 0.284375, 0.320625, 0.320312, 0.362500, 0.415625, 0.443437, 0.510937, 0.565312, 0.589687, 0.658125 +#*# 0.395625, 0.303437, 0.240937, 0.227812, 0.188750, 0.147500, 0.117187, 0.090000, 0.083437, 0.090937, 0.098437, 0.098437, 0.089687, 0.110625, 0.116562, 0.120937, 0.155937, 0.212187, 0.207187, 0.265625, 0.299375, 0.328125, 0.365937, 0.438750, 0.431250, 0.522812, 0.553437, 0.644375 +#*# 0.199062, 0.169062, 0.135312, 0.133437, 0.056250, 0.018125, 0.000625, 0.025937, 0.020937, 0.011875, 0.010312, 0.070312, 0.052500, 0.045000, 0.090000, 0.076875, 0.122187, 0.181562, 0.196562, 0.224062, 0.287812, 0.316250, 0.373437, 0.400000, 0.446562, 0.500937, 0.570937, 0.632812 +#*# 0.144687, 0.100625, 0.042187, 0.018125, -0.004063, -0.036250, -0.051563, -0.043125, -0.056250, -0.003750, 0.004062, 0.022812, 0.045312, 0.060625, 0.088750, 0.114687, 0.107812, 0.122500, 0.225000, 0.247187, 0.277812, 0.321250, 0.345625, 0.380000, 0.472812, 0.530625, 0.586875, 0.660312 +#*# 0.020000, -0.008750, -0.035938, -0.069688, -0.062500, -0.074688, -0.118438, -0.076563, -0.077500, -0.070313, -0.069688, -0.030313, -0.004688, 0.010312, 0.011562, 0.075625, 0.142187, 0.182187, 0.162187, 0.246875, 0.266562, 0.310937, 0.334375, 0.418437, 0.440937, 0.532187, 0.583437, 0.649375 +#*# 0.029687, -0.000000, -0.145938, -0.070938, -0.092500, -0.116250, -0.115938, -0.081563, -0.107813, -0.093750, -0.078438, -0.061563, -0.003125, -0.027500, 0.051875, 0.079062, 0.134687, 0.165937, 0.198750, 0.221875, 0.304687, 0.339375, 0.386250, 0.395000, 0.481562, 0.536250, 0.591562, 0.664687 +#*# 0.006562, -0.030000, -0.033750, -0.034063, -0.035625, -0.040313, -0.036875, -0.004688, -0.050938, 0.006250, 0.012500, 0.018750, 0.047812, 0.044687, 0.123750, 0.169062, 0.189375, 0.264062, 0.274062, 0.338750, 0.386562, 0.445000, 0.503125, 0.504062, 0.586562, 0.621250, 0.700312, 0.748125 +#*# 0.038125, -0.001250, 0.011562, 0.004062, 0.004687, 0.011562, 0.006250, 0.028437, 0.035937, 0.030312, 0.061250, 0.079062, 0.123437, 0.156250, 0.153125, 0.183750, 0.239687, 0.309375, 0.336562, 0.370625, 0.439062, 0.461875, 0.536562, 0.563125, 0.581562, 0.696250, 0.715625, 0.794375 +#*# 0.108125, 0.103437, 0.082812, 0.090625, 0.092500, 0.089062, 0.085000, 0.097187, 0.113437, 0.154687, 0.159375, 0.167187, 0.184687, 0.216562, 0.275312, 0.329375, 0.332187, 0.370937, 0.439062, 0.478125, 0.517812, 0.579687, 0.587500, 0.647812, 0.680625, 0.709375, 0.795937, 0.858437 +#*# 0.200937, 0.185937, 0.171562, 0.184062, 0.204062, 0.170000, 0.162187, 0.178125, 0.195937, 0.260000, 0.287812, 0.309687, 0.350937, 0.372187, 0.353437, 0.415625, 0.490937, 0.477500, 0.553750, 0.578125, 0.601250, 0.647812, 0.686562, 0.759062, 0.754687, 0.810937, 0.881250, 0.938125 +#*# 0.297812, 0.298750, 0.298437, 0.292812, 0.282812, 0.271562, 0.273750, 0.310937, 0.329687, 0.354062, 0.395312, 0.482187, 0.468750, 0.471562, 0.514062, 0.533125, 0.514375, 0.603750, 0.649375, 0.678750, 0.677812, 0.757500, 0.769062, 0.842812, 0.905937, 0.929375, 1.005937, 1.078125 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 13 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 28 +#*# max_y = 459.96 +#*# mesh_x_pps = 2 +#*# max_x = 464.82 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.661 +#*# pid_ki = 0.819 +#*# pid_kd = 117.969 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer-20230125_170209.cfg b/printer-20230125_170209.cfg new file mode 100644 index 0000000..2f5c787 --- /dev/null +++ b/printer-20230125_170209.cfg @@ -0,0 +1,304 @@ +# Rat Rig V-core 3 Klipper Config +# Documentation: https://os.ratrig.com + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + + +############################################################################################################# +### CONTROL BOARD +### Pick the board you have installed and wired in your printer. +############################################################################################################# +[include config/boards/btt-octopus-11/config.cfg] + +############################################################################################################# +### BASE SETUP +############################################################################################################# +[include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + + +############################################################################################################# +### STEPPER MOTORS, DRIVERS & SPEED LIMITS +### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations. +############################################################################################################# +[include config/printers/v-core-3/steppers.cfg] + +# UNCOOLED TMC 2209 + LDO-42STH48-2504AC +[include config/printers/v-core-3/speed-limits-basic.cfg] + + +[include config/printers/v-core-3/tmc2209.cfg] + +[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg] + + + +############################################################################################################# +### HOMING +### Pick your probe and endstops +############################################################################################################# +# BL Touch +[include config/z-probe/bltouch.cfg] + + +# Physical endstops +[include config/printers/v-core-3/physical-endstops.cfg] + + + +############################################################################################################# +### PHYSICAL DIMENSIONS +### Pick your printer size +############################################################################################################# + +[include config/printers/v-core-3/500.cfg] + + +############################################################################################################# +### extruder and hotend +############################################################################################################# + +[extruder] +rotation_distance: 4.63 +full_steps_per_rotation: 200 +filament_diameter: 1.750 +max_extrude_only_velocity: 60 +max_extrude_only_distance: 200 +nozzle_diameter: 0.4 +heater_pin: e_heater_pin +sensor_type: ATC Semitec 104GT-2 +sensor_pin: e_sensor_pin +min_extrude_temp: 170 +min_temp: 0 +max_temp: 400 +pressure_advance: 0.05 + +[tmc2209 extruder] +run_current: 0.35 +stealthchop_threshold: 0 + +[firmware_retraction] +retract_speed: 60 +unretract_extra_length: 0 +unretract_speed: 60 +retract_length: 0.5 + + + +############################################################################################################# +### MACROS +############################################################################################################# +[include config/macros.cfg] +[include config/shell-macros.cfg] +[include config/printers/v-core-3/macros.cfg] + + +############################################################################################################# +### MACRO CONFIGURATION +### Configure the behavior of RatOS macros +############################################################################################################# +[gcode_macro RatOS] +# Use absolute extrusion mode +# Set to True to use relative extrusion mode +variable_relative_extrusion: False +# Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. +# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. +# Set to False to disable +variable_preheat_extruder: True +# Calibrate the bed mesh in the START_PRINT macro. +# Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH +# with the name "ratos", be sure to save your bed_mesh profile with that name. +# or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic. +variable_calibrate_bed_mesh: True +# Print a prime line or blob at the end of the START_PRINT macro +# set to "primeline" or "primeblob", or False to disable nozzle_priming. +variable_nozzle_priming: "false" +# Park in the back when waiting for the extruder to heat up +# set to "front" to park in the front, or "center" to park in the center. +variable_start_print_park_in: "back" +# Height to park it when waiting for extruder to heat. +variable_start_print_park_z_height: 50 +# Skew profile to load before starting the print +# uncomment this to use your calibrated skew correction profile. +#variable_skew_profile: "my_skew_profile" +# Park in the back after the print has ended or was cancelled. +# set to "front" to park in the front, or "center" to park in the center. +variable_end_print_park_in: "back" +# Park in the back when the print is paused. +# set to "front" to park in the front, or "center" to park in the center. +variable_pause_print_park_in: "back" +# Set the speed for travel moves in RatOS Macros in mm/s. +variable_macro_travel_speed: 100 + + +############################################################################################################# +### PRINTER CONFIGURATION +### Customize the defaults to your specific build +############################################################################################################# +[stepper_x] +dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 0 # Adjust this to your setup +#x_offset: -27.0 + + + +[stepper_y] +dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction +rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys +position_endstop: 480 # 300mm printer +position_min: 5 +#y_offset: -21.0 + + +#position_endstop: 400 # 400mm printer +#position_endstop: 500 # 500mm printer + +[stepper_z] +dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z1] +dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +[stepper_z2] +dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction +rotation_distance: 4 # 4 for TR8*4 lead screws +endstop_pin: probe: z_virtual_endstop + +#Z Probe configuration +[bltouch] +sensor_pin: ^PB7 +control_pin: PB6 +x_offset: -27.0 +y_offset: -21.0 +#pin_up_touch_mode_reports_triggered: True +pin_move_time: 0.8 +#z_offset: 3.20 # USE FOR PLA +#z_offset: 2.75 # USE FOR PETG + +# [probe] +# z_offset: 1.0 # Adjust this to fit your setup -> "1.0" is placeholder! +# pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. +#pin: ^!probe_pin # NPN NO (refer to the specs on your probe) +#pin: probe_pin # PNP NO (refer to the specs on your probe) +#pin: !probe_pin # PNP NC (refer to the specs on your probe) + +# Safe Z Home (Physical endstops only) +[safe_z_home] +home_xy_position: 250, 250 # Change coordinates to the center of your print bed +speed: 50 +z_hop: 10 # Move up 10mm +z_hop_speed: 5 + +#ORIGINAL +#home_xy_position: 150,150 # 300mm printer +#home_xy_position: 200,200 # 400mm printer +#home_xy_position: 250,250 # 500mm printer + +[extruder] +# Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. +#pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 + +[heater_bed] +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 + + +# [bed_mesh] +# speed: 30 +# horizontal_move_z: 10 +# mesh_min: 15, 15 +# mesh_max: 450, 450 +# probe_count: 5 , 5 + +[bed_mesh] +horizontal_move_z: 5 +mesh_min: 15,15 +mesh_max:465,460 +probe_count: 28,13 +fade_start: 1.0 +fade_end: 100.0 +mesh_pps: 2,2 +algorithm: bicubic +bicubic_tension: .2 + +############################################################################################################# +### INPUT SHAPER +### Enable/disable input shaper calibration +############################################################################################################# +# Uncomment this next line if you have an ADXL345 connected to your control board +#[include config/printers/v-core-3/input-shaper.cfg] + +# ADXL345 resonance testing configuration +#[resonance_tester] +#probe_points: +# 150,150,20 # 300mm printer +# 200,200,20 # 400mm printer +# 250,250,20 # 500mm printer + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bltouch] +#*# z_offset = 2.950 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.660625, 0.566875, 0.463437, 0.423125, 0.387187, 0.296875, 0.255000, 0.200625, 0.168437, 0.174375, 0.146562, 0.173750, 0.198125, 0.191250, 0.175312, 0.209062, 0.230000, 0.242500, 0.277812, 0.328437, 0.338125, 0.369687, 0.399687, 0.445937, 0.447187, 0.527500, 0.563125, 0.671562 +#*# 0.589375, 0.495625, 0.426562, 0.377500, 0.317812, 0.265312, 0.246562, 0.200625, 0.195312, 0.166250, 0.143437, 0.165625, 0.164687, 0.213437, 0.200000, 0.205312, 0.208750, 0.248750, 0.286562, 0.316875, 0.360000, 0.375625, 0.439062, 0.472187, 0.520312, 0.527812, 0.629062, 0.649062 +#*# 0.529375, 0.480312, 0.355937, 0.295937, 0.245312, 0.220937, 0.187187, 0.184062, 0.146562, 0.159687, 0.155312, 0.121250, 0.144062, 0.134062, 0.165937, 0.159062, 0.172812, 0.207500, 0.284375, 0.320625, 0.320312, 0.362500, 0.415625, 0.443437, 0.510937, 0.565312, 0.589687, 0.658125 +#*# 0.395625, 0.303437, 0.240937, 0.227812, 0.188750, 0.147500, 0.117187, 0.090000, 0.083437, 0.090937, 0.098437, 0.098437, 0.089687, 0.110625, 0.116562, 0.120937, 0.155937, 0.212187, 0.207187, 0.265625, 0.299375, 0.328125, 0.365937, 0.438750, 0.431250, 0.522812, 0.553437, 0.644375 +#*# 0.199062, 0.169062, 0.135312, 0.133437, 0.056250, 0.018125, 0.000625, 0.025937, 0.020937, 0.011875, 0.010312, 0.070312, 0.052500, 0.045000, 0.090000, 0.076875, 0.122187, 0.181562, 0.196562, 0.224062, 0.287812, 0.316250, 0.373437, 0.400000, 0.446562, 0.500937, 0.570937, 0.632812 +#*# 0.144687, 0.100625, 0.042187, 0.018125, -0.004063, -0.036250, -0.051563, -0.043125, -0.056250, -0.003750, 0.004062, 0.022812, 0.045312, 0.060625, 0.088750, 0.114687, 0.107812, 0.122500, 0.225000, 0.247187, 0.277812, 0.321250, 0.345625, 0.380000, 0.472812, 0.530625, 0.586875, 0.660312 +#*# 0.020000, -0.008750, -0.035938, -0.069688, -0.062500, -0.074688, -0.118438, -0.076563, -0.077500, -0.070313, -0.069688, -0.030313, -0.004688, 0.010312, 0.011562, 0.075625, 0.142187, 0.182187, 0.162187, 0.246875, 0.266562, 0.310937, 0.334375, 0.418437, 0.440937, 0.532187, 0.583437, 0.649375 +#*# 0.029687, -0.000000, -0.145938, -0.070938, -0.092500, -0.116250, -0.115938, -0.081563, -0.107813, -0.093750, -0.078438, -0.061563, -0.003125, -0.027500, 0.051875, 0.079062, 0.134687, 0.165937, 0.198750, 0.221875, 0.304687, 0.339375, 0.386250, 0.395000, 0.481562, 0.536250, 0.591562, 0.664687 +#*# 0.006562, -0.030000, -0.033750, -0.034063, -0.035625, -0.040313, -0.036875, -0.004688, -0.050938, 0.006250, 0.012500, 0.018750, 0.047812, 0.044687, 0.123750, 0.169062, 0.189375, 0.264062, 0.274062, 0.338750, 0.386562, 0.445000, 0.503125, 0.504062, 0.586562, 0.621250, 0.700312, 0.748125 +#*# 0.038125, -0.001250, 0.011562, 0.004062, 0.004687, 0.011562, 0.006250, 0.028437, 0.035937, 0.030312, 0.061250, 0.079062, 0.123437, 0.156250, 0.153125, 0.183750, 0.239687, 0.309375, 0.336562, 0.370625, 0.439062, 0.461875, 0.536562, 0.563125, 0.581562, 0.696250, 0.715625, 0.794375 +#*# 0.108125, 0.103437, 0.082812, 0.090625, 0.092500, 0.089062, 0.085000, 0.097187, 0.113437, 0.154687, 0.159375, 0.167187, 0.184687, 0.216562, 0.275312, 0.329375, 0.332187, 0.370937, 0.439062, 0.478125, 0.517812, 0.579687, 0.587500, 0.647812, 0.680625, 0.709375, 0.795937, 0.858437 +#*# 0.200937, 0.185937, 0.171562, 0.184062, 0.204062, 0.170000, 0.162187, 0.178125, 0.195937, 0.260000, 0.287812, 0.309687, 0.350937, 0.372187, 0.353437, 0.415625, 0.490937, 0.477500, 0.553750, 0.578125, 0.601250, 0.647812, 0.686562, 0.759062, 0.754687, 0.810937, 0.881250, 0.938125 +#*# 0.297812, 0.298750, 0.298437, 0.292812, 0.282812, 0.271562, 0.273750, 0.310937, 0.329687, 0.354062, 0.395312, 0.482187, 0.468750, 0.471562, 0.514062, 0.533125, 0.514375, 0.603750, 0.649375, 0.678750, 0.677812, 0.757500, 0.769062, 0.842812, 0.905937, 0.929375, 1.005937, 1.078125 +#*# tension = 0.2 +#*# min_x = 15.0 +#*# algo = bicubic +#*# y_count = 13 +#*# mesh_y_pps = 2 +#*# min_y = 15.0 +#*# x_count = 28 +#*# max_y = 459.96 +#*# mesh_x_pps = 2 +#*# max_x = 464.82 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.661 +#*# pid_ki = 0.819 +#*# pid_kd = 117.969 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/printer.cfg b/printer.cfg index f1ba11e..e917278 100644 --- a/printer.cfg +++ b/printer.cfg @@ -8,6 +8,7 @@ # Read more about klipper here: https://www.klipper3d.org/Overview.html + ############################################################################################################# ### CONTROL BOARD ### Pick the board you have installed and wired in your printer. @@ -18,6 +19,13 @@ ### BASE SETUP ############################################################################################################# [include config/printers/v-core-3/v-core-3.cfg] +[printer] +max_velocity: 150 +max_accel: 500 +max_accel_to_decel: 500 +max_z_velocity: 15 +max_z_accel: 20 + ############################################################################################################# ### STEPPER MOTORS, DRIVERS & SPEED LIMITS @@ -72,7 +80,7 @@ sensor_type: ATC Semitec 104GT-2 sensor_pin: e_sensor_pin min_extrude_temp: 170 min_temp: 0 -max_temp: 285 +max_temp: 400 pressure_advance: 0.05 [tmc2209 extruder] @@ -114,7 +122,7 @@ variable_preheat_extruder: True variable_calibrate_bed_mesh: True # Print a prime line or blob at the end of the START_PRINT macro # set to "primeline" or "primeblob", or False to disable nozzle_priming. -variable_nozzle_priming: "primeline" +variable_nozzle_priming: "false" # Park in the back when waiting for the extruder to heat up # set to "front" to park in the front, or "center" to park in the center. variable_start_print_park_in: "back" @@ -130,7 +138,7 @@ variable_end_print_park_in: "back" # set to "front" to park in the front, or "center" to park in the center. variable_pause_print_park_in: "back" # Set the speed for travel moves in RatOS Macros in mm/s. -variable_macro_travel_speed: 200 +variable_macro_travel_speed: 100 ############################################################################################################# @@ -206,28 +214,18 @@ z_hop_speed: 5 #pressure_advance: 0.05 nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction -control: pid -pid_kp: 28.413 -pid_ki: 1.334 -pid_kd: 151.300 +#control: pid +#pid_kp: 28.413 +#pid_ki: 1.334 +#pid_kd: 151.300 [heater_bed] -control: pid -pid_Kp: 22.2 -pid_Ki: 1.08 -pid_Kd: 114 +#control: pid +#pid_Kp: 22.2 +#pid_Ki: 1.08 +#pid_Kd: 114 -[gcode_macro _START_PRINT_AFTER_HEATING_BED] -gcode: - {% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %} - M117 Pre-heating extruder... - # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp. - # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle. - M104 S150 - TEMPERATURE_WAIT SENSOR=extruder MINIMUM=150 - {% endif %} - # [bed_mesh] # speed: 30 # horizontal_move_z: 10 @@ -237,11 +235,11 @@ gcode: [bed_mesh] horizontal_move_z: 5 -mesh_min: 20,20 +mesh_min: 15,15 mesh_max:465,460 -probe_count: 7,7 +probe_count: 28,13 fade_start: 1.0 -fade_end: 10.0 +fade_end: 100.0 mesh_pps: 2,2 algorithm: bicubic bicubic_tension: .2 @@ -264,63 +262,43 @@ bicubic_tension: .2 #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [bltouch] -#*# z_offset = 3.000 -#*# -#*# [bed_mesh vcore] -#*# version = 1 -#*# points = -#*# 0.146250, -0.580313, -0.993438, -1.390000, -1.680625 -#*# 0.458125, -0.109688, -0.498750, -0.825938, -1.111250 -#*# 0.674375, 0.189687, -0.035313, -0.261250, -0.505000 -#*# 1.180937, 0.899687, 0.665000, 0.499375, 0.222500 -#*# 2.068437, 1.804375, 1.605000, 1.387500, 1.222187 -#*# tension = 0.2 -#*# min_x = 15.0 -#*# algo = bicubic -#*# y_count = 5 -#*# mesh_y_pps = 2 -#*# min_y = 15.0 -#*# x_count = 5 -#*# max_y = 450.0 -#*# mesh_x_pps = 2 -#*# max_x = 450.0 +#*# z_offset = 2.960 #*# #*# [bed_mesh default] #*# version = 1 #*# points = -#*# 0.076994, -0.084569, -0.111131, -0.102694, -0.081444, -0.037381, 0.026994 -#*# -0.119569, -0.203631, -0.207069, -0.183006, -0.136756, -0.085194, 0.025119 -#*# -0.448006, -0.488944, -0.417381, -0.373319, -0.235819, -0.161131, -0.018631 -#*# -0.689256, -0.702069, -0.599569, -0.460194, -0.332069, -0.228006, -0.039881 -#*# -0.778944, -0.676444, -0.572381, -0.391756, -0.245194, -0.123631, -0.011444 -#*# -0.694881, -0.585194, -0.413631, -0.256131, -0.088944, 0.020744, 0.171369 -#*# -0.536444, -0.409569, -0.210819, -0.007381, 0.111369, 0.250119, 0.395119 -#*# tension = 0.2 -#*# min_x = 20.0 -#*# algo = bicubic -#*# y_count = 7 -#*# mesh_y_pps = 2 -#*# min_y = 20.0 -#*# x_count = 7 -#*# max_y = 459.98 -#*# mesh_x_pps = 2 -#*# max_x = 464.96 -#*# -#*# [bed_mesh ratos] -#*# version = 1 -#*# points = -#*# 0.658750, 0.348437, 0.369062, 0.392500, 0.536250 -#*# 0.306562, 0.168125, 0.214375, 0.328750, 0.452812 -#*# -0.138750, -0.135625, 0.045312, 0.248125, 0.420000 -#*# -0.223750, -0.061875, 0.141250, 0.383437, 0.531250 -#*# 0.079375, 0.220000, 0.478750, 0.668750, -0.534063 +#*# 0.660625, 0.566875, 0.463437, 0.423125, 0.387187, 0.296875, 0.255000, 0.200625, 0.168437, 0.174375, 0.146562, 0.173750, 0.198125, 0.191250, 0.175312, 0.209062, 0.230000, 0.242500, 0.277812, 0.328437, 0.338125, 0.369687, 0.399687, 0.445937, 0.447187, 0.527500, 0.563125, 0.671562 +#*# 0.589375, 0.495625, 0.426562, 0.377500, 0.317812, 0.265312, 0.246562, 0.200625, 0.195312, 0.166250, 0.143437, 0.165625, 0.164687, 0.213437, 0.200000, 0.205312, 0.208750, 0.248750, 0.286562, 0.316875, 0.360000, 0.375625, 0.439062, 0.472187, 0.520312, 0.527812, 0.629062, 0.649062 +#*# 0.529375, 0.480312, 0.355937, 0.295937, 0.245312, 0.220937, 0.187187, 0.184062, 0.146562, 0.159687, 0.155312, 0.121250, 0.144062, 0.134062, 0.165937, 0.159062, 0.172812, 0.207500, 0.284375, 0.320625, 0.320312, 0.362500, 0.415625, 0.443437, 0.510937, 0.565312, 0.589687, 0.658125 +#*# 0.395625, 0.303437, 0.240937, 0.227812, 0.188750, 0.147500, 0.117187, 0.090000, 0.083437, 0.090937, 0.098437, 0.098437, 0.089687, 0.110625, 0.116562, 0.120937, 0.155937, 0.212187, 0.207187, 0.265625, 0.299375, 0.328125, 0.365937, 0.438750, 0.431250, 0.522812, 0.553437, 0.644375 +#*# 0.199062, 0.169062, 0.135312, 0.133437, 0.056250, 0.018125, 0.000625, 0.025937, 0.020937, 0.011875, 0.010312, 0.070312, 0.052500, 0.045000, 0.090000, 0.076875, 0.122187, 0.181562, 0.196562, 0.224062, 0.287812, 0.316250, 0.373437, 0.400000, 0.446562, 0.500937, 0.570937, 0.632812 +#*# 0.144687, 0.100625, 0.042187, 0.018125, -0.004063, -0.036250, -0.051563, -0.043125, -0.056250, -0.003750, 0.004062, 0.022812, 0.045312, 0.060625, 0.088750, 0.114687, 0.107812, 0.122500, 0.225000, 0.247187, 0.277812, 0.321250, 0.345625, 0.380000, 0.472812, 0.530625, 0.586875, 0.660312 +#*# 0.020000, -0.008750, -0.035938, -0.069688, -0.062500, -0.074688, -0.118438, -0.076563, -0.077500, -0.070313, -0.069688, -0.030313, -0.004688, 0.010312, 0.011562, 0.075625, 0.142187, 0.182187, 0.162187, 0.246875, 0.266562, 0.310937, 0.334375, 0.418437, 0.440937, 0.532187, 0.583437, 0.649375 +#*# 0.029687, -0.000000, -0.145938, -0.070938, -0.092500, -0.116250, -0.115938, -0.081563, -0.107813, -0.093750, -0.078438, -0.061563, -0.003125, -0.027500, 0.051875, 0.079062, 0.134687, 0.165937, 0.198750, 0.221875, 0.304687, 0.339375, 0.386250, 0.395000, 0.481562, 0.536250, 0.591562, 0.664687 +#*# 0.006562, -0.030000, -0.033750, -0.034063, -0.035625, -0.040313, -0.036875, -0.004688, -0.050938, 0.006250, 0.012500, 0.018750, 0.047812, 0.044687, 0.123750, 0.169062, 0.189375, 0.264062, 0.274062, 0.338750, 0.386562, 0.445000, 0.503125, 0.504062, 0.586562, 0.621250, 0.700312, 0.748125 +#*# 0.038125, -0.001250, 0.011562, 0.004062, 0.004687, 0.011562, 0.006250, 0.028437, 0.035937, 0.030312, 0.061250, 0.079062, 0.123437, 0.156250, 0.153125, 0.183750, 0.239687, 0.309375, 0.336562, 0.370625, 0.439062, 0.461875, 0.536562, 0.563125, 0.581562, 0.696250, 0.715625, 0.794375 +#*# 0.108125, 0.103437, 0.082812, 0.090625, 0.092500, 0.089062, 0.085000, 0.097187, 0.113437, 0.154687, 0.159375, 0.167187, 0.184687, 0.216562, 0.275312, 0.329375, 0.332187, 0.370937, 0.439062, 0.478125, 0.517812, 0.579687, 0.587500, 0.647812, 0.680625, 0.709375, 0.795937, 0.858437 +#*# 0.200937, 0.185937, 0.171562, 0.184062, 0.204062, 0.170000, 0.162187, 0.178125, 0.195937, 0.260000, 0.287812, 0.309687, 0.350937, 0.372187, 0.353437, 0.415625, 0.490937, 0.477500, 0.553750, 0.578125, 0.601250, 0.647812, 0.686562, 0.759062, 0.754687, 0.810937, 0.881250, 0.938125 +#*# 0.297812, 0.298750, 0.298437, 0.292812, 0.282812, 0.271562, 0.273750, 0.310937, 0.329687, 0.354062, 0.395312, 0.482187, 0.468750, 0.471562, 0.514062, 0.533125, 0.514375, 0.603750, 0.649375, 0.678750, 0.677812, 0.757500, 0.769062, 0.842812, 0.905937, 0.929375, 1.005937, 1.078125 #*# tension = 0.2 #*# min_x = 15.0 #*# algo = bicubic -#*# y_count = 5 +#*# y_count = 13 #*# mesh_y_pps = 2 #*# min_y = 15.0 -#*# x_count = 5 -#*# max_y = 450.0 +#*# x_count = 28 +#*# max_y = 459.96 #*# mesh_x_pps = 2 -#*# max_x = 450.0 +#*# max_x = 464.82 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 19.661 +#*# pid_ki = 0.819 +#*# pid_kd = 117.969 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 64.455 +#*# pid_ki = 1.659 +#*# pid_kd = 626.020 diff --git a/webcam.txt b/webcam.txt index e8bd44c..8ca7fab 100644 --- a/webcam.txt +++ b/webcam.txt @@ -1,3 +1,4 @@ +camera="usb" ### Windows users: To edit this file use Notepad++, VSCode, Atom or SublimeText. ### Do not use Notepad or WordPad. @@ -21,7 +22,7 @@ # # Defaults to a resolution of 640x480 px and a framerate of 10 fps # -#camera_usb_options="-r 640x480 -f 10" +camera_usb_options="-r 800x600 -f 10" ### Additional webcam devices known to cause problems with -f #