Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds config options for SKR Mini 2.0 #51

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 78 additions & 13 deletions VORON-0/Firmware/printer.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# This file contains common pin mappings for the BIGTREETECH SKR
# MINI. To use this config, the firmware should be compiled for the
# STM32F103 with a "28KiB bootloader".
# MINI 1.2 and 2.0. To use this config, the firmware should be compiled for
# the STM32F103 with a "28KiB bootloader". Also select "enable extra
# low-level configuration options" and configure "GPIO pins to set
# at micro-controller startup" to "!PC13" for a SKR Mini 1.2 or
# "!PA14" SKR Mini 2.0.

# The "make flash" command does not work on the SKR mini. Instead,
# after running "make", copy the generated "out/klipper.bin" file to a
Expand All @@ -10,11 +13,18 @@
# See the example.cfg file for a description of available parameters.

[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_37FFD8054246383440750857-if00
## Obtain mcu value by "ls -l /dev/serial/by-id/"
serial: /dev/serial/by-id/usb-Klipper_stm00000000_000000000000000000000000-if00

[stepper_x]
step_pin: PB13
dir_pin: PB12
##--------------------------------------------------------------------
## Uncomment below for SKR Mini 1.2
#dir_pin: PB12

## Uncomment below for SKR Mini 2.0
#dir_pin: !PB12
##--------------------------------------------------------------------
enable_pin: !PB14
step_distance: .0125
endstop_pin: PC0
Expand All @@ -25,7 +35,15 @@ homing_retract_dist: 5
homing_positive_dir: true

[tmc2209 stepper_x]
uart_pin: PB15
##--------------------------------------------------------------------
## Uncomment below for SKR Mini 1.2
#uart_pin: PB15

## Uncomment below for SKR Mini 2.0
#uart_pin: PC11
#tx_pin: PC10
#uart_address: 0
##--------------------------------------------------------------------
microsteps: 16
interpolate: True
run_current: .25
Expand All @@ -35,7 +53,13 @@ stealthchop_threshold: 500

[stepper_y]
step_pin: PB10
dir_pin: PB2
##--------------------------------------------------------------------
## Uncomment below for SKR Mini 1.2
#dir_pin: PB2

## Uncomment below for SKR Mini 2.0
#dir_pin: !PB2
##--------------------------------------------------------------------
enable_pin: !PB11
step_distance: .0125
endstop_pin: PC1
Expand All @@ -46,7 +70,15 @@ homing_retract_dist: 5
homing_positive_dir: true

[tmc2209 stepper_y]
uart_pin: PC6
##--------------------------------------------------------------------
## Uncomment below for SKR Mini 1.2
#uart_pin: PC6

## Uncomment below for SKR Mini 2.0
#uart_pin: PC11
#tx_pin: PC10
#uart_address: 2
##--------------------------------------------------------------------
microsteps: 16
interpolate: True
run_current: .25
Expand All @@ -56,7 +88,13 @@ stealthchop_threshold: 500

[stepper_z]
step_pin: PB0
dir_pin: PC5
##--------------------------------------------------------------------
## Uncomment below for SKR Mini 1.2
#dir_pin: PC5

## Uncomment below for SKR Mini 2.0
#dir_pin: !PC5
##--------------------------------------------------------------------
enable_pin: !PB1
step_distance: .0025 #for T8x8 lead screw
#step_distance: .000625 #for T8x2 lead screw
Expand All @@ -69,7 +107,15 @@ second_homing_speed: 3.0
homing_retract_dist: 3.0

[tmc2209 stepper_z]
uart_pin: PC10
##--------------------------------------------------------------------
## Uncomment below for SKR Mini 1.2
#uart_pin: PC10

## Uncomment below for SKR Mini 2.0
#uart_pin: PC11
#tx_pin: PC10
#uart_address: 1
##--------------------------------------------------------------------
microsteps: 16
interpolate: True
run_current: .25
Expand All @@ -80,7 +126,13 @@ stealthchop_threshold: 500

[extruder]
step_pin: PB3
dir_pin: PB4
##--------------------------------------------------------------------
## Uncomment below for SKR Mini 1.2
#dir_pin: PB4

## Uncomment below for SKR Mini 2.0
#dir_pin: !PB4
##--------------------------------------------------------------------
enable_pin: !PD2
step_distance: .0024 #calibrate this value for your individual printer!!
nozzle_diameter: 0.400
Expand All @@ -101,7 +153,15 @@ Pressure_advance: 0.0
pressure_advance_smooth_time: 0.040

[tmc2209 extruder]
uart_pin: PC11
##--------------------------------------------------------------------
## Uncomment below for SKR Mini 1.2
#uart_pin: PC11

## Uncomment below for SKR Mini 2.0
#uart_pin: PC11
#tx_pin: PC10
#uart_address: 3
##--------------------------------------------------------------------
microsteps: 16
interpolate: True
run_current: 0.2
Expand Down Expand Up @@ -133,7 +193,13 @@ square_corner_velocity: 5.0

[heater_fan hotend_fan]
# Hotend Fan
pin: PA8
##--------------------------------------------------------------------
## Uncomment below for SKR Mini 1.2
#pin: PA8

## Uncomment below for SKR Mini 2.0
#pin: PC6
##--------------------------------------------------------------------
max_power: 1.0
kick_start_time: 0.5
heater: extruder
Expand All @@ -153,7 +219,6 @@ cycle_time: 0.010
[idle_timeout]
timeout: 1800


[homing_override]
axes: z
set_position_z: 0
Expand Down