326 lines
6.2 KiB
INI
326 lines
6.2 KiB
INI
# This file contains pin mappings for the Creality Ender 3 Pro with
|
|
# the BigTreeTech SKR Mini E3 V2.0.
|
|
# To use this config, the firmware should be compiled for the
|
|
# STM32F103 with a "28KiB bootloader" and USB communication. Also,
|
|
# select "Enable extra low-level configuration options" and configure
|
|
# "GPIO pins to set at micro-controller startup" to "!PA14".
|
|
|
|
# The "make flash" command does not work on the SKR mini E3. Instead,
|
|
# after running "make", copy the generated "out/klipper.bin" file to a
|
|
# file named "firmware.bin" on an SD card and then restart the SKR
|
|
# mini E3 with that SD card.
|
|
|
|
[include fluidd.cfg]
|
|
[include KAMP_Settings.cfg]
|
|
[virtual_sdcard]
|
|
path: /home/ender/printer_data/gcodes
|
|
on_error_gcode: CANCEL_PRINT
|
|
|
|
[exclude_object]
|
|
|
|
[firmware_retraction]
|
|
|
|
[pause_resume]
|
|
|
|
# This adds a bed screws adjust GCode, that moves the nozzle around for you so you can paper adjust.
|
|
[bed_screws]
|
|
screw1: 31,37
|
|
screw1_name: Front left screw
|
|
screw2: 31,208
|
|
screw2_name: Rear left screw
|
|
screw3: 201,208
|
|
screw3_name: Rear right screw
|
|
screw4: 201,37
|
|
screw4_name: Front right screw
|
|
|
|
[bltouch]
|
|
sensor_pin: ^PC14
|
|
control_pin: PA1
|
|
x_offset: -20
|
|
y_offset: 0
|
|
#z_offset: 0
|
|
probe_with_touch_mode: True
|
|
pin_up_touch_mode_reports_triggered: True
|
|
stow_on_each_sample: False # Keep the probe extended between points
|
|
samples: 2 # Probe each point at least twice
|
|
samples_tolerance: 0.0125 # If those measurements aren't this close then
|
|
samples_tolerance_retries: 5 # Re-probe this many times and use the average
|
|
|
|
#Original config below - I never used it. Delete this section if auto-homing and bed meshing works.
|
|
#sensor_pin: ^PC14
|
|
#control_pin: PA1
|
|
#x_offset: -36
|
|
#y_offset: 0
|
|
#z_offset: 2.10
|
|
#stow_on_each_sample: False
|
|
|
|
[stepper_x]
|
|
step_pin: PB13
|
|
dir_pin: !PB12
|
|
enable_pin: !PB14
|
|
microsteps: 64
|
|
rotation_distance: 40
|
|
endstop_pin: ^PC0
|
|
position_endstop: 0
|
|
position_min: 0
|
|
position_max: 230
|
|
homing_speed: 50
|
|
|
|
[tmc2209 stepper_x]
|
|
uart_pin: PC11
|
|
tx_pin: PC10
|
|
uart_address: 0
|
|
run_current: 0.580
|
|
interpolate: False
|
|
|
|
[stepper_y]
|
|
step_pin: PB10
|
|
dir_pin: !PB2
|
|
enable_pin: !PB11
|
|
microsteps: 64
|
|
rotation_distance: 40
|
|
endstop_pin: ^PC1
|
|
position_endstop: -12
|
|
position_min: -12
|
|
position_max: 230
|
|
homing_speed: 50
|
|
|
|
[tmc2209 stepper_y]
|
|
uart_pin: PC11
|
|
tx_pin: PC10
|
|
uart_address: 2
|
|
run_current: 0.580
|
|
interpolate: False
|
|
|
|
[stepper_z]
|
|
step_pin: PB0
|
|
dir_pin: PC5
|
|
enable_pin: !PB1
|
|
microsteps: 64
|
|
rotation_distance: 8
|
|
# endstop_pin: ^PC2
|
|
# position_endstop: 0.0
|
|
endstop_pin: probe:z_virtual_endstop
|
|
position_min: -4
|
|
position_max: 230
|
|
|
|
[tmc2209 stepper_z]
|
|
uart_pin: PC11
|
|
tx_pin: PC10
|
|
uart_address: 1
|
|
run_current: 0.580
|
|
interpolate: False
|
|
|
|
[extruder]
|
|
pressure_advance: 0.122
|
|
step_pin: PB3
|
|
dir_pin: !PB4
|
|
enable_pin: !PD2
|
|
max_extrude_only_distance: 900.0
|
|
max_extrude_cross_section: 50.0
|
|
nozzle_diameter: 0.400
|
|
filament_diameter: 1.750
|
|
heater_pin: PC8
|
|
sensor_type: EPCOS 100K B57560G104F
|
|
sensor_pin: PA0
|
|
min_temp: 0
|
|
max_temp: 300
|
|
rotation_distance: 31.562
|
|
microsteps: 16
|
|
|
|
|
|
[tmc2209 extruder]
|
|
uart_pin: PC11
|
|
tx_pin: PC10
|
|
uart_address: 3
|
|
run_current: 0.650
|
|
hold_current: 0.500
|
|
stealthchop_threshold: 5
|
|
|
|
[heater_bed]
|
|
heater_pin: PC9
|
|
sensor_type: ATC Semitec 104GT-2
|
|
sensor_pin: PC3
|
|
#control: pid
|
|
#pid_Kp: 54.027
|
|
#pid_Ki: 0.770
|
|
#pid_Kd: 948.182
|
|
min_temp: 0
|
|
max_temp: 130
|
|
|
|
[heater_fan nozzle_cooling_fan]
|
|
pin: PC7
|
|
|
|
[fan]
|
|
pin: PC6
|
|
|
|
[mcu]
|
|
serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_34FFD7054D50383524500943-if00
|
|
|
|
[printer]
|
|
kinematics: cartesian
|
|
max_velocity: 300
|
|
max_accel: 3000
|
|
max_z_velocity: 5
|
|
max_z_accel: 100
|
|
|
|
[static_digital_output usb_pullup_enable]
|
|
pins: !PA14
|
|
|
|
[board_pins]
|
|
aliases:
|
|
# EXP1 header
|
|
EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
|
|
EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PB15, EXP1_10=<5V>
|
|
|
|
[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
|
|
|
|
|
|
[display_glyph bed]
|
|
data:
|
|
................
|
|
................
|
|
................
|
|
................
|
|
................
|
|
................
|
|
................
|
|
................
|
|
................
|
|
................
|
|
...**********...
|
|
..*..........*..
|
|
.*............*.
|
|
*..............*
|
|
****************
|
|
................
|
|
|
|
[display_glyph bed_heat1]
|
|
data:
|
|
................
|
|
......*...*.....
|
|
......*...*.....
|
|
.....*...*......
|
|
.....*...*......
|
|
......*...*.....
|
|
......*...*.....
|
|
.....*...*......
|
|
.....*...*......
|
|
................
|
|
...**********...
|
|
..*..........*..
|
|
.*............*.
|
|
*..............*
|
|
****************
|
|
................
|
|
|
|
[display_glyph bed_heat2]
|
|
data:
|
|
................
|
|
.....*...*......
|
|
.....*...*......
|
|
......*...*.....
|
|
......*...*.....
|
|
.....*...*......
|
|
.....*...*......
|
|
......*...*.....
|
|
......*...*.....
|
|
................
|
|
...**********...
|
|
..*..........*..
|
|
.*............*.
|
|
*..............*
|
|
****************
|
|
................
|
|
|
|
[display_glyph feedrate]
|
|
data:
|
|
................
|
|
................
|
|
................
|
|
......******....
|
|
....**********..
|
|
...****....****.
|
|
..***........**.
|
|
.***..........*.
|
|
.**..*..........
|
|
***...*.........
|
|
**.....*........
|
|
**......**......
|
|
**......***.....
|
|
**.......**.....
|
|
................
|
|
................
|
|
|
|
|
|
[bed_mesh]
|
|
speed: 100
|
|
horizontal_move_z: 8
|
|
mesh_min: 35, 25
|
|
mesh_max: 210, 210
|
|
probe_count: 6
|
|
fade_start: 0
|
|
mesh_pps: 2, 2
|
|
algorithm: bicubic
|
|
bicubic_tension: 0.2
|
|
move_check_distance: 5
|
|
split_delta_z: .025
|
|
|
|
[gcode_macro G29]
|
|
gcode:
|
|
BED_MESH_CLEAR
|
|
BED_MESH_CALIBRATE
|
|
BED_MESH_PROFILE SAVE=default
|
|
BED_MESH_PROFILE LOAD=default
|
|
|
|
|
|
[safe_z_home]
|
|
home_xy_position: 145,115
|
|
speed: 80.0
|
|
z_hop: 10.0
|
|
z_hop_speed: 10.0
|
|
|
|
#*# <---------------------- SAVE_CONFIG ---------------------->
|
|
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
|
|
#*#
|
|
#*# [extruder]
|
|
#*# control = pid
|
|
#*# pid_kp = 26.433
|
|
#*# pid_ki = 1.632
|
|
#*# pid_kd = 107.055
|
|
#*#
|
|
#*# [heater_bed]
|
|
#*# control = pid
|
|
#*# pid_kp = 72.314
|
|
#*# pid_ki = 1.759
|
|
#*# pid_kd = 743.026
|
|
#*#
|
|
#*# [bltouch]
|
|
#*# z_offset = 3.275
|
|
#*#
|
|
#*# [bed_mesh default]
|
|
#*# version = 1
|
|
#*# points =
|
|
#*# -0.171875, -0.120000, -0.072500
|
|
#*# -0.067188, 0.009375, 0.090000
|
|
#*# 0.029062, 0.128125, 0.260312
|
|
#*# x_count = 3
|
|
#*# y_count = 3
|
|
#*# mesh_x_pps = 2
|
|
#*# mesh_y_pps = 2
|
|
#*# algo = lagrange
|
|
#*# tension = 0.2
|
|
#*# min_x = 90.71
|
|
#*# max_x = 140.29
|
|
#*# min_y = 90.71
|
|
#*# max_y = 140.29
|