[include fluidd.cfg] # This file contains common pin mappings for the BIGTREETECH SKR V1.4 # board. To use this config, the firmware should be compiled for the # LPC1768 or LPC1769(Turbo). # See docs/Config_Reference.md for a description of parameters. [stepper_x] step_pin: P2.2 dir_pin: !P2.6 enable_pin: !P2.1 microsteps: 16 rotation_distance: 40 endstop_pin: ^P1.29 position_endstop: 0 position_max: 235 homing_speed: 50 [stepper_y] step_pin: P0.19 dir_pin: !P0.20 enable_pin: !P2.8 microsteps: 16 rotation_distance: 40 endstop_pin: ^P1.28 position_endstop: 0 position_max: 225 homing_speed: 50 [stepper_z] step_pin: P0.22 dir_pin: P2.11 enable_pin: !P0.21 microsteps: 16 rotation_distance: 8 endstop_pin: probe:z_virtual_endstop position_max: 200 [safe_z_home] home_xy_position: 110, 110 # Change coordinates to the center of your print bed speed: 50 z_hop: 10 # Move up 10mm z_hop_speed: 5 [extruder] step_pin: P2.13 dir_pin: !P0.11 enable_pin: !P2.12 microsteps: 16 rotation_distance: 33.500 nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: P2.7 sensor_type: Generic 3950 # wild guess based on https://www.facebook.com/groups/voroncorexy/posts/2164489710646250/ sensor_pin: P0.24 control: pid pid_Kp: 21.73 pid_Ki: 1.54 pid_Kd: 76.55 min_temp: 5 max_temp: 260 [heater_bed] heater_pin: P2.5 sensor_type: EPCOS 100K B57560G104F sensor_pin: P0.25 control: pid pid_Kp: 54.027 pid_Ki: 0.770 pid_Kd: 948.182 min_temp: 0 max_temp: 130 [fan] pin: P2.3 [heater_fan extruder_fan] pin: P2.4 heater: extruder kick_start_time: 0.200 heater_temp: 50.0 fan_speed: 1.0 [mcu] serial: /dev/serial/by-id/usb-Klipper_lpc1769_1A80FF0BC0846AAF13CF555EC22000F5-if00 [printer] kinematics: cartesian max_velocity: 400 max_accel: 500 max_z_velocity: 10 max_z_accel: 100 [display] lcd_type: st7920 cs_pin: EXP1_7 sclk_pin: EXP1_6 sid_pin: EXP1_8 encoder_pins: ^EXP1_5, ^EXP1_3 click_pin: ^!EXP1_2 [output_pin beeper] pin: EXP1_1 [bltouch] control_pin: P2.0 sensor_pin: ^P1.27 stow_on_each_sample: false x_offset: -30 y_offset: -19 z_offset: 0 speed: 5 samples: 2 samples_result: average sample_retract_dist: 3.0 samples_tolerance: 0.08 samples_tolerance_retries:3 ######################################## # TMC2208 configuration ######################################## [tmc2208 stepper_x] uart_pin: P1.10 run_current: 0.670 stealthchop_threshold: 999999 [tmc2208 stepper_y] uart_pin: P1.9 run_current: 0.670 stealthchop_threshold: 999999 [tmc2208 stepper_z] uart_pin: P1.8 run_current: 0.670 stealthchop_threshold: 999999 [tmc2208 extruder] uart_pin: P1.4 run_current: 0.940 stealthchop_threshold: 999999 # [tmc2208 extruder1] # uart_pin: P1.1 # run_current: 0.800 # stealthchop_threshold: 999999 ######################################## # TMC2130 configuration ######################################## #[tmc2130 stepper_x] #cs_pin: P1.10 #spi_software_miso_pin: P0.5 #spi_software_mosi_pin: P1.17 #spi_software_sclk_pin: P0.4 #run_current: 0.800 #stealthchop_threshold: 999999 #diag1_pin: P1.29 #[tmc2130 stepper_y] #cs_pin: P1.9 #spi_software_miso_pin: P0.5 #spi_software_mosi_pin: P1.17 #spi_software_sclk_pin: P0.4 #run_current: 0.800 #stealthchop_threshold: 999999 #diag1_pin: P1.28 #[tmc2130 stepper_z] #cs_pin: P1.8 #spi_software_miso_pin: P0.5 #spi_software_mosi_pin: P1.17 #spi_software_sclk_pin: P0.4 #run_current: 0.650 #stealthchop_threshold: 999999 #diag1_pin: P1.27 #[tmc2130 extruder] #cs_pin: P1.4 #spi_software_miso_pin: P0.5 #spi_software_mosi_pin: P1.17 #spi_software_sclk_pin: P0.4 #run_current: 0.800 #stealthchop_threshold: 999999 #diag1_pin: P1.26 #[tmc2130 extruder1] #cs_pin: P1.1 #spi_software_miso_pin: P0.5 #spi_software_mosi_pin: P1.17 #spi_software_sclk_pin: P0.4 #run_current: 0.800 #stealthchop_threshold: 999999 #diag1_pin: P1.25 ######################################## # EXP1 / EXP2 (display) pins ######################################## [board_pins] aliases: # EXP1 header EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=, EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, EXP1_10=<5V>, # EXP2 header EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=, EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=, EXP2_10= # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0" # See the sample-lcd.cfg file for definitions of common LCD displays.