From 040a9e5aee9443701543b4fc9c3791b65c37e6ac Mon Sep 17 00:00:00 2001 From: Sz77 Date: Sat, 20 Apr 2024 00:07:17 +0300 Subject: [PATCH] SKR mini E3 cinfig --- .../printer/fb-ghost5-bltouch.cfg | 32 +++++---------- .../printer/fb-ghost5.cfg | 40 ++++++++++--------- .../printer/tmc2209_uart_mks_rn.cfg | 24 ++++++++--- 3 files changed, 51 insertions(+), 45 deletions(-) diff --git a/Flying Bear Generic Configs/printer/fb-ghost5-bltouch.cfg b/Flying Bear Generic Configs/printer/fb-ghost5-bltouch.cfg index 506816d..836e660 100644 --- a/Flying Bear Generic Configs/printer/fb-ghost5-bltouch.cfg +++ b/Flying Bear Generic Configs/printer/fb-ghost5-bltouch.cfg @@ -1,7 +1,8 @@ ################################################################################ -# Board: MKS Robin Nano v1.1 (Flying Bear Reborn 2.0) / MKS Robin Nano v1.3 / MKS Robin Nano-S v1.3 +# Board: SKR Mini E3 v3.0 # Printer: Flying Bear Ghost 5 -# Config by ODUCCEU +# Config by Sz77 +# special thanks to ODUCCEU for the base config ################################################################################ # WARNING! DO NOT EDIT THIS FILE! # To override settings from this file, you can copy and paste the relevant @@ -20,19 +21,6 @@ # Pin Definitions ################################################################################ -# You have different choices on how to plug your probe on MKS Robin Nano: -# -# Sensor can be plugged into one of the list: -## Z_MIN_STOP PA11 -## Z_MAX_STOP PC4 -## MT_DET2 PE6 -## WiFi_IO0 P13 MKSRNv1.3 -## WiFi_IO0 PA8 MKSRNv1.1 -# -# Servo control can be plugged into one of the list: -## SERVO PA8 'BLTOUCH' slot on MKSRNv1.3 -## PB2 PB2 -# # You can check default 'BLTOUCH_SENSOR_PIN' and 'BLTOUCH_CONTROL_PIN' in your board cfg file ################################################################################ @@ -43,8 +31,8 @@ sensor_pin: ^BLTOUCH_SENSOR_PIN control_pin: BLTOUCH_CONTROL_PIN # stow_on_each_sample: False # faster but dangerous -x_offset: 0 # CAUTION! Set your own offset -y_offset: 0 # CAUTION! Set your own offset +x_offset: 44 +y_offset: 0 # CAUTION! Set your own offset z_offset: 0 # CAUTION! Set your own offset speed: 12 samples: 3 @@ -71,12 +59,14 @@ z_hop_speed: 12 [bed_mesh] speed: 100 horizontal_move_z: 10 -mesh_min: 0,0 # CAUTION! = probe_xy = nozzle_xy + offset_xy -mesh_max: 255,210 # CAUTION! = probe_xy = nozzle_xy + offset_xy -probe_count: 7,5 +mesh_min: 50, 10 +mesh_max: 230, 200 +probe_count: 5, 5 mesh_pps: 3 algorithm: bicubic -relative_reference_index: 18 # center point +fade_start: 1 +fade_end: 10 +fade_target: 0 # center point [screws_tilt_adjust] # = nozzle_xy = probe_xy - offset_xy screw1: 25,30 diff --git a/Flying Bear Generic Configs/printer/fb-ghost5.cfg b/Flying Bear Generic Configs/printer/fb-ghost5.cfg index 9616f71..a70ee29 100644 --- a/Flying Bear Generic Configs/printer/fb-ghost5.cfg +++ b/Flying Bear Generic Configs/printer/fb-ghost5.cfg @@ -21,25 +21,28 @@ dir_pin: X_DIR_PIN enable_pin: !X_ENABLE_PIN rotation_distance: 40 microsteps: 16 -endstop_pin: !X_STOP_PIN -position_min: -1.2 # home offset, measure yours or disable for no offset -position_endstop: -1.2 # home offset, measure yours or set '0' for no offset -position_max: 255 # X-axis bed size +endstop_pin: tmc2209_stepper_x:virtual_endstop + +position_min: 0 +position_max: 240 +position_endstop: 0 +homing_retract_dist: 0 # X-axis bed size homing_speed: 100 -homing_retract_dist: 0 # disable for head retraction after homing + # disable for head retraction after homing [stepper_y] step_pin: Y_STEP_PIN dir_pin: Y_DIR_PIN enable_pin: !Y_ENABLE_PIN -rotation_distance: 40 microsteps: 16 -endstop_pin: !Y_STOP_PIN -position_min: -4.3 # home offset, measure yours or disable for no offset -position_endstop: -4.3 # home offset, measure yours or set '0' for no offset -position_max: 210 # Y-axis bed size +rotation_distance: 40 +endstop_pin: tmc2209_stepper_y:virtual_endstop homing_speed: 100 -homing_retract_dist: 0 # disable for head retraction after homing +position_min: 0 +position_max: 210 +position_endstop: 0 +homing_retract_dist: 0 + # disable for head retraction after homing [stepper_z] # left stepper step_pin: Z_STEP_PIN @@ -47,10 +50,12 @@ dir_pin: !Z_DIR_PIN enable_pin: !Z_ENABLE_PIN rotation_distance: 8 microsteps: 16 -endstop_pin: !Z_STOP_PIN +endstop_pin: tmc2209_stepper_y:virtual_endstop position_max: 200 # Z-axis print volume size homing_speed: 20 second_homing_speed: 5 +position_min: -5 + ################################################################################ # E0, HB @@ -64,12 +69,12 @@ rotation_distance: 7.600 microsteps: 16 nozzle_diameter: 0.400 filament_diameter: 1.750 -max_extrude_only_distance: 100 # ~100 direct, ~600 bowden +max_extrude_only_distance: 120 # ~100 direct, ~600 bowden heater_pin: E_HEATER_PIN sensor_type: EPCOS 100K B57560G104F sensor_pin: E_SENSOR_PIN min_temp: 0 -max_temp: 285 +max_temp: 300 [heater_bed] heater_pin: BED_HEATER_PIN @@ -94,9 +99,9 @@ pin: HEATER_FAN_PIN [printer] kinematics: cartesian -max_velocity: 150 +max_velocity: 300 max_accel: 3000 -max_accel_to_decel: 1500 +#max_accel_to_decel: 1500 max_z_velocity: 20 max_z_accel: 100 @@ -104,8 +109,7 @@ max_z_accel: 100 # Optional G-Code features ################################################################################ -[virtual_sdcard] -path: ~/gcode_files + [pause_resume] diff --git a/Flying Bear Generic Configs/printer/tmc2209_uart_mks_rn.cfg b/Flying Bear Generic Configs/printer/tmc2209_uart_mks_rn.cfg index 6b3cd64..f87ecb3 100644 --- a/Flying Bear Generic Configs/printer/tmc2209_uart_mks_rn.cfg +++ b/Flying Bear Generic Configs/printer/tmc2209_uart_mks_rn.cfg @@ -1,7 +1,8 @@ ################################################################################ -# Board: MKS Robin Nano v1.1 (Flying Bear Reborn 2.0) / MKS Robin Nano v1.3 / MKS Robin Nano-S v1.3 -# Printer: Flying Bear Ghost 4S / Ghost 5 -# Config by ODUCCEU +# Board: SKR Mini E3 v3.0 +# Printer: Flying Bear Ghost 5 +# Config by Sz77 +# special thanks to ODUCCEU for the base config ################################################################################ # Drivers: TMC2209 by BTT ################################################################################ @@ -27,14 +28,22 @@ run_current: 0.800 hold_current: 0.400 stealthchop_threshold: 999999 uart_address: 0 +sense_resistor: 0.110 +diag_pin: PC0 +driver_SGTHRS: 100 + [tmc2209 stepper_y] uart_pin: TMC_UART_PIN tx_pin: TMC_TX_PIN -run_current: 0.800 +uart_address: 2 +run_current: 0.8 hold_current: 0.400 +sense_resistor: 0.110 +diag_pin: PC1 +driver_SGTHRS: 100 stealthchop_threshold: 999999 -uart_address: 1 + [tmc2209 stepper_z] uart_pin: TMC_UART_PIN @@ -42,7 +51,9 @@ tx_pin: TMC_TX_PIN run_current: 0.600 hold_current: 0.300 stealthchop_threshold: 999999 -uart_address: 2 +uart_address: 1 + + [tmc2209 extruder] uart_pin: TMC_UART_PIN @@ -52,6 +63,7 @@ hold_current: 0.200 stealthchop_threshold: 999999 uart_address: 3 + ################################################################################ # Macros ################################################################################