diff --git a/Flying Bear Generic Configs/board/BIGTREETECH-SKR-mini-E3.cfg b/Flying Bear Generic Configs/board/BIGTREETECH-SKR-mini-E3.cfg index a9c4387..45cd8ed 100644 --- a/Flying Bear Generic Configs/board/BIGTREETECH-SKR-mini-E3.cfg +++ b/Flying Bear Generic Configs/board/BIGTREETECH-SKR-mini-E3.cfg @@ -29,8 +29,9 @@ aliases: E_HEATER_PIN=PC8, E_SENSOR_PIN=PA0, BED_HEATER_PIN=PC9, BED_SENSOR_PIN=PC4, ## Fans ######################################################################## - HEATER_FAN_PIN=PB15, - PARTCOOLING_FAN_PIN=PC7, + HEATER_FAN_PIN=PC7, + PARTCOOLING_FAN_PIN=PC6, + FUN2_FAN_PIN=PB15, ## Controls #################################################################### EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=, EXP1_2=PA15, EXP1_4=, EXP1_6=PB9, EXP1_8=PD6, EXP1_10=<5V>, diff --git a/Flying Bear Generic Configs/printer.cfg b/Flying Bear Generic Configs/printer.cfg new file mode 100644 index 0000000..3841cff --- /dev/null +++ b/Flying Bear Generic Configs/printer.cfg @@ -0,0 +1,113 @@ +################################################################################ +# 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 5 +# Config by ODUCCEU +################################################################################ + +# Documentation +# https://www.klipper3d.org/Config_Reference.html + +# Rename this file to 'printer.cfg'. +# Enable proper 'Control board' in 'Included configs' section. + +# It is recommended that you follow these steps to properly calibrate your printer: +# 1) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 2) Skew Correction: https://www.klipper3d.org/skew_correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html +# 4) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html + +################################################################################ +# Included configs +################################################################################ + +# Duplicate parameters in included config files will override each other. +# In this case, each next included file overwrites the previous one in the list. +# 'printer.cfg' takes precedence over other included files. +# Try to avoid changing the default files by adding or changing parameters in 'printer.cfg' below. +# This does not apply to commented out parameters. + +## Control board ############################################################### +# THERE CAN BE ONLY ONE! +[include board/BIGTREETECH-SKR-mini-E3.cfg] # MKS Robin Nano v1.1 https://github.com/oducceu/klipper_configs/blob/master/images/mks-rn-11.jpg +# [include board/mks-rn-13.cfg] # MKS Robin Nano v1.3 https://github.com/oducceu/klipper_configs/blob/master/images/mks-rn-13.png +# [include board/mks-rn-s-13.cfg] # MKS Robin Nano-S v1.3 https://github.com/oducceu/klipper_configs/blob/master/images/mks-rn-s-13.png +# [include board/mks-rn-s-13-E-on-5.cfg] # MKS Robin Nano-S v1.3 with extruder plugged to E1 https://github.com/oducceu/klipper_configs/blob/master/images/mks-rn-s-13-E-on-5.png + +## Base configuration ########################################################## +[include printer/fb-ghost5.cfg] + +## Drivers ##################################################################### +# [include printer/tmc2225.cfg] +[include printer/tmc2209_uart_mks_rn.cfg] # enable if using TMC drivers via UART on MKS Robin Nano + +## Base macros ################################################################# +[include macros/macros.cfg] + +## Additional hardware ######################################################### +[include printer/fb-ghost5-bltouch.cfg] # disable 'position_endstop' in [stepper_z] section +# [include printer/rpi_mcu.cfg] # enable ONLY after setting Pi as MCU https://www.klipper3d.org/RPi_microcontroller.html +# [include printer/accelerometer.cfg] # requires "rpi.cfg" + +[include mainsail.cfg] + +################################################################################ +# X, Y, Z +################################################################################ + +[stepper_x] +homing_speed: 150 + +[stepper_y] +homing_speed: 150 + +[stepper_z] +#position_endstop: 0.5 # disable if using BLTouch to use 'probe:z_virtual_endstop' + +################################################################################ +# E0, HB +################################################################################ + +[extruder] +rotation_distance: 7.600 # CAUTION! Calibrate using https://www.klipper3d.org/Rotation_Distance.html +nozzle_diameter: 0.400 +pressure_advance: 0.000 # CAUTION! Calibrate using https://www.klipper3d.org/Pressure_Advance.html +control: pid # CAUTION! Calibrate using PID_CALIBRATE https://www.klipper3d.org/G-Codes.html#extended-g-code-commands +pid_Kp: 30.891 +pid_Ki: 2.542 +pid_Kd: 93.830 +# min_extrude_temp: 0 # allow Cold Extrusion for extruder steps calibration + +[heater_bed] +control: pid # CAUTION! Calibrate using PID_CALIBRATE https://www.klipper3d.org/G-Codes.html#extended-g-code-commands +pid_Kp: 63.104 +pid_Ki: 2.350 +pid_Kd: 423.586 + +################################################################################ +# Printer +################################################################################ + +[mcu] +# serial: /dev/ttyAMA0 # enable if connected via UART1 on Pi3/PiZ +# serial: /dev/ttyAMA1 # enable if connected via UART5 on Pi4 + +[printer] +max_velocity: 300 +max_accel: 3000 +#max_accel_to_decel: 2000 + +################################################################################ +# Bed leveling +################################################################################ + +[bed_screws] +screw5: 127.5,105 +screw5_name: center virtual screw + +################################################################################ +# Resonance compensation +################################################################################ + +[input_shaper] + +################################################################################ 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 f87ecb3..22fafa7 100644 --- a/Flying Bear Generic Configs/printer/tmc2209_uart_mks_rn.cfg +++ b/Flying Bear Generic Configs/printer/tmc2209_uart_mks_rn.cfg @@ -42,7 +42,7 @@ hold_current: 0.400 sense_resistor: 0.110 diag_pin: PC1 driver_SGTHRS: 100 -stealthchop_threshold: 999999 +stealthchop_threshold: 999999 [tmc2209 stepper_z] @@ -58,8 +58,8 @@ uart_address: 1 [tmc2209 extruder] uart_pin: TMC_UART_PIN tx_pin: TMC_TX_PIN -run_current: 0.400 -hold_current: 0.200 +run_current: 0.600 +hold_current: 0.300 stealthchop_threshold: 999999 uart_address: 3 @@ -70,17 +70,20 @@ uart_address: 3 [gcode_macro HIGH_SPEED] gcode: - SET_TMC_CURRENT STEPPER=stepper_x CURRENT=1.000 HOLDCURRENT=0.750 - SET_TMC_CURRENT STEPPER=stepper_y CURRENT=1.000 HOLDCURRENT=0.750 - SET_TMC_CURRENT STEPPER=extruder CURRENT=0.600 HOLDCURRENT=0.300 + SET_TMC_CURRENT STEPPER=stepper_x CURRENT=1.200 HOLDCURRENT=0.750 + SET_TMC_CURRENT STEPPER=stepper_y CURRENT=1.200 HOLDCURRENT=0.750 + SET_TMC_CURRENT STEPPER=stepper_z CURRENT=0.800 HOLDCURRENT=0.400 + SET_TMC_CURRENT STEPPER=extruder CURRENT=0.800 HOLDCURRENT=0.400 [gcode_macro NORMAL_SPEED] gcode: {% set tmc_x = printer.configfile.settings["tmc2209 stepper_x"] %} {% set tmc_y = printer.configfile.settings["tmc2209 stepper_y"] %} + {% set tmc_z = printer.configfile.settings["tmc2209 stepper_z"] %} {% set tmc_e = printer.configfile.settings["tmc2209 extruder"] %} SET_TMC_CURRENT STEPPER=stepper_x CURRENT={tmc_x.run_current} HOLDCURRENT={tmc_x.hold_current} SET_TMC_CURRENT STEPPER=stepper_y CURRENT={tmc_y.run_current} HOLDCURRENT={tmc_y.hold_current} + SET_TMC_CURRENT STEPPER=stepper_z CURRENT={tmc_z.run_current} HOLDCURRENT={tmc_z.hold_current} SET_TMC_CURRENT STEPPER=extruder CURRENT={tmc_e.run_current} HOLDCURRENT={tmc_e.hold_current} ################################################################################