diff --git a/config/generic-mellow-fly-d5.cfg b/config/generic-mellow-fly-d5.cfg index e9a9c3edd..49a3f7224 100644 --- a/config/generic-mellow-fly-d5.cfg +++ b/config/generic-mellow-fly-d5.cfg @@ -3,6 +3,7 @@ #Pruduct page on https://mellow.klipper.cn/en/docs/category/fly-d5 #STM32F072, 8KiB bootloader, 8 Mhz crystal, USB or USB to CAN adapter(depends on if you are using a canbus toolhead board) #See more about firmwares on https://mellow.klipper.cn/en/docs/ProductDoc/MainBoard/fly-d/fly-d5/flash/ +#This document is mainly used for pin references, change other parameters before actual use. [mcu] serial:/put/your/serial/here # See https://www.klipper3d.org/FAQ.html#wheres-my-serial-port for more @@ -21,10 +22,19 @@ step_pin: PC5 dir_pin: !PC4 enable_pin: !PB0 microsteps: 64 -rotation_distance: 23.310912 #Only for BMG gears, replace it with your own extruder parameters. See https://www.klipper3d.org/Rotation_Distance.html -gear_ratio: 50:10 #Same as above +nozzle_diameter: 0.4 +filament_diameter: 1.75 +rotation_distance: 23.310912 +gear_ratio: 50:10 heater_pin: PC6 sensor_pin: PC1 +sensor_type: Generic 3950 +control: pid +pid_Kp: 10 +pid_Ki: 10 +pid_Kd: 10 +min_temp: 0 +max_temp: 300 #[tmc2209 extruder] #Decomment this section if using a TMC2209 stepper driver, replace it with your TMC model. Applies to the other [tmc2209] section. #uart_pin: PA7 @@ -39,6 +49,8 @@ enable_pin: !PC2 microsteps: 64 rotation_distance: 40 #See https://www.klipper3d.org/Rotation_Distance.html endstop_pin:^PB4 +position_endstop: 0 +position_max: 200 #[tmc2209 stepper_x] #uart_pin: PC13 @@ -53,6 +65,8 @@ enable_pin: !PA2 microsteps: 64 rotation_distance: 40 #Same as above endstop_pin: ^PB3 +position_endstop: 0 +position_max: 200 #[tmc2209 stepper_y] #uart_pin: PC3 @@ -67,6 +81,8 @@ enable_pin: !PA6 microsteps: 64 rotation_distance: 8 endstop_pin: ^PD2 +position_endstop: 0 +position_max: 200 #[tmc2209 stepper_z] #uart_pin: PA3 @@ -74,12 +90,15 @@ endstop_pin: ^PD2 #run_current: 0.8 #stealthchop_threshold: 0 -#[stepper_z1] #Decomment this when using dual Z motors. +#[stepper_z1] #Decomment this when using dual Z motors. Pins are the "E1" motor pins on the board. #step_pin: PB10 #dir_pin: PB2 #enable_pin: !PB11 #microsteps: 64 #rotation_distance: 8 +#position_endstop: 0 +#position_max: 200 + #[tmc2209 stepper_z1] #uart_pin: PB1 #interpolate: True @@ -95,7 +114,7 @@ endstop_pin: ^PD2 [fan] pin: PC8 -[heater_fan] +[heater_fan Heatbreak_Fan] pin:PC9 max_power:1 shutdown_speed:0 @@ -103,3 +122,10 @@ shutdown_speed:0 [heater_bed] heater_pin: PC7 sensor_pin: PC0 +sensor_type: Generic 3950 +control: pid #Run "PID_CALIBRATE HEATER=heater_bed TARGET=270" to calibrate flowing pid control values before print! They are just placeholders! +pid_Kp: 10 +pid_Ki: 10 +pid_Kd: 10 +min_temp: 0 +max_temp: 100