diff --git a/config_backup.cfg b/config_backup.cfg new file mode 100644 index 0000000..6b95350 --- /dev/null +++ b/config_backup.cfg @@ -0,0 +1,10 @@ + +[gcode_shell_command backup_cfg] +command: ~/printer_data/config/autocommit.sh +timeout: 30 +verbose: True + +[gcode_macro BACKUP_CFG] +description: Backs up config directory GitHub +gcode: + RUN_SHELL_COMMAND CMD=backup_cfg \ No newline at end of file diff --git a/moonraker-sql.db b/moonraker-sql.db index 22a9100..56f3a17 100644 Binary files a/moonraker-sql.db and b/moonraker-sql.db differ diff --git a/printer-20250210_192123.cfg b/printer-20250210_192123.cfg deleted file mode 100644 index 56647b9..0000000 --- a/printer-20250210_192123.cfg +++ /dev/null @@ -1,279 +0,0 @@ -[include mainsail.cfg] -[mcu] -serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 - -[virtual_sdcard] -path: /home/nixolas/printer_data/gcodes -on_error_gcode: CANCEL_PRINT - -#Klipper config for Bluer Direct Drive - Robin Nano v2, TMC2209 in UART Mode - - -# This file contains common pin mappings for MKS Robin Nano V2 -# boards. To use this config, the firmware should be compiled for the -# STM32F103. When running "make menuconfig", enable "extra low-level -# configuration setup", select the 28KiB bootloader, and serial (on -# USART3 PB11/PB10) communication. - -# Note that the "make flash" command does not work with MKS Robin -# boards. After running "make", run the following command: -# ./scripts/update_mks_robin.py out/klipper.bin out/Robin_nano35.bin -# Copy the file out/Robin_nano35.bin to an SD card and then restart the -# printer with that SD card. - -# ls /dev/serial/by-id/* - -# See docs/Config_Reference.md for a description of parameters. - - -[pause_resume] - -[display_status] - - -[printer] -kinematics = cartesian -max_velocity = 500 -max_accel = 3500 -max_z_velocity = 25 #10 -max_z_accel = 100 - -[stepper_x] -step_pin = PE3 -dir_pin = PE2 -enable_pin = !PE4 -endstop_pin = !PA15 - -microsteps = 16 #32 -rotation_distance = 40 # rotation_distance = 400 * 32 / 160 -full_steps_per_rotation = 400 - -position_max = 300 -position_endstop = -5 -position_min = -5 -homing_speed = 50 - - - -[stepper_y] -step_pin = PE0 -dir_pin = !PB9 -enable_pin = !PE1 -endstop_pin = !PA12 - -microsteps = 16 # 16 #32 -rotation_distance = 40 # * / -full_steps_per_rotation = 400 # 0.9 degrees per step - -position_endstop = -15 -position_min = -15 -position_max = 280 -homing_speed = 50 - - - -[stepper_z] -step_pin = PB5 -dir_pin = !PB4 -enable_pin = !PB8 - -microsteps = 16 #16 -rotation_distance = 8 -full_steps_per_rotation = 200 - -position_max = 400 -position_min = -4 -endstop_pin = probe:z_virtual_endstop - - -[stepper_z1] -step_pin = PD15 -dir_pin = !PA1 -enable_pin = !PA3 -microsteps = 16 #16 -rotation_distance = 8 -full_steps_per_rotation = 200 - - -[extruder] -step_pin = PD6 -dir_pin = !PD3 -enable_pin = !PB3 -microsteps = 16 -rotation_distance = 7.93 -nozzle_diameter = 0.600 -filament_diameter = 1.750 -heater_pin = PC3 -sensor_type = EPCOS 100K B57560G104F -sensor_pin = PC1 -control = pid -pid_kp = 31.087 -pid_ki = 1.712 -pid_kd = 141.059 -min_temp = 0 -max_temp = 255 -max_extrude_only_distance = 240 - #pressure_advance = 0.0953 - - -[heater_bed] -heater_pin = PA0 -sensor_type = EPCOS 100K B57560G104F -sensor_pin = PC0 -control = pid -pid_Kp = 58.992 -pid_Ki = 0.917 -pid_Kd = 949.030 -min_temp = 0 -max_temp = 120 - -[verify_heater extruder] -max_error = 150 - - -## FANS -[fan] # part colling fans -pin = PB1 - -[heater_fan HeatSink] -pin: PB0 -heater: extruder -heater_temp: 50.0 -fan_speed: 1.0 - - -[bltouch] -sensor_pin = ^PA11 -control_pin = PA8 -x_offset = 40.50 -y_offset = 8.70 -z_offset = 2.425 -pin_move_time = 0.4 -speed = 10 #5 -stow_on_each_sample = FALSE -#position_min: -3 enable this for z-offset callibration - -[bed_mesh] -speed = 120 #120 -horizontal_move_z = 7 #8 -mesh_min = 42,42 -mesh_max = 290,270 -probe_count = 4,4 #6,6 -# mesh_pps: 5,3 -algorithm = bicubic -# bicubic_tension: 0.2 - - -[safe_z_home] -home_xy_position = 160, 140 -speed = 50 -z_hop = 8 -z_hop_speed = 5 - - -[screws_tilt_adjust] -screw1: 1.30,24.20 -screw1_name: Front Left -screw2: 166.30,24.20 -screw2_name: Front Right -screw3: 166.30,194.20 -screw3_name: Rear Right -screw4: 1.30,194.20 -screw4_name: Rear Left -horizontal_move_z: 10. -speed: 80 -screw_thread: CW-M4 - - - -[temperature_sensor pi] -sensor_type: temperature_host -min_temp: 10 -max_temp: 100 - -[temperature_sensor mcu] -sensor_type: temperature_mcu -min_temp: 0 -max_temp: 100 - - -[gcode_macro CALIBRATE_BED] -gcode: - G28 X0 Y0 - G28 Z0 - G90 - bed_mesh_calibrate profile=bluey method=automatic - - -[gcode_macro FILAMENT_LOAD] -gcode: - M83 - G92 E0.0 - G1 E480 F350 - G92 E0.0 - M82 - -[gcode_macro FILAMENT_UNLOAD] -gcode: - M83 - G92 E0.0 - G1 E-480 F350 - G92 E0.0 - M82 - - -[z_tilt] -z_positions: - 0,117.5 - 180,117.5 -points: - 5,117.5 - 180,117.5 -horizontal_move_z: 10 -retries: 10 -retry_tolerance: 0.02 - - -[respond] - -#*# <---------------------- SAVE_CONFIG ----------------------> -#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. -#*# -#*# [bed_mesh default] -#*# version = 1 -#*# points = -#*# 0.025000, 0.042500, 0.025000, -0.052500 -#*# -0.025000, 0.007500, -0.017500, -0.095000 -#*# -0.020000, 0.015000, -0.020000, -0.097500 -#*# 0.060000, 0.082500, 0.055000, -0.015000 -#*# tension = 0.2 -#*# min_x = 42.0 -#*# algo = bicubic -#*# y_count = 4 -#*# mesh_y_pps = 2 -#*# min_y = 42.0 -#*# x_count = 4 -#*# max_y = 219.99 -#*# mesh_x_pps = 2 -#*# max_x = 219.99 -#*# -#*# [bltouch] -#*# -#*# [bed_mesh bluey] -#*# version = 1 -#*# points = -#*# 0.320000, 0.235000, 0.192500, 0.237500 -#*# 0.082500, 0.040000, -0.010000, 0.085000 -#*# 0.100000, 0.020000, -0.005000, 0.035000 -#*# 0.355000, 0.195000, 0.115000, 0.100000 -#*# tension = 0.2 -#*# min_x = 42.0 -#*# algo = bicubic -#*# y_count = 4 -#*# mesh_y_pps = 2 -#*# min_y = 42.0 -#*# x_count = 4 -#*# max_y = 270.0 -#*# mesh_x_pps = 2 -#*# max_x = 289.98 - diff --git a/printer-20250212_182626.cfg b/printer-20250212_182626.cfg deleted file mode 100644 index 35afd4d..0000000 --- a/printer-20250212_182626.cfg +++ /dev/null @@ -1,279 +0,0 @@ -[include mainsail.cfg] -[mcu] -serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 - -[virtual_sdcard] -path: /home/nixolas/printer_data/gcodes -on_error_gcode: CANCEL_PRINT - -#Klipper config for Bluer Direct Drive - Robin Nano v2, TMC2209 in UART Mode - - -# This file contains common pin mappings for MKS Robin Nano V2 -# boards. To use this config, the firmware should be compiled for the -# STM32F103. When running "make menuconfig", enable "extra low-level -# configuration setup", select the 28KiB bootloader, and serial (on -# USART3 PB11/PB10) communication. - -# Note that the "make flash" command does not work with MKS Robin -# boards. After running "make", run the following command: -# ./scripts/update_mks_robin.py out/klipper.bin out/Robin_nano35.bin -# Copy the file out/Robin_nano35.bin to an SD card and then restart the -# printer with that SD card. - -# ls /dev/serial/by-id/* - -# See docs/Config_Reference.md for a description of parameters. - - -[pause_resume] - -[display_status] - - -[printer] -kinematics = cartesian -max_velocity = 500 -max_accel = 3500 -max_z_velocity = 25 #10 -max_z_accel = 100 - -[stepper_x] -step_pin = PE3 -dir_pin = PE2 -enable_pin = !PE4 -endstop_pin = !PA15 - -microsteps = 16 #32 -rotation_distance = 40 # rotation_distance = 400 * 32 / 160 -full_steps_per_rotation = 400 - -position_max = 300 -position_endstop = -5 -position_min = -5 -homing_speed = 50 - - - -[stepper_y] -step_pin = PE0 -dir_pin = !PB9 -enable_pin = !PE1 -endstop_pin = !PA12 - -microsteps = 16 # 16 #32 -rotation_distance = 40 # * / -full_steps_per_rotation = 400 # 0.9 degrees per step - -position_endstop = -15 -position_min = -15 -position_max = 280 -homing_speed = 50 - - - -[stepper_z] -step_pin = PB5 -dir_pin = !PB4 -enable_pin = !PB8 - -microsteps = 16 #16 -rotation_distance = 8 -full_steps_per_rotation = 200 - -position_max = 400 -position_min = -4 -endstop_pin = probe:z_virtual_endstop - - -[stepper_z1] -step_pin = PD15 -dir_pin = !PA1 -enable_pin = !PA3 -microsteps = 16 #16 -rotation_distance = 8 -full_steps_per_rotation = 200 - - -[extruder] -step_pin = PD6 -dir_pin = !PD3 -enable_pin = !PB3 -microsteps = 16 -rotation_distance = 7.93 -nozzle_diameter = 0.600 -filament_diameter = 1.750 -heater_pin = PC3 -sensor_type = EPCOS 100K B57560G104F -sensor_pin = PC1 -control = pid -pid_kp = 31.087 -pid_ki = 1.712 -pid_kd = 141.059 -min_temp = 0 -max_temp = 255 -max_extrude_only_distance = 240 - #pressure_advance = 0.0953 - - -[heater_bed] -heater_pin = PA0 -sensor_type = EPCOS 100K B57560G104F -sensor_pin = PC0 -control = pid -pid_Kp = 58.992 -pid_Ki = 0.917 -pid_Kd = 949.030 -min_temp = 0 -max_temp = 120 - -[verify_heater extruder] -max_error = 150 - - -## FANS -[fan] # part colling fans -pin = PB1 - -[heater_fan HeatSink] -pin: PB0 -heater: extruder -heater_temp: 50.0 -fan_speed: 1.0 - - -[bltouch] -sensor_pin = ^PA11 -control_pin = PA8 -x_offset = 19.1 -y_offset = 31.1 -#z_offset = 2.425 -pin_move_time = 0.4 -speed = 10 #5 -stow_on_each_sample = FALSE -#position_min: -3 enable this for z-offset callibration - -[bed_mesh] -speed = 120 #120 -horizontal_move_z = 7 #8 -mesh_min = 42,42 -mesh_max = 290,270 -probe_count = 4,4 #6,6 -# mesh_pps: 5,3 -algorithm = bicubic -# bicubic_tension: 0.2 - - -[safe_z_home] -home_xy_position = 160, 140 -speed = 50 -z_hop = 8 -z_hop_speed = 5 - - -[screws_tilt_adjust] -screw1: 1.30,24.20 -screw1_name: Front Left -screw2: 166.30,24.20 -screw2_name: Front Right -screw3: 166.30,194.20 -screw3_name: Rear Right -screw4: 1.30,194.20 -screw4_name: Rear Left -horizontal_move_z: 10. -speed: 80 -screw_thread: CW-M4 - - - -[temperature_sensor pi] -sensor_type: temperature_host -min_temp: 10 -max_temp: 100 - -[temperature_sensor mcu] -sensor_type: temperature_mcu -min_temp: 0 -max_temp: 100 - - -[gcode_macro CALIBRATE_BED] -gcode: - G28 X0 Y0 - G28 Z0 - G90 - bed_mesh_calibrate profile=bluey method=automatic - - -[gcode_macro FILAMENT_LOAD] -gcode: - M83 - G92 E0.0 - G1 E480 F350 - G92 E0.0 - M82 - -[gcode_macro FILAMENT_UNLOAD] -gcode: - M83 - G92 E0.0 - G1 E-480 F350 - G92 E0.0 - M82 - - -[z_tilt] -z_positions: - 0,117.5 - 180,117.5 -points: - 5,117.5 - 180,117.5 -horizontal_move_z: 10 -retries: 10 -retry_tolerance: 0.02 - - -[respond] - -#*# <---------------------- SAVE_CONFIG ----------------------> -#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. -#*# -#*# [bed_mesh default] -#*# version = 1 -#*# points = -#*# 0.025000, 0.042500, 0.025000, -0.052500 -#*# -0.025000, 0.007500, -0.017500, -0.095000 -#*# -0.020000, 0.015000, -0.020000, -0.097500 -#*# 0.060000, 0.082500, 0.055000, -0.015000 -#*# tension = 0.2 -#*# min_x = 42.0 -#*# algo = bicubic -#*# y_count = 4 -#*# mesh_y_pps = 2 -#*# min_y = 42.0 -#*# x_count = 4 -#*# max_y = 219.99 -#*# mesh_x_pps = 2 -#*# max_x = 219.99 -#*# -#*# [bltouch] -#*# z_offset = 2.280 -#*# -#*# [bed_mesh bluey] -#*# version = 1 -#*# points = -#*# 0.320000, 0.235000, 0.192500, 0.237500 -#*# 0.082500, 0.040000, -0.010000, 0.085000 -#*# 0.100000, 0.020000, -0.005000, 0.035000 -#*# 0.355000, 0.195000, 0.115000, 0.100000 -#*# tension = 0.2 -#*# min_x = 42.0 -#*# algo = bicubic -#*# y_count = 4 -#*# mesh_y_pps = 2 -#*# min_y = 42.0 -#*# x_count = 4 -#*# max_y = 270.0 -#*# mesh_x_pps = 2 -#*# max_x = 289.98 diff --git a/printer-20250212_202503.cfg b/printer-20250212_202503.cfg deleted file mode 100644 index 86a8a2c..0000000 --- a/printer-20250212_202503.cfg +++ /dev/null @@ -1,286 +0,0 @@ -[include mainsail.cfg] -[mcu] -serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 - -[virtual_sdcard] -path: /home/nixolas/printer_data/gcodes -on_error_gcode: CANCEL_PRINT - -#Klipper config for Bluer Direct Drive - Robin Nano v2, TMC2209 in UART Mode - -# [include adxlmcu.cfg] - -# This file contains common pin mappings for MKS Robin Nano V2 -# boards. To use this config, the firmware should be compiled for the -# STM32F103. When running "make menuconfig", enable "extra low-level -# configuration setup", select the 28KiB bootloader, and serial (on -# USART3 PB11/PB10) communication. - -# Note that the "make flash" command does not work with MKS Robin -# boards. After running "make", run the following command: -# ./scripts/update_mks_robin.py out/klipper.bin out/Robin_nano35.bin -# Copy the file out/Robin_nano35.bin to an SD card and then restart the -# printer with that SD card. - -# ls /dev/serial/by-id/* - -# See docs/Config_Reference.md for a description of parameters. - - -[pause_resume] - -[display_status] - - -[printer] -kinematics = cartesian -max_velocity = 500 -max_accel = 2500 -max_z_velocity = 25 #10 -max_z_accel = 100 - -[stepper_x] -step_pin = PE3 -dir_pin = PE2 -enable_pin = !PE4 -endstop_pin = !PA15 - -microsteps = 16 #32 -rotation_distance = 40 # rotation_distance = 400 * 32 / 160 -full_steps_per_rotation = 400 - -position_max = 300 -position_endstop = -5 -position_min = -5 -homing_speed = 50 - - - -[stepper_y] -step_pin = PE0 -dir_pin = !PB9 -enable_pin = !PE1 -endstop_pin = !PA12 - -microsteps = 16 # 16 #32 -rotation_distance = 40 # * / -full_steps_per_rotation = 400 # 0.9 degrees per step - -position_endstop = -15 -position_min = -15 -position_max = 280 -homing_speed = 50 - - - -[stepper_z] -step_pin = PB5 -dir_pin = !PB4 -enable_pin = !PB8 - -microsteps = 16 #16 -rotation_distance = 8 -full_steps_per_rotation = 200 - -position_max = 400 -position_min = -4 -endstop_pin = probe:z_virtual_endstop - - -[stepper_z1] -step_pin = PD15 -dir_pin = !PA1 -enable_pin = !PA3 -microsteps = 16 #16 -rotation_distance = 8 -full_steps_per_rotation = 200 - - -[extruder] -step_pin = PD6 -dir_pin = !PD3 -enable_pin = !PB3 -microsteps = 16 -rotation_distance = 7.93 -nozzle_diameter = 0.600 -filament_diameter = 1.750 -heater_pin = PC3 -sensor_type = EPCOS 100K B57560G104F -sensor_pin = PC1 -control = pid -pid_kp = 31.087 -pid_ki = 1.712 -pid_kd = 141.059 -min_temp = 0 -max_temp = 255 -max_extrude_only_distance = 240 - #pressure_advance = 0.0953 - - -[heater_bed] -heater_pin = PA0 -sensor_type = EPCOS 100K B57560G104F -sensor_pin = PC0 -control = pid -pid_Kp = 58.992 -pid_Ki = 0.917 -pid_Kd = 949.030 -min_temp = 0 -max_temp = 120 - -[verify_heater extruder] -max_error = 150 - - -## FANS -[fan] # part colling fans -pin = PB1 - -[heater_fan HeatSink] -pin: PB0 -heater: extruder -heater_temp: 50.0 -fan_speed: 1.0 - - -[bltouch] -sensor_pin = ^PA11 -control_pin = PA8 -x_offset = 19.1 -y_offset = 31.1 -#z_offset = 2.425 -pin_move_time = 0.4 -speed = 10 #5 -stow_on_each_sample = FALSE -#position_min: -3 enable this for z-offset callibration - -[bed_mesh] -speed = 120 #120 -horizontal_move_z = 7 #8 -mesh_min = 42,42 -mesh_max = 290,270 -probe_count = 6,6 -# mesh_pps: 5,3 -algorithm = bicubic -# bicubic_tension: 0.2 - - -[safe_z_home] -home_xy_position = 160, 140 -speed = 50 -z_hop = 8 -z_hop_speed = 5 - -[input_shaper] -shaper_freq_y: 29.1 -shaper_type_y: mzv -shaper_freq_x: 71.4 -shaper_type_x: mzv - - -[screws_tilt_adjust] -screw1: 1.30,24.20 -screw1_name: Front Left -screw2: 166.30,24.20 -screw2_name: Front Right -screw3: 166.30,194.20 -screw3_name: Rear Right -screw4: 1.30,194.20 -screw4_name: Rear Left -horizontal_move_z: 10. -speed: 80 -screw_thread: CW-M4 - - - -[temperature_sensor pi] -sensor_type: temperature_host -min_temp: 10 -max_temp: 100 - -[temperature_sensor mcu] -sensor_type: temperature_mcu -min_temp: 0 -max_temp: 100 - - -[gcode_macro CALIBRATE_BED] -gcode: - G28 X0 Y0 - G28 Z0 - G90 - bed_mesh_calibrate profile=bluey method=automatic - - -[gcode_macro FILAMENT_LOAD] -gcode: - M83 - G92 E0.0 - G1 E480 F350 - G92 E0.0 - M82 - -[gcode_macro FILAMENT_UNLOAD] -gcode: - M83 - G92 E0.0 - G1 E-480 F350 - G92 E0.0 - M82 - - -[z_tilt] -z_positions: - 0,117.5 - 180,117.5 -points: - 5,117.5 - 180,117.5 -horizontal_move_z: 10 -retries: 10 -retry_tolerance: 0.02 - - -[respond] - -#*# <---------------------- SAVE_CONFIG ----------------------> -#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. -#*# -#*# [bed_mesh default] -#*# version = 1 -#*# points = -#*# 0.025000, 0.042500, 0.025000, -0.052500 -#*# -0.025000, 0.007500, -0.017500, -0.095000 -#*# -0.020000, 0.015000, -0.020000, -0.097500 -#*# 0.060000, 0.082500, 0.055000, -0.015000 -#*# tension = 0.2 -#*# min_x = 42.0 -#*# algo = bicubic -#*# y_count = 4 -#*# mesh_y_pps = 2 -#*# min_y = 42.0 -#*# x_count = 4 -#*# max_y = 219.99 -#*# mesh_x_pps = 2 -#*# max_x = 219.99 -#*# -#*# [bltouch] -#*# z_offset = 2.910 -#*# -#*# [bed_mesh bluey] -#*# version = 1 -#*# points = -#*# 0.320000, 0.235000, 0.192500, 0.237500 -#*# 0.082500, 0.040000, -0.010000, 0.085000 -#*# 0.100000, 0.020000, -0.005000, 0.035000 -#*# 0.355000, 0.195000, 0.115000, 0.100000 -#*# tension = 0.2 -#*# min_x = 42.0 -#*# algo = bicubic -#*# y_count = 4 -#*# mesh_y_pps = 2 -#*# min_y = 42.0 -#*# x_count = 4 -#*# max_y = 270.0 -#*# mesh_x_pps = 2 -#*# max_x = 289.98 diff --git a/printer.cfg b/printer.cfg index b554e50..d7d28db 100644 --- a/printer.cfg +++ b/printer.cfg @@ -9,6 +9,7 @@ on_error_gcode: CANCEL_PRINT #Klipper config for Bluer Direct Drive - Robin Nano v2, TMC2209 in UART Mode # [include adxlmcu.cfg] +[include config_backup.cfg] # This file contains common pin mappings for MKS Robin Nano V2 # boards. To use this config, the firmware should be compiled for the