Created
February 1, 2020 06:24
-
-
Save GarthSnyder/c3143e3560d394dc97871f646b944ad3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file contains common pin mappings for the BIGTREETECH SKR V1.3 | |
# board. To use this config, the firmware should be compiled for the | |
# LPC1768. | |
# See the example.cfg file for a description of available parameters. | |
[stepper_x] | |
step_pin: P2.2 | |
dir_pin: !P2.6 | |
enable_pin: !P2.1 | |
step_distance: 0.006240639 | |
endstop_pin: !P1.29 # P1.28 for X-max | |
position_endstop: -1 | |
position_min: -1 | |
position_max: 305 | |
homing_speed: 50 | |
second_homing_speed: 5 | |
[stepper_y] | |
step_pin: P0.19 | |
dir_pin: P0.20 | |
enable_pin: !P2.8 | |
step_distance: 0.006240639 | |
endstop_pin: !P1.27 # P1.26 for Y-max | |
position_endstop: -11 | |
position_min: -11 | |
position_max: 305 | |
homing_speed: 50 | |
second_homing_speed: 5 | |
[stepper_z] | |
step_pin: P0.22 | |
dir_pin: P2.11 | |
enable_pin: !P0.21 | |
step_distance: 0.0025013758 | |
endstop_pin: !P1.25 # P1.24 for Z-max | |
homing_speed: 30 | |
second_homing_speed: 1 | |
position_endstop: 0.0 | |
[stepper_z1] | |
step_pin: P0.1 | |
dir_pin: P0.0 | |
enable_pin: !P0.10 | |
step_distance: 0.0025013758 | |
endstop_pin: !P1.26 # YMAX | |
[extruder] | |
step_pin: P2.13 | |
dir_pin: !P0.11 | |
enable_pin: !P2.12 | |
step_distance: 0.0023255814 | |
nozzle_diameter: 0.400 | |
filament_diameter: 1.750 | |
heater_pin: P2.7 | |
#sensor_type: EPCOS 100K B57560G104F | |
sensor_type: NTC 100K beta 3950 | |
sensor_pin: P0.24 | |
#control: pid | |
#pid_Kp: 11.41 | |
#pid_Ki: 0.74 | |
#pid_Kd: 44.0 | |
min_temp: 0 | |
max_temp: 260 | |
[bltouch] | |
sensor_pin: P1.24 | |
control_pin: P2.0 | |
#z_offset: -2.10 | |
x_offset: 25.2 | |
y_offset: -32.7 | |
[bed_screws] | |
screw1: 50,50 | |
screw2: 250,50 | |
screw3: 250,250 | |
screw4: 50,250 | |
[screws_tilt_adjust] | |
screw1: 50,50 | |
screw1_name: front left | |
screw2: 250,50 | |
screw2_name: front right | |
screw3: 250,250 | |
screw3_name: back right | |
screw4: 50,250 | |
screw4_name: back left | |
horizontal_move_z: 10.0 | |
speed: 50.0 | |
screw_thread: CW-M5 | |
[safe_z_home] | |
home_xy_position: 150,150 | |
speed: 50 | |
z_hop: 10 | |
z_hop_speed: 5 | |
[heater_bed] | |
heater_pin: P2.5 | |
sensor_type: ATC Semitec 104GT-2 | |
sensor_pin: P0.23 | |
#control: watermark | |
min_temp: 0 | |
max_temp: 130 | |
[fan] | |
pin: P2.3 | |
kick_start_time: 0.5 | |
[heater_fan my_nozzle_fan] | |
pin: P2.4 | |
heater: extruder | |
heater_temp: 50.0 | |
fan_speed: 1.0 | |
[mcu] | |
serial: /dev/serial/by-id/usb-Klipper_lpc1768_0910000329811DAFDBA1F359C42000F5-if00 | |
[printer] | |
kinematics: cartesian | |
max_velocity: 300 | |
max_accel: 3200 | |
max_z_velocity: 20 | |
max_z_accel: 200 | |
######################################## | |
# TMC2208 configuration | |
######################################## | |
# For TMC2208 UART | |
# 1) Remove all of the jumpers below the stepper drivers | |
# 2) Place jumpers on the red pin headers labeled XUART (XUART, YUART etc.) | |
[tmc2208 stepper_x] | |
uart_pin: P1.17 | |
microsteps: 16 | |
run_current: 0.800 | |
hold_current: 0.400 | |
#stealthchop_threshold: 250 | |
[tmc2208 stepper_y] | |
uart_pin: P1.15 | |
microsteps: 16 | |
run_current: 0.800 | |
hold_current: 0.400 | |
#stealthchop_threshold: 250 | |
[tmc2208 stepper_z] | |
uart_pin: P1.10 | |
microsteps: 16 | |
run_current: 0.650 | |
hold_current: 0.450 | |
#stealthchop_threshold: 30 | |
[tmc2208 extruder] | |
uart_pin: P1.8 | |
microsteps: 16 | |
run_current: 0.800 | |
hold_current: 0.400 | |
#stealthchop_threshold: 5 | |
[tmc2208 stepper_z1] | |
uart_pin: P1.1 | |
microsteps: 16 | |
run_current: 0.650 | |
hold_current: 0.450 | |
#stealthchop_threshold: 5 | |
######################################## | |
# TMC2130 configuration | |
######################################## | |
# For TMC SPI | |
# 1) Place jumpers on all the red pin headers under the stepper drivers | |
# 2) Remove jumpers from the red pin headers labeled XUART (XUART, YUART etc.) | |
#[tmc2130 stepper_x] | |
#cs_pin: P1.17 | |
#spi_software_miso_pin: P0.5 | |
#spi_software_mosi_pin: P4.28 | |
#spi_software_sclk_pin: P0.4 | |
##diag1_pin: P1.29 | |
#microsteps: 16 | |
#run_current: 0.800 | |
#hold_current: 0.500 | |
#stealthchop_threshold: 250 | |
#[tmc2130 stepper_y] | |
#cs_pin: P1.15 | |
#spi_software_miso_pin: P0.5 | |
#spi_software_mosi_pin: P4.28 | |
#spi_software_sclk_pin: P0.4 | |
##diag1_pin: P1.27 | |
#microsteps: 16 | |
#run_current: 0.800 | |
#hold_current: 0.500 | |
#stealthchop_threshold: 250 | |
#[tmc2130 stepper_z] | |
#cs_pin: P1.10 | |
#spi_software_miso_pin: P0.5 | |
#spi_software_mosi_pin: P4.28 | |
#spi_software_sclk_pin: P0.4 | |
##diag1_pin: P1.25 | |
#microsteps: 16 | |
#run_current: 0.650 | |
#hold_current: 0.450 | |
#stealthchop_threshold: 30 | |
#[tmc2130 extruder] | |
#cs_pin: P1.8 | |
#spi_software_miso_pin: P0.5 | |
#spi_software_mosi_pin: P4.28 | |
#spi_software_sclk_pin: P0.4 | |
##diag1_pin: P1.28 | |
#microsteps: 16 | |
#run_current: 0.800 | |
#hold_current: 0.500 | |
#stealthchop_threshold: 5 | |
#[tmc2130 extruder1] | |
#cs_pin: P1.1 | |
#spi_software_miso_pin: P0.5 | |
#spi_software_mosi_pin: P4.28 | |
#spi_software_sclk_pin: P0.4 | |
##diag1_pin: P1.26 | |
#microsteps: 16 | |
#run_current: 0.800 | |
#hold_current: 0.500 | |
#stealthchop_threshold: 5 | |
######################################## | |
# 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=<GND>, | |
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=<GND>, | |
EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=<RST>, EXP2_10=<NC> | |
# 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. | |
#*# <---------------------- SAVE_CONFIG ----------------------> | |
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. | |
#*# | |
#*# [extruder] | |
#*# control = pid | |
#*# pid_kp = 13.350 | |
#*# pid_ki = 0.530 | |
#*# pid_kd = 84.104 | |
#*# | |
#*# [heater_bed] | |
#*# control = pid | |
#*# pid_kp = 46.594 | |
#*# pid_ki = 0.401 | |
#*# pid_kd = 1352.382 | |
#*# | |
#*# [bltouch] | |
#*# z_offset = 1.911 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment